mdolan
2016-01-08 00:36
has joined #general

tbenzies
2016-01-08 00:57
has joined #general

dan
2016-01-09 22:27
has joined #general

dan
2016-01-09 22:28
Hey @mdolan and @tbenzies Thanks for setting this up!

devrandom
2016-01-09 23:19
has joined #general

blythe
2016-01-09 23:19
has joined #general

shaul
2016-01-10 17:27
has joined #general

nycnewman
2016-01-11 14:31
has joined #general

daniel
2016-01-11 14:32
has joined #general

yuval
2016-01-11 20:08
has joined #general

kevlin
2016-01-28 18:48
has joined #general

bobcallaway
2016-01-28 18:48
has joined #general

naoki.taniguchi
2016-01-28 18:48
has joined #general

martindale
2016-01-28 18:49
has joined #general

sconway
2016-01-28 18:49
has joined #general

papanek
2016-01-28 18:49
has joined #general

dtreat
2016-01-28 18:49
has joined #general

martindale
2016-01-28 18:49

markshelbysmith
2016-01-28 18:49
has joined #general

ramkomarraju
2016-01-28 18:50
has joined #general

stan.liberman
2016-01-28 18:53
has joined #general

1
2016-01-28 18:55
has joined #general

jamie.steiner
2016-01-28 18:56
has joined #general

arielevycohen
2016-01-28 18:56
has joined #general

mdolan
2016-01-28 19:00
@martindale: I suspect DAH had registered it. We will work on transferring over, but didn’t have that done as of today. Figured it would be good to have a Slack going during the discussion.

pszurek
2016-01-28 19:03
has joined #general

jennifercloer
2016-01-28 19:05
has joined #general

maloney
2016-01-28 19:08
has joined #general

jwolpert
2016-01-28 19:09
has joined #general

jwolpert
2016-01-28 19:09
Hi everyone. Wish I were there.

shaul
2016-01-28 19:12
@dan had access to http://hyperledger.slack.com, he’ll try to transfer it but may need access to http://hyperledger.com domain for that

cbf
2016-01-28 19:12
has joined #general

cbf
2016-01-28 19:13
howdy

mdolan
2016-01-28 19:15
thanks @shaul , @tbenzies can you followup with @dan ? (doesn’t appear he’s on this slack atm)

raju
2016-01-28 19:17
has joined #general

swestmoreland
2016-01-28 19:27
has joined #general

rjagadee
2016-01-28 19:49
has joined #general

austinhill
2016-01-28 19:53
has joined #general

fredrikvoss
2016-01-28 20:36
has joined #general

jesselund
2016-01-28 20:44
has joined #general

jeff_kerrbell
2016-01-28 20:53
has joined #general

gendal
2016-01-28 21:09
has joined #general

vikasjakhar
2016-01-28 21:11
has joined #general

vikasjakhar
2016-01-28 21:11
Hi

adamkrellenstein
2016-01-28 21:25
has joined #general

chrisripple
2016-01-28 21:42
has joined #general

hashimoh
2016-01-28 22:03
has joined #general

giuseppegiordano
2016-01-28 22:29
has joined #general

michaeldowling
2016-01-28 22:30
has joined #general

michaeldowling
2016-01-28 22:32
@jwolpert: wish you were here as well!

michaeldowling
2016-01-28 22:33
Hey all - looking forward to collaborating with all of you on Hyperledger

arielevycohen
2016-01-28 22:33

arielevycohen
2016-01-28 22:35

arielevycohen
2016-01-28 22:38
Simplicity & Elegance



michaeldowling
2016-01-28 23:24
I added comments/opinions in the document, would love feedback

noriaki
2016-01-29 01:52
has joined #general

binhn
2016-01-29 02:47
has joined #general

tombarnes
2016-01-29 03:33
has joined #general


hashimoto
2016-01-29 04:30
has joined #general

runeaune
2016-01-29 08:36
has joined #general

kreddy
2016-01-29 12:33
has joined #general

2016-01-29 12:39
@binhn commented on @arielevycohen’s file https://hyperledgerproject.slack.com/files/arielevycohen/F0KMRS2US/slack_for_ios_upload.jpg: i'd like to add Events to the list of functions

nrw
2016-01-29 13:05
has joined #general

marjanvanderplas
2016-01-29 13:07
has joined #general

stuart-haber
2016-01-29 13:24
has joined #general

arielevycohen
2016-01-29 13:25
@binhn: perhaps you could add to the Contributor Breakout google doc if you have access?

arielevycohen
2016-01-29 13:27
Added my two cents on the Contributor Breakout GoogleDoc (identity & security)

binhn
2016-01-29 13:28
ok

guss82
2016-01-29 13:29
has joined #general

shea.wallon-r3cev
2016-01-29 14:13
has joined #general

joost0712
2016-01-29 14:14
has joined #general

ghaskins
2016-01-29 14:19
has joined #general

tbenzies
2016-01-29 14:59
: https://docs.google.com/document/d/1hzipKcr6jqFtgh4twFBTQhcyQGmODPr_2KGJ6vm_eUE/edit Please feel free to add realtime notes/thoughts from this discussion as a group in this shared doc

jnewman
2016-01-29 15:30
has joined #general

mcurtoni
2016-01-29 15:52
has joined #general

tsariounov
2016-01-29 16:47
has joined #general

cmickeyb
2016-01-29 17:07
has joined #general

cbf
2016-01-29 17:54
great meeting with all the folk at the f2f. look forward to much more collaboration as we get this project off the ground. I think that this week was a positive step, talk to you next week if not before

pmullaney
2016-01-29 18:10
has joined #general

vikasjakhar
2016-01-29 21:26
Does anyone have a picture of 1st page (architecture boxes with Member,Blockchain,security )

vikasjakhar
2016-01-29 21:26
Can yoy pls post

vikasjakhar
2016-01-29 21:28
@binhn - can you please mail us or post a copy of your presentation.

vikasjakhar
2016-01-29 21:28
Can other folks from ripple,blockstream and DAH also send their presentations

dan
2016-01-29 21:32
We didn't use one but will get some materials in place before the Thursday call

arielevycohen
2016-01-29 21:47
: enjoyed meeting most of you at the F2F yesterday and today

arielevycohen
2016-01-29 21:48
+1 w @cbf positive step and loads more work ahead

binhn
2016-01-29 22:14
@vikasjakhar: i sent my deck to mike, so he probably has a place for all the presentations, but here is a snapshot


binhn
2016-01-29 22:16
you may also find more info from the obc-docs repo https://github.com/staging-blockchain/obc-docs/blob/master/whitepaper.md

vikasjakhar
2016-01-29 22:28
Thanks a lot @binhn

arielevycohen
2016-01-29 23:15
@binhn: getting a 404 error w that link?

daichiiwata
2016-01-30 07:58
has joined #general

ecblseg
2016-01-30 14:25
has joined #general

michaeldowling
2016-01-30 20:59
@arielevycohen: I think you need to be given access to that repository. It’s the staging repo LF set up for reviewing code I think.

arielevycohen
2016-01-30 22:14
@michaeldowling: thanks

lkempke
2016-01-30 22:46
has joined #general

tenc
2016-01-31 11:27
has joined #general

justmoon
2016-01-31 23:10
has joined #general

anguschampion
2016-02-01 21:06
has joined #general

shibata
2016-02-01 23:05
has joined #general

dvoell
2016-02-03 20:11
has joined #general

gsparico
2016-02-03 21:25
has joined #general

judyp
2016-02-03 22:17
has joined #general

manuma42
2016-02-04 07:43
has joined #general

joelkatz
2016-02-04 15:08
has joined #general

evan.wagner
2016-02-05 08:25
has joined #general

moulsonp
2016-02-06 10:29
has joined #general

robertporteranz
2016-02-09 09:21
has joined #general

cbf
2016-02-11 15:19
from the charter

cbf
2016-02-11 15:19
. Steady State: After the Startup Period, there shall be a nomination and election period for electing Contributors or Maintainers to the TSC. The TSC voting members shall consist of eleven (11) elected Contributors or Maintainers chosen by the Active Contributors. An Active Contributor is defined as any Contributor who has had a contribution accepted into the codebase during the prior twelve (12) months. The TSC shall approve the process and timing for nominations and elections held on an annual basis.

takekiyokubo
2016-02-12 02:00
has joined #general

andreas.fletcher
2016-02-16 16:57
has joined #general

stefan.teis
2016-02-16 17:13
has joined #general

thanethomson
2016-02-17 07:14
has joined #general

novusopt
2016-02-17 07:29
has joined #general

aoswal
2016-02-17 22:35
has joined #general

allen
2016-02-17 23:09
has joined #general

kenkappler
2016-02-17 23:18
has joined #general

josephc
2016-02-17 23:20
has joined #general

rooke
2016-02-17 23:22
has joined #general

sterett
2016-02-17 23:24
has joined #general

juan
2016-02-17 23:25
has joined #general

mwmaxey
2016-02-17 23:27
has joined #general

richardcollin
2016-02-17 23:34
has joined #general

ccerrato147
2016-02-17 23:37
has joined #general

troyronda
2016-02-17 23:39
has joined #general

antonylewis
2016-02-17 23:39
has joined #general

marek
2016-02-17 23:46
has joined #general

techthumb
2016-02-17 23:51
has joined #general

dessugrue
2016-02-17 23:57
has joined #general

nao
2016-02-18 00:23
has joined #general

pm
2016-02-18 00:59
has joined #general

rehmke
2016-02-18 01:04
has joined #general

jasonkorbit
2016-02-18 01:07
has joined #general

william
2016-02-18 01:19
has joined #general

gabetumlos
2016-02-18 01:52
has joined #general

david_korbit
2016-02-18 01:55
has joined #general

alice
2016-02-18 01:55
has joined #general

john
2016-02-18 01:55
has joined #general

icemilo
2016-02-18 01:55
has joined #general

dmurik
2016-02-18 02:11
has joined #general

pbartak
2016-02-18 02:17
has joined #general

taniuchi_kei
2016-02-18 02:31
has joined #general

tamas
2016-02-18 07:23
has joined #general

noam
2016-02-18 07:54
has joined #general

alexkane
2016-02-18 13:37
has joined #general

ethertyper
2016-02-18 13:50
has joined #general

ethertyper
2016-02-18 13:58
:dog:

dessugrue
2016-02-18 14:21
Is that go meeting going ahead today @16:00UTC?

dan
2016-02-18 14:48
@dessugrue: 10 mins from now

joeconyers
2016-02-18 14:54
has joined #general

timstrickland
2016-02-18 15:13
has joined #general

seangulley
2016-02-18 15:32
has joined #general

eshon
2016-02-18 16:18
has joined #general

nick
2016-02-18 16:51
has joined #general

dmitry.barinov
2016-02-18 16:53
has joined #general

dessugrue
2016-02-18 17:06
@dan: Thanks for that.

stian
2016-02-18 17:42
has joined #general

rguikers
2016-02-18 17:42
has joined #general

lmsole
2016-02-18 17:46
has joined #general

thomas
2016-02-18 18:04
has joined #general

damienbriggs
2016-02-18 18:08
has joined #general

mpusateri
2016-02-18 18:14
has joined #general

michaelrowe01
2016-02-18 18:21
has joined #general

zaki
2016-02-18 18:25
has joined #general

dodo1
2016-02-18 18:26
has joined #general

travis
2016-02-18 18:31
has joined #general

adam
2016-02-18 18:43
has joined #general

bcbrock
2016-02-18 19:06
has joined #general

harsh
2016-02-18 19:16
has joined #general

dante
2016-02-18 19:18
has joined #general

georglink
2016-02-18 19:35
has joined #general

yinyee
2016-02-18 20:07
has joined #general

mdangear
2016-02-18 20:08
has joined #general

mtaram
2016-02-18 20:21
has joined #general

guruprasath
2016-02-18 20:49
has joined #general

roeland
2016-02-18 20:50
has joined #general

jason.vanaardt
2016-02-18 20:56
has joined #general

jeffscottward
2016-02-18 21:12
has joined #general

carmania
2016-02-18 21:13
has joined #general

warrenpfeffer
2016-02-18 22:10
has joined #general

quiquee
2016-02-18 23:21
has joined #general

jesselund
2016-02-18 23:21
thanks. I didn’t even have that channel… is there a way in Slack to auto subcribe to all channels?

jesselund
2016-02-18 23:22
sorry, wrong slack group!

kjameslubin
2016-02-18 23:29
has joined #general

kejace
2016-02-18 23:33
has joined #general

benedikt.herudek
2016-02-18 23:34
has joined #general

vic4wong
2016-02-18 23:52
has joined #general

kendagor
2016-02-19 00:00
has joined #general

andrew.keys
2016-02-19 00:08
has joined #general

edmund
2016-02-19 00:56
has joined #general

roger
2016-02-19 01:08
has joined #general

kelly
2016-02-19 01:18
has joined #general

masanobu
2016-02-19 01:24
has joined #general

ac0rn
2016-02-19 02:31
has joined #general

ryanreich
2016-02-19 03:29
has joined #general

john.crain
2016-02-19 03:34
has joined #general

isyed
2016-02-19 04:14
has joined #general

rz5b
2016-02-19 07:44
has joined #general

jay
2016-02-19 08:18
has joined #general

eric
2016-02-19 08:23
has joined #general

bfuentes
2016-02-19 08:51
has joined #general

ghassan.karame
2016-02-19 09:19
has joined #general

oiakovlev
2016-02-19 09:23
has joined #general

chrish
2016-02-19 10:02
has joined #general

dazraf
2016-02-19 11:24
has joined #general

peter.froystad
2016-02-19 13:48
has joined #general

miguel.ballesteros
2016-02-19 14:39
has joined #general

david.stark
2016-02-19 14:47
has joined #general

emmanuel
2016-02-19 16:24
has joined #general

nigelq
2016-02-19 16:55
has joined #general

sandgrec
2016-02-19 17:00
has joined #general

vincent
2016-02-19 17:11
has joined #general

hazardj
2016-02-19 17:11
has joined #general

bentoncbainbridge
2016-02-19 17:16
has joined #general

gpartha
2016-02-19 17:18
has joined #general

pablo.ces
2016-02-19 17:35
has joined #general

fjanon
2016-02-19 18:11
has joined #general

kev
2016-02-19 18:30
has joined #general

ibm.tdrake
2016-02-19 18:38
has joined #general

manolo
2016-02-19 20:03
has joined #general

dloretti
2016-02-19 20:33
has joined #general

bryce
2016-02-19 20:57
has joined #general

matt
2016-02-20 00:19
has joined #general

tylerkeen
2016-02-20 01:23
has joined #general

brotter
2016-02-20 02:05
has joined #general

ranga
2016-02-20 05:49
has joined #general

neoscreenager
2016-02-20 07:00
has joined #general

ssriram
2016-02-20 07:45
has joined #general

pniang
2016-02-20 12:26
has joined #general

ratabayev
2016-02-20 15:57
has joined #general

seandennis
2016-02-20 18:28
has joined #general

kurttheviking
2016-02-20 19:01
has joined #general

benedikt.herudek
2016-02-21 12:56
Do we have some best practices what we place in tsc email thread and what here? Might be doubled discussion or things lost in two communication paths.

shannoncode
2016-02-21 18:35
has joined #general

shannoncode
2016-02-21 19:07
Anyone at InterConnect this week?

benedikt.herudek
2016-02-21 21:32
Anyone Planning IoT linuxfoundation San Diego in April ?

dazraf
2016-02-21 21:53
Hi, I’m curious about any community feedback of hands-on experience with the proposed stacks. Is there somewhere we can submit and read these?

dazraf
2016-02-21 21:53
thanks

kocolosk
2016-02-21 22:00
has joined #general

basler
2016-02-22 03:10
has joined #general

ls84
2016-02-22 05:44
has joined #general

gengjh
2016-02-22 06:16
has joined #general

tim0k
2016-02-22 06:33
has joined #general

bartman250
2016-02-22 08:03
has joined #general

o_drugan
2016-02-22 08:14
has joined #general

jbowkett
2016-02-22 10:30
has joined #general

cbf
2016-02-22 14:14
@dazraf: either here in Slack or use the mailing list

cbf
2016-02-22 14:15
@shannoncode: @binhn and I are both here, along with a few of our IBM blockchain colleagues

admarkel
2016-02-22 15:50
has joined #general

dazraf
2016-02-22 15:59
thanks @cbf

todd_mcd_r3
2016-02-22 16:34
has joined #general

benerisindustries.com
2016-02-22 16:55
has joined #general

greg
2016-02-22 17:20
has joined #general

samcassatt
2016-02-22 19:23
has joined #general

jgrushack
2016-02-22 19:28
has joined #general

guruprasath
2016-02-22 19:32
I would like to point out a spelling mistake in the IBM open blockchain use case document. Instead of *Operations*, the picture wrongly says *Opperations* https://github.com/openblockchain/obc-docs/raw/master/images/Canonical-Use-Cases_One-Trade-One-Contract.png

timjgrant
2016-02-22 19:54
has joined #general

cpalmquist
2016-02-22 20:24
has joined #general

akshithg
2016-02-22 21:34
has joined #general

naddison
2016-02-23 04:07
has joined #general

monster
2016-02-23 05:04
has joined #general

bryan-huang
2016-02-23 11:27
has joined #general

tony_lyu_korbit
2016-02-23 12:05
has joined #general

jgarzik
2016-02-23 16:20
has joined #general

hanhzf
2016-02-23 16:39
has joined #general

abhi
2016-02-23 17:10
has joined #general

juanblanco
2016-02-23 17:47
has joined #general

kobigurk
2016-02-23 18:01
has joined #general

alex
2016-02-23 18:52
has joined #general

alex
2016-02-23 18:53
Hi guys!!

gabriel
2016-02-23 18:56
has joined #general

alex
2016-02-23 18:57
I'm Alex from London, iOS developer working for Santander bank in blockchain app using ripple

cpalmquist
2016-02-23 19:03
Hi Alex, I'm Chad from Houston, Tx

alex
2016-02-23 19:03
Hi!

alexkane
2016-02-23 19:40
Hello

alexkane
2016-02-23 19:41
From Songtrust here, interested in using blockchain as a store for musical work composition information

jgarzik
2016-02-23 19:46
Hi all! From http://Bloq.com, working on low level blockchain infrastructure

dan
2016-02-23 19:48
Hey all, Dan from http://digitalasset.com here

mdolan
2016-02-23 20:09
I see we have a few people on Slack, just FYI most of the communications seem to be on the mailing list. If you haven’t signed up, you can do so here: http://lists.hyperledger.org/mailman/listinfo

afdudley
2016-02-23 20:21
has joined #general

xeroc
2016-02-23 20:59
has joined #general

vaughn.temboo
2016-02-23 21:03
has joined #general

gerstep
2016-02-23 21:39
has joined #general

david_wowa
2016-02-23 22:03
has joined #general

zandy
2016-02-23 22:03
has joined #general

pnomarev
2016-02-23 22:27
has joined #general

cass
2016-02-23 23:30
has joined #general

peter
2016-02-23 23:46
has joined #general

hkchai
2016-02-24 01:14
has joined #general

vshen
2016-02-24 02:25
has joined #general

kobigurk
2016-02-24 03:15
Hi everyone! Kobi from Magic in Bits - blockchain security & analytics platform

jeffscottward
2016-02-24 04:28
Hey @mdolan, can you add a webhook integration that displays and allows response of email from within slack. Would like to avoid bifurcation of communication.

jeffscottward
2016-02-24 04:29
Basically what github allows for replying to comments via email but instead from within slack

jeffscottward
2016-02-24 04:29
To the mailing list

jeffscottward
2016-02-24 04:31
Slack is "the email killer" after all :skull_and_crossbones::e-mail:

mdolan
2016-02-24 04:32
@jeffscottward: we’re looking into it

juanblanco
2016-02-24 06:48
that will be great, the mailing list is too async

greggigon
2016-02-24 11:06
has joined #general

gbugyis
2016-02-24 12:18
has joined #general

simondlr
2016-02-24 12:18
has joined #general

sidonie
2016-02-24 12:28
has joined #general

ajunge
2016-02-24 12:30
has joined #general

igor.lilic
2016-02-24 12:30
has joined #general

igor.lilic
2016-02-24 12:35
Hi all, Igor Lilic from ConsenSys here - helping to support MSFT's Blockchain efforts wtih Ethereum

danielnovy
2016-02-24 12:38
has joined #general

igor.lilic
2016-02-24 12:48
@michaeldowling: How can we get access to the staging-blockchain/obc-docs repository?

cubedro
2016-02-24 12:58
has joined #general

aeron.buchanan
2016-02-24 12:58
has joined #general

milad
2016-02-24 12:59
has joined #general

mjnolan
2016-02-24 13:06
has joined #general

mike
2016-02-24 13:06
has joined #general

aeron.buchanan
2016-02-24 13:08
Hello! Aeron from Ethcore here, where we're helping keep the Ethereum protocol state-of-the-art

cubedro
2016-02-24 13:18
Hello everyone!

julianp
2016-02-24 13:21
has joined #general

connork
2016-02-24 13:50
has joined #general

juanblanco
2016-02-24 13:56
Are there any plans to leverage or ask the collaboration of any other existing open source implementations? Most important how is the project going to avoid reinventing the wheel and learn from other blockchains? For example Ethereum, Bitshares (Graphene) or the new Enigma by MIT.

juanblanco
2016-02-24 13:58
just browsing the mail list, there are various discussions about the smart contract implementation, the benefits of gas, lessons learnt of graphene regarding performance

jmlubin
2016-02-24 14:04
has joined #general

dcarboni
2016-02-24 14:14
has joined #general

xeroc
2016-02-24 14:32
Thanks for asking tough questions here @juanblanco

xeroc
2016-02-24 14:33
I'd also like to know about how existing projects could possibly contribute either existing code (such as the graphene toolkit of the `fc` library) or lessons learned (https://bitshares.org/blog/2015/06/08/lessons-learned-from-bitshares-0.x/#technology-lessons) ..

xeroc
2016-02-24 14:34
It seems there are quite some ideological differences in the parties involved and in the case of Cryptonomex, we are very uncertain as to whether it makes sense to put man power into dealing with politics in hyperledger ..

jmlubin
2016-02-24 14:34
Hey @aeron.buchanan. Great to see you in here.

juanblanco
2016-02-24 14:46
@xeroc it should not be any ideological differences as this is a linuxfoundation project, obviously its usage later on can vary

juanblanco
2016-02-24 14:48
but I understand the man power issue, but I assume they will sponsorship by the parties involved

juanblanco
2016-02-24 14:49
nothing is free is it?

xeroc
2016-02-24 14:49
Is the idea behing hyperledger to have one standard tech to "rule them all" .. or is the idea to have a set of technologies standardized?

juanblanco
2016-02-24 14:50
I am hoping for the latter, as the first one will obviously not work

juanblanco
2016-02-24 14:51
but lets see what other people here say

xeroc
2016-02-24 14:52
yhea .. that is my impression as well .. If they went for the former I see no reasons at all why Cryptonomex should join .. for that we have learn to many lessons and improved too much over our mistakes to neglect it

juanblanco
2016-02-24 14:55
yes that will be nice, lets see if Ethereum can contribute the EVM

juanblanco
2016-02-24 14:56
@mdolan any thoughts about this?

mdolan
2016-02-24 15:00
I’m not the decision maker here. Needs to be a community discussion and someone needs to do the work… we don’t dictate what the community should create. I did talk to a team that came from Eth yesterday and they are planning to engage and contribute. I’ve not spoken to anyone from Eth Fndtn but happy to - I don’t have any contacts... Not sure if that’s what you’re asking...

juanblanco
2016-02-24 15:01
well I am not mentioning just Ethereum, all blockchains in general

juanblanco
2016-02-24 15:01
@xeroc is obviously from Graphene / Bitshares

juanblanco
2016-02-24 15:01
you have Enigma from MIT

juanblanco
2016-02-24 15:02
you have very simple chains like openchain (for private)

juanblanco
2016-02-24 15:04
and more...

juanblanco
2016-02-24 15:04
so my hope is for this project is to unite the best and get the best

juanblanco
2016-02-24 15:05
and create an standard for everyone

juanblanco
2016-02-24 15:07
not discarding of course the current contributions by IBM, Ripple, Digital Assets and Blockstream

mdolan
2016-02-24 15:07
Anyone is free to show up and work on it

mdolan
2016-02-24 15:07
Have to start somewhere though

mdolan
2016-02-24 15:08
I think once there’s a base code it’s easier for others to see how they would like to work together

mdolan
2016-02-24 15:08
just my opinion though…

juanblanco
2016-02-24 15:09
yes that helps, but also sets a direction

xeroc
2016-02-24 15:09
not sure we can get all those businesses to agree on a 'base code'

amin.panjwani
2016-02-24 15:09
has joined #general

mdolan
2016-02-24 15:09
there will have to be decisions made

juanblanco
2016-02-24 15:09
the idea will be pick the best of each chain

xeroc
2016-02-24 15:09
the foundation is essential since it gives the direction whether to have high flexibility or scalibility .. can't 'easily' have both

juanblanco
2016-02-24 15:09
and see if they want to collaborate

xeroc
2016-02-24 15:10
so we need benchmarks first so we can compare differrent protocols and implementations

juanblanco
2016-02-24 15:10
yes performance / scalability / privacy is the hardest

juanblanco
2016-02-24 15:11
and development friendly

juanblanco
2016-02-24 15:11
smart contract creation, interoperability, versioning, discovery

juanblanco
2016-02-24 15:14
but I agree on the overall evaluation of existing blockchains, selection and invitation process if they are not already collaborating

hkchai
2016-02-24 15:15
maybe we can capture a list of key considerations/learnings from existing blockchains?

xeroc
2016-02-24 15:15
you could offer different privacy "modes" on the same chain .. but you can't have different performance and scalability modes ..

aakilfernandes
2016-02-24 15:16
has joined #general

juanblanco
2016-02-24 15:17
@hkchai: Obviously if we are here, we know about most of the blockchains so that won't be hard to create. Pros and cons, and what we would like to

juanblanco
2016-02-24 15:17
and ask for collaboration, ie Gavin, Dan, Vitalik, Juan etc

juanblanco
2016-02-24 15:18
including IPFS as it is needed

xeroc
2016-02-24 15:18
Sounds like a plan ..

xeroc
2016-02-24 15:18
let's figure out what hyperledger NEEDs and what is already out there

hkchai
2016-02-24 15:19
Yeap. Agree. With a list then it provides a more solid basis for us to discuss and share thoughts

juanblanco
2016-02-24 15:21
so where do we raise this?

juanblanco
2016-02-24 15:22
how is this coordinated?

juanblanco
2016-02-24 15:22
github issues?

juanblanco
2016-02-24 15:23
a different channel here?

jimkberry
2016-02-24 15:23
has joined #general

juanblanco
2016-02-24 15:25
Ill raise an issue in github to start if that is ok

juanblanco
2016-02-24 15:25
and create a channel for further discussion

juanblanco
2016-02-24 15:26
maybe we can use scope :simple_smile: which is already created

hkchai
2016-02-24 15:28
I would think github sounds like a good start while scope channel can be used for discussion/debate :simple_smile:

juanblanco
2016-02-24 15:43
I have created the issue now, please feel free to add / edit / remove anything

tim
2016-02-24 15:52
has joined #general

pelle
2016-02-24 16:45
has joined #general

pelle
2016-02-24 16:50
Hi Pelle from Consensys here

benedikt.herudek
2016-02-24 18:02
Maybe a good starting point could also pin down The usecases wanted and then have a look what technology could be used and what needs reinvention. If one takes all existing technologies and picks what seems best risk is one creates a technology shake without clear vision, what this blockchain should really add to the landscape. Question to be answered could be eg is hyperledger supposed the best blockchain when it comes to XYZ. Starting from there could also avoid ideological discussions on technology approaches.

alexkane
2016-02-24 18:15
Great point

kobigurk
2016-02-24 18:49
I like that approach. this could create something useful faster.

gregorysimon
2016-02-24 19:02
has joined #general

eliben
2016-02-24 19:21
has joined #general

alexkane
2016-02-24 19:30
where’s the best place to share our individual use cases?

alexkane
2016-02-24 19:30
mailing list?

christopherfranko
2016-02-24 20:02
has joined #general

christopherfranko
2016-02-24 20:02
:simple_smile:

cpalmquist
2016-02-24 20:12
In order to pin down the technology, wouldn't it be prudent to provide a high level outline/model? Then apply the appropriate techs layers to it?

carolyn.reckhow
2016-02-24 20:13
has joined #general

alexkane
2016-02-24 20:14
makes sense to me, that’s more or less how I interpreted @benedikt.herudek ’s comment

carlos
2016-02-24 20:18
has joined #general

juanblanco
2016-02-24 21:33
I believe in general all blockchains try to achieve the same: scalability, performance, privacy, smart contracts, data storage (as per ipfs) , consensus validation, identity, interoperability between contracts and / or other chains. Whilst most of this are none functional requirements, but the blockchain is the infrastructure. Use cases will further validate these needs or extra requirements. So what is the scope, what is needed and what is out there. To develop something faster reuse and involve what it has been already develop, don't reinvent the wheel.

alexkane
2016-02-24 21:36
interesting

benedikt.herudek
2016-02-24 21:39
Agree @juanblanco, one might wanna have some unique selling point and vision though. Otherwise ... JYB ... Just another blockchain ...:-)

juanblanco
2016-02-24 21:45
Yes to me the vision would be to be the best and the standard, but embracing collaboration. If not it will enter a race that it will never be won.

juanblanco
2016-02-24 21:51
At the moment in my opinion we many chains that excel at different things but not all due to lack of collaboration. Example Ethereum smart contracts development, bitshares performance..

juanblanco
2016-02-24 21:53
But work is carried on both camps to bring the others functionality.

benedikt.herudek
2016-02-24 22:02
makes a lot of sense to me, especially for Linux foundation @juanblanco ! Wondering what @cbf (congrats to election) would think of vision & strategy.

bryce
2016-02-24 22:37
I would very much like to see modularity as a point of consideration, which would subsume many other potential metrics mentioned (privacy, smart contracts, consensus rules, etc).

marccarre
2016-02-24 22:55
has joined #general

christopherfranko
2016-02-24 23:07
I agree modularity is important.

kumavis
2016-02-24 23:13
has joined #general

kumavis
2016-02-24 23:15
hello/ ethereum developer here

kumavis
2016-02-24 23:23
really interested in talking about the underlying vm + cross-chain messages

mawasthi
2016-02-25 02:38
has joined #general

chrislundkvist
2016-02-25 04:45
has joined #general

chrislundkvist
2016-02-25 05:05
Hello! Christian Lundkvist here from ConsenSys. Interested in learning more about the various technologies under consideration! :smiley:

florisvanlieshout
2016-02-25 05:38
has joined #general

niran
2016-02-25 07:29
has joined #general

andrea.milazzo
2016-02-25 08:47
has joined #general

jesper
2016-02-25 12:00
has joined #general

aeron.buchanan
2016-02-25 13:25
I think benchmark design should not be priority at this stage. I definitely back the idea of modularity. I would suggest we start from the top and design a "consensus platform framework" which, in an extensible way, provides the capability for the main use-cases. The "consensus engine" and security design can then be swapped out as advancements are made. With current blockchains, the prevalent approach necessarily combines these two aspects, which has blurred our nomenclature somewhat unhelpfully.

cbf
2016-02-25 13:54
@benedikt.herudek: thank you!

cbf
2016-02-25 13:58
@xeroc and @juanblanco to your question regarding contribution and engagement of other open source projects, all are welcome, whether they have joined the Hyperledger Project as members or simply wish to participate as individuals, to contribute to the technical development and discussion. We have had a call for proposals out for a couple weeks, now and there were four who answered that initial call, and a couple others that are still working their way through their internal processes to open source their code.

xeroc
2016-02-25 13:59
Oh .. interesting .. could you give me a link to that call for proposals?

cbf
2016-02-25 14:10
the call itself predates the formal launch and was originally made verbally in one of the formation calls, and then shared on the blockchain-formation mailing list. We have also been discussing it on the hyperledger-tsc and technical-discuss mailing lists since the formal launch.

xeroc
2016-02-25 14:12
I can remember that I tried to reach out to this initiative when I first heard about it being hosted by Linux Foundation .. never heard back .. :disappointed:

cbf
2016-02-25 14:17
sorry about that - but we are glad to have you aboard, and thanks for your contribution to the discussion thus far!

xeroc
2016-02-25 14:26
Great to be on board .. once we have finished up constructing our Cryptonomex International business foundations we will certainly apply for a more official membership!

ikruiper
2016-02-25 14:45
has joined #general

mdolan
2016-02-25 15:12
@xeroc: sorry about the communication challenges… when we launched there were over 2,500+ inquiries in the first week… was nearly impossible to respond to all of them…

gregorysimon
2016-02-25 15:16
Please share in this channel if possible.

mdolan
2016-02-25 15:18
The TSC uses the mailing list as the primary communication vehicle. The TSC decided that at the first TSC meeting so I would recommend subscribing to the TSC list.

mdolan
2016-02-25 15:19
@mdolan uploaded a file: https://hyperledgerproject.slack.com/files/mdolan/F0P231AAV/dah-ibm_hyperledger_project_proposal_-_20160223v2.docx and commented: Cross posting from the TSC mailing list

mdolan
2016-02-25 15:21
You can subscribe to the TSC mailing list here: http://lists.hyperledger.org/mailman/listinfo

jeffscottward
2016-02-25 15:33
@mdolan: https://slack.com/apps/A08MWL06Q-clubbleio. Allows replies from within Slack!

jeffscottward
2016-02-25 15:33
Very cool

yorkerhodes
2016-02-25 15:34
has joined #general

mdolan
2016-02-25 15:35
Yes, we’re working on it. Our LF IT team is a bit paranoid on security (for good reason) but we should have something working soon.

jeffscottward
2016-02-25 15:37
@mdolan Security? There's no transactional value going on, and the conversation is open via the mailing list. Not sure what you are referring to.

jeffscottward
2016-02-25 15:37
But good to know

ericstephens
2016-02-25 15:43
has joined #general

josephc
2016-02-25 16:11
> We have had a call for proposals out for a couple weeks, now and there were four who answered that initial call, and a couple others that are still working their way through their internal processes to open source their code. How to submit proposals/contributions ?

arnaud
2016-02-25 16:28
has joined #general

ericandersenstephens
2016-02-25 16:33
has joined #general

igor.lilic
2016-02-25 16:37
Thanks for the call

edrasin
2016-02-25 16:53
has joined #general

xeroc
2016-02-25 17:09
@cbf: we (cryptonomex) are going to prepare a proposal as well .. unless you tell us that it is already too late ..

mfaas
2016-02-25 17:13
has joined #general

nybek
2016-02-25 17:22
has joined #general

igor.lilic
2016-02-25 17:24
@igor.lilic uploaded a file: https://hyperledgerproject.slack.com/files/igor.lilic/F0P2QPBUK/weeklyhyperledgertechnicalcall-feb252016.pdf and commented: Here are my (unofficial) weekly meeting notes. What is the link to the wiki? Can we pin it to the channel?

mkrishna
2016-02-25 17:25
has joined #general

igor.lilic
2016-02-25 17:26
Apologies for any typos or misidentified speakers!

bryce
2016-02-25 17:44
Has the Intel slide deck from last week’s meeting been made available?

josephc
2016-02-25 17:44
> @cbf: we (cryptonomex) are going to prepare a proposal as well @cbf @xeroc: where/how to submit ?

rmigirov
2016-02-25 17:52
has joined #general

xeroc
2016-02-25 17:58
@josephc: don't ask me .. I heard about the call for proposals 90 minutes ago :simple_smile:

gerrithuizenga
2016-02-25 18:04
has joined #general

ericandersenstephens
2016-02-25 18:15
@tbenzies: thanks for your help today

cbf
2016-02-25 18:19
@josephc: create goigle doc and post link to commentable version to wiki and mailing list

agafoor
2016-02-25 18:26
has joined #general

cpalmquist
2016-02-25 18:33
@igor.lilic: Is there a recorded podcast for the call?

igor.lilic
2016-02-25 18:34
@cpalmquist: not entirely sure... cc @mdolan ^

manish.tomer
2016-02-25 18:43
has joined #general

mdolan
2016-02-25 19:30
@tbenzies: is the recording available?

tbenzies
2016-02-25 19:52
It has just been added to https://github.com/hyperledger/hyperledger/wiki/Technical-Steering-Committee. The minutes and other recordings will but up later today.

tbenzies
2016-02-25 19:53
(note: it will take a few minutes for the video to finish processing before it is fully available at that link)

pau
2016-02-25 20:51
has joined #general

sam002
2016-02-25 22:20
has joined #general

gazbert
2016-02-25 22:34
has joined #general

randomdigit
2016-02-25 22:46
has joined #general

kdonovan
2016-02-25 23:57
has joined #general

basler
2016-02-26 03:15
hi all

basler
2016-02-26 04:17
what's the reason to use docker in obc? ease the deployment or multi-tenancy isolation?

eiichi
2016-02-26 06:39
has joined #general

gengjh
2016-02-26 07:07
@basler: by my understanding, the answer is yes. But my concern is how many containers can be run on obc peer, since each chaincode will lunch one container on the peer.

jerome
2016-02-26 08:33
has joined #general

juanblanco
2016-02-26 09:45
nice explanation of obc on the tsc https://drive.google.com/open?id=0B42vMkapQi1MQ2RTRXpudzEySUE video

carmania
2016-02-26 10:00
@basler: my understanding is primarily to provide isolation from the OBC peer. On the TSC call yesterday, the subject of containers came up and my take away from that was that alternate container solutions should be possible from an architectural perspective. I believe the approach being taken by the project is to make components interchangeable wherever possible.

sillytuna
2016-02-26 10:34
has joined #general

naddison
2016-02-26 12:29
How “locked down” are the docker containers in OBC? Can chaincode make external network connections? eg API calls to external services outside the OBC?

xeroc
2016-02-26 12:42
not that I fully understand OBC .. but if those containers are part of the blockchain protocol .. than it is a bad idea to poll outside sources since they could render a formerly valid transaction/block invalid at a later time

naddison
2016-02-26 13:05
I was thinking of use cases like: 1. to get data external data as part of a smart contract. eg stock price. 2. to do external service calls. eg sanctions check 3. to act as an eventing mechanism to systems outside the OBC. eg notify customer of new transaction

juanblanco
2016-02-26 13:07
if you get external data, that might change so it will invalidate consensus.

juanblanco
2016-02-26 13:08
oracles ie.. notifications etc should be driven by a transaction

juanblanco
2016-02-26 13:09
that is part of "external" bl which interacts with the chain

juanblanco
2016-02-26 13:09
now...

juanblanco
2016-02-26 13:09
an smart contract could react of an event raised by another contract on the chain

juanblanco
2016-02-26 13:10
as this can be part of the consensus

juanblanco
2016-02-26 13:10
-------------

juanblanco
2016-02-26 13:12
the question is if chaincode is deployed through containers how do they interact with each other and limited to interoperability within the chain, together with consensus of state and transaction

juanblanco
2016-02-26 13:13
but I don't know much so somebody can correct me / guide me

naddison
2016-02-26 13:45
Ah, I get it now. The validating peers will run a slightly different times hence the external service calls can have difference data which will throw concensus

tim.blankers
2016-02-26 13:48
has joined #general

xeroc
2016-02-26 14:17
@naddison: also .. you need to be sure that the external service provides the same data EVERYTIME you need to replay the whole blockchain to get to your most recent database state

naddison
2016-02-26 14:30
thanks @xeroc. next dumb question, when would you need to replay the whole blockchain? And what exactly is a reply? Surely it’s not running all chaincode since the genesis block

basler
2016-02-26 14:39
@gengjh: yes for isolation or deployment?

basler
2016-02-26 14:39
@carmania: The problem is that Linux container is not that isolated, e.g. shared kernel

xeroc
2016-02-26 14:43
@naddison: replaying is EXACTLY rerunning every thing since genesis block .. only that way you can be sure that your local database state is consistent with everyone else

xeroc
2016-02-26 14:44
you can though surely do some optimizations here and there and assume that if the blockchain is way longer than the currently block that you replay .. that you don't need to re run everything but can assume a degree of consensus on it ... similar to checkpoints ..

jerome
2016-02-26 14:51
Dear all, to securely *sandbox the execution of contracts* written in Golang or C/C++, Google *NaCL* may help: https://github.com/golang/go/wiki/NativeClient

sillytuna
2016-02-26 15:44
@naddison: also potential issue of spamming service requests as well as dif data

sillytuna
2016-02-26 15:44
Even x-chain support has small but real risk due to hard fork

timswanson
2016-02-26 17:37
has joined #general

naddison
2016-02-26 20:06
@xeroc: thanks again for explaining. I like the checkpointing idea after a level of consensus. I wouldn’t want to see a peer having to run a few years worth of chaincode just to work out the state of the systems

bryce
2016-02-27 02:29
I think the concept of inclusion of external data falls more under “best practices” than something that should be deliberately codified. One can easily envision a market for a number of distributed ledgers which do little else but serve commonly consumed data in a format suitable for bootstrapping oracles.

kobigurk
2016-02-27 03:11
I was too wondering about the "locked down"ness of these Docker containers. I'm usually a fan of the approach of feeding external data as transactions when necessary, but here I think that in some use cases it's not as important to be replayable as it is in Ethereum, for example. causing all external data to only be inserted as transactions might be counter-productive. having a system that provides a point-in-time consensus about something would be beneficial

bpreston
2016-02-27 03:51
has joined #general

garisingh
2016-02-27 15:58
has joined #general

binhn
2016-02-27 19:24
@kobigurk: In OBC, the dockerfile is specified in the openchain.yaml file, so lockdown is up to each network deployment, based on the security tolerance https://docs.docker.com/engine/security/security. The virtualization is replace-able with obc-peer/openchain/container/vm.go

kobigurk
2016-02-27 19:27
@binhn: yeah, thanks, I gathered that much after diving into the code yesterday :+1:

rameshg
2016-02-28 01:11
has joined #general

basler
2016-02-28 03:15
@binhn: change the virtualization to what?

jellevdp
2016-02-28 15:02
has joined #general

joshuajeeson
2016-02-28 18:49
has joined #general

stephan
2016-02-28 20:15
has joined #general

jeffscottward
2016-02-28 20:20
@mdolan: status on email integration?

bakerbar
2016-02-28 22:45
has joined #general

kobigurk
2016-02-29 03:55
I was wondering about replacing the consensus mechanism. I understand that it's pluggable, but are the identity and registration services mandatory? how possible is it to recreate bitcoin on this?

ahannigan
2016-02-29 15:43
has joined #general

dylan
2016-02-29 15:48
has joined #general

kendagor
2016-02-29 16:36
Wrt to an implementation adoption vs reinventing, how does an examplified cpp lang approach sound Where the core mission would be to draft and evolve a standard while blessing a single implementation targeted for correctness only and encouraging other implementations to claim an edge on security, performance, cutting-edge standards adoption, interop, support etc (much like we have msvc, clang, gcc, Intel cpp, etc) it's a much more vibrant approach imo.

kendagor
2016-02-29 16:43
The correctness implementation ought to start from scratch so that the next generation experts for the community can learn from it instead of dissecting an optimized implementation that's not trivial

jecol
2016-02-29 20:52
has joined #general

igor.lilic
2016-03-01 01:29
@alexkane & @cmickeyb -- Re: [technical-discuss] Example Use Case: Music Copyrights: ConsenSys has worked closely with Imogen to develop the Ujo Music Prototype. You can examine the Solidity (Smart Contract) code here: https://gist.githubusercontent.com/simondlr/0e0ca655bd13c1dad072/raw/507c39a798c93f73048484a4c3e40cc51488a5b1/TinyHuman.sol This smart contract is deployed to the Ethereum public network and has been invoked hundreds of times by consumers who desire to buy Imogen's music. This a real "in the wild" smart contract use case example. We at ConsenSys continue to explore how smart contracts can power the future of digital rights managements with various clients & stakeholders. The power of an Ethereum-based architecture allows for the rapid deployment of these types of use cases.

igor.lilic
2016-03-01 01:30
As a side note, I wasn't able to respond to the thread in "Digest Mode" - does anyone have any recommendations for best way to manage the mailing list? I've disabled Digest mode for now until I find a better solution..

igor.lilic
2016-03-01 01:30
+1 to @jeffscottward's question on Slack / Mailing list integration :simple_smile:

igor.lilic
2016-03-01 01:30
Happy to help take a look at it if there is a technical blocker

jgarzik
2016-03-01 01:45
@kendagor: Seen moxiebox? https://github.com/jgarzik/moxiebox It is an example of compiling smart contracts using actual C/C++/etc. GNU compiler toolchain. No need to reinvent an entire developer toolsuite (debuggers, profilers, IDEs, …)

jgarzik
2016-03-01 01:45
Write smart contracts in your preferred programming language.

kendagor
2016-03-01 02:34
@jgarzik Thanks for the link, I'll certainly check it out. I, however, was addressing the core Hyperledger mission where, from my understanding, there's or was a discussion on the approach to take for laying down the first lines of code for the project. I'm suggesting that the Hyperledger project adopt creating a standard as it's core mission and lay down fresh code for a platform only to prove the end-to-end correctness of the standard. From there onwards other forks, modifiers or fresh standard implementors can pick an edge, be it performance, security, choice of smart contracts vs utxo models, and so on. I don't believe initiating a production system approach will check-off every conceivable best approach and eventually there may be a point down the road where idea factions will make a hard divergence and that would appear to be a failure in a global mission. A standards approach with a correctness implementation will help nurture future experts while in the near term encourage various irreconcilable objectives to still gravitate towards a common Hyperledger mission. Various platform approaches can compete on security, performance, x vs y etc but yet interop (protocol, api, who-knows-what) -- surely at least have the same agreement on a standard. I only mentioned the cpp standard as an example of how a mission can realistically survive for decades yet still be relevant and even thriving because there are various implementations that push each other onwards. Hyperledger could go that route and possibly do some things better :)

diego
2016-03-01 03:20
has joined #general

j3ffyang
2016-03-01 04:33
has joined #general

turnshek
2016-03-01 09:34
has joined #general

cphrmky
2016-03-01 09:39
has joined #general

dweill
2016-03-01 12:37
has joined #general

alexkane
2016-03-01 13:30
@igor.lilic: we work with Imogen Heap on the publishing side, really cool stuff you guys are doing


cbf
2016-03-01 14:00
@kendagor: the Hyperledger project is at its core an open source initiative… we hope that the fabric we deliver will become the de facto cross-industry standard. However, if by standard, you mean that we should be writing a specification, rather than delivering code, then I’d suggest that’s a very different mission than most members understood when they joined

juanblanco
2016-03-01 14:05
@kendagor: I don't understand the idea of starting from scratch either... why reinvent the wheel. Shall the project create everything new? Should we not ask the current experts for the advice? You have the risk of of becoming (as mentioned before) just another blockchain that nobody will use.

joeconyers
2016-03-01 15:23
@igor.lilic: Love the smart contract side of what they did with Imogen but it doesn’t address the wider issue around copyright information(who wrote what and who currently represents whom) delivery and dispute managment which is a huge issue. We deal with 100’s if not 1000’s of databases that slide from truth and are perpetually out of date.

joeconyers
2016-03-01 15:24
Devs and the industry have been approaching this from the artist side which is an incremental move, not a step change. Needs to be approached from composition side - can’t license music(i.e. Make a new Spotify) more efficiently without that information.

igor.lilic
2016-03-01 15:31
@joeconyers: Definitely agree with the fact that there is more work to be done. We (ConsenSys) wanted to work with Imogen and deploy Ujo to get the conversation going around the power of smart contracts and educate the broader industry about how this technology can influence rights management and things like payments splits

igor.lilic
2016-03-01 15:32
WRT to Hyperledger, I wanted to bring up the smart contracts we did for Ujo - so far what I've seen from these discussions is that Smart Contracts aren't a first class citizen

igor.lilic
2016-03-01 15:32
I want to make the case that they should be

alexkane
2016-03-01 15:37
In what way? The OBC documentation I’ve looked at puts chaincode (contracts) as central to creating a transaction

igor.lilic
2016-03-01 15:55
Blockchain native contracts vs containerized services

alexkane
2016-03-01 15:55
ah hah

bryce
2016-03-01 16:22
@joeconyers That’s where we come in. eVue Digital Labs has been working with the RIAA since 2014 to design a system that doesn’t disrupt the music industry, but applies the technology to the existing production and supply chains to provide a solution suitable for all stakeholders and in full compliance with US copyright law.

joeconyers
2016-03-01 16:22
The RIAA does not understand compositions

bryce
2016-03-01 16:23
They do understand the pains of copyright enforcement and the loss of revenues due to piracy.

joeconyers
2016-03-01 16:23
From the recording side

bryce
2016-03-01 16:23
The goal of the project is primarily to reduce contentious litigation for application platforms that serve digital content.

joeconyers
2016-03-01 16:24
there is a huge schism between labels(recordings) and publishers(compositions). Let’s take this into DM

bryce
2016-03-01 16:24
Royalty splits are essentially low hanging fruit.

bryce
2016-03-01 16:24
Agreed

kendagor
2016-03-01 16:24
@cbf , @juanblanco yes I did mean the project owning a specification. I know this project will deliver a great platform certainly because of the experts we have. I just believe that unifying around a specification as well will help other implementations have a bona fide checklist of compliance so that we can have a one worldwide platform from many implementations. As for the reinvention, it was still to drive the standard specification, but being that the arguments for a production-level implementation is very sound because we have great experts, I'm fine with that approach too (having expressed my point :)) In brief I look forward participating however the community goes code-wise. I also hope you'll consider owning a standard specification as well. To digress a bit, perhaps there might be regulations or other controls in some key economy elsewhere in the world which may make the production-level subject to modification or rewrite to be viable there (cryptographic export/import regulations, anonymity, trade policies, "censorship", etc) that's one of the reasons owning the standard could possibly keep the initiative under the same wing)... Thanks for your feedback. I hope there's still more to add :)

dana_ingraham
2016-03-01 21:07
has joined #general

yuhumai
2016-03-02 02:49
has joined #general

rob5
2016-03-02 06:25
has joined #general

alessandro.sforzin
2016-03-02 10:16
has joined #general

apetroni
2016-03-02 14:48
has joined #general

philipdesautels
2016-03-02 15:53
has joined #general

gauthampamu
2016-03-02 16:45
has joined #general

sbrakev
2016-03-02 19:40
has joined #general

hans
2016-03-03 12:12
has joined #general

andre.richter
2016-03-03 14:42
has joined #general

nikhil.bimbrahw
2016-03-03 15:11
has joined #general

c.young
2016-03-03 18:28
has joined #general

hmframos
2016-03-03 20:26
has joined #general

bretgmiller
2016-03-03 20:41
has joined #general

joaquinfernandez
2016-03-03 21:07
has joined #general

bobbiejc
2016-03-03 21:23
has joined #general

webdaford
2016-03-03 21:27
has joined #general

primrose
2016-03-04 00:29
has joined #general

joyceshen
2016-03-04 01:09
has joined #general

jamie.steiner
2016-03-04 10:20
Hi, does anyone know if the thursday meetings are recorded, and if so, where they are located?

jamie.steiner
2016-03-04 12:55
Got it, thanks Todd!

mikehummel
2016-03-04 18:58
has joined #general

thedoctor
2016-03-04 18:58
has joined #general

jorge
2016-03-04 18:59
has joined #general

danny
2016-03-04 19:05
has joined #general

micah_gem
2016-03-04 23:41
has joined #general

micah_gem
2016-03-04 23:51
Hi all, Micah Winkelspecht here (along with several members of the Gem team)

rob-itbit
2016-03-05 01:28
has joined #general

jacobfarber
2016-03-05 17:22
has joined #general

mwoz
2016-03-05 17:55
has joined #general

jkickens
2016-03-06 19:56
has joined #general

thamia
2016-03-07 01:27
has joined #general

jamila_itbit
2016-03-07 13:47
has joined #general

seth_itbit
2016-03-07 14:15
has joined #general

mark_colu
2016-03-07 14:42
has joined #general

kevin_paxos
2016-03-07 14:51
has joined #general

balthorium
2016-03-07 16:33
has joined #general

shemnon
2016-03-07 17:58
has joined #general

pm
2016-03-08 02:12
hey @micah_gem is here :thumbsup:

richvincent
2016-03-08 04:42
has joined #general

richvincent
2016-03-08 04:43
Hello all

samchadwick
2016-03-08 13:01
has joined #general

clark.thompson
2016-03-08 14:32
has joined #general

zsolt
2016-03-08 15:36
has joined #general

echang
2016-03-08 16:07
has joined #general

jaekwon
2016-03-08 18:57
has joined #general

jaekwon
2016-03-08 19:00
Hi all. Jae from Tendermint here.

mark_atwood
2016-03-08 20:44
has joined #general

hart.montgomery
2016-03-09 00:39
has joined #general

ebuchman
2016-03-09 01:48
has joined #general

sarose
2016-03-09 02:52
has joined #general

ppl
2016-03-09 12:48
has joined #general

wenting
2016-03-09 13:41
has joined #general

andrew.keys
2016-03-09 16:34

thomas
2016-03-09 18:26
Great read! Thanks Andrew. I look forward to discussion on this topic.

xeroc
2016-03-09 18:42
I don't see how having the option to do both UTXO and account based processing will actually help scalability ..

zdexter
2016-03-09 19:05
has joined #general

bryanbishop-ledgerx
2016-03-09 19:22
has joined #general

bryce
2016-03-09 19:29
It provides options, and options are what matter. It could be argued that a UTXO dataset is what separates a “blockchain” from a “cryptographic ledger”.

bryce
2016-03-09 19:33
Ethereum was created with a specific vision in mind. While the arguments presented in the article are correct, it does bear the assuption that Hyperledger will behave similarly from a transactional level however that has not been established.

manish.tomer
2016-03-09 19:37
Blog mentioned in the article is before Linux foundation was formed. From last call, I understood that Hyperledger now (under Linux foundation) is trying to integrate both model.

zdexter
2016-03-09 19:51
Hi , I am new to this community just poking my head in for the first time. I am Zach Dexter, CTO of LedgerX. We have received temporary registration from CFTC for our Swap Execution Facility, and have a clearinghouse application in with CFTC as well - if approved, this basically means LedgerX would be a fully-licensed/regulated blockchain clearinghouse. We feel this can help resolve many questions around compliance for blockchain projects. I'll be lurking to figure out how the Hyperledger Project works and I'm excited to be a part of this. Nice to meet everyone! Also, thanks to whoever has been doing meeting minutes - those have been very helpful.

jaekwon
2016-03-09 23:34
Is this the main conversation? I heard that there’s a meetup on NY upcoming.

jaekwon
2016-03-09 23:34
How is the mailing list?

ryan
2016-03-09 23:53
has joined #general

gregorysimon
2016-03-10 02:15
Hello all, I as well would like to know details for the NY meeting. I believe on the last call March 14-15 was mentioned?

tbenzies
2016-03-10 02:17
The F2F meeting will be 3/22 - 2/25 in Brooklyn, NY. Details were posted to the TSC list. http://lists.hyperledger.org/pipermail/hyperledger-tsc/2016-March/000082.html

sai
2016-03-10 09:58
has joined #general

igor.lilic
2016-03-10 15:17
don't want to interrupt the call with this question; but is there progress on the Mailing List <-> Slack integration?


pjholmes
2016-03-10 15:36
has joined #general

primrose
2016-03-10 15:38
Thanks @igor.lilic ! would you have a link to doc currently being discussed now too please? I can't remember how i received the agenda with the links anymore



igor.lilic
2016-03-10 16:01
Shorter unofficial minutes from my end today (had to jump on a separate call midway through our call) https://docs.google.com/document/d/1I0c6uDiS30dMv2kEc2_PdAFIsO9c-DRQRil4a4fDTXc/edit?usp=sharing

pleticha
2016-03-11 02:27
has joined #general

keithsmith
2016-03-11 13:51
has joined #general

awalias
2016-03-11 15:51
has joined #general

dwaters
2016-03-14 14:34
has joined #general

alex.esca
2016-03-14 22:43
has joined #general

jaekwon
2016-03-14 22:59
Is there a schedule for the f2f? I will be there for We/Thu in NY representing Tendermint.

mkabanau
2016-03-15 08:51
has joined #general

rrrodrig
2016-03-15 15:41
has joined #general

vijayr24
2016-03-15 18:42
has joined #general

mattslater_hedgy
2016-03-15 21:40
has joined #general

buddhikaw
2016-03-16 13:46
has joined #general

bartcant
2016-03-16 17:29
has joined #general

neil
2016-03-17 04:20
has joined #general

agafoor
2016-03-17 14:45
Is there a registration for the f2f?


agafoor
2016-03-17 14:59
Thnx...

halp
2016-03-17 15:41
has joined #general

sheehan
2016-03-17 18:21
has joined #general

brianbehlendorf
2016-03-17 21:24
has joined #general

jurgen
2016-03-18 07:57
has joined #general

jurgen
2016-03-18 08:13
HI, I just joined. I have a technical question, someone here to answer me? I'm wanting to see what I can do for the hyperledger project, but I'm not a programmer. I'm having +20 years with Linux in the Enterprise. Broad and deep knowledge of infrastructures with a strong focus on Linux Able to script a bit in Perl/Python

cpalmquist
2016-03-18 13:29
@jurgen: They're having a Hackathon in NY next week. Maybe check into that.

josh
2016-03-18 19:12
has joined #general

dirk.avau
2016-03-19 10:01
has joined #general

kobigurk
2016-03-19 16:49
any plans to open the hackathon/some discussions to people who can't come to the F2F? I'm going to be in California at that timw

jaekwon
2016-03-20 06:17
hey kobi, if you have particular thoughts that you’d like to share to the F2F group, write them here and I’ll communicate them to people I see there. I’m traveling to NY, will be there Wed/Thur.

jaekwon
2016-03-20 06:18
Anyways, I’ll be there and I’ll be on slack here. Feel free to email me too.

renat-altoros
2016-03-21 01:04
has joined #general

mgarciap
2016-03-21 01:21
has joined #general

natalia_u
2016-03-21 08:31
has joined #general

kobigurk
2016-03-21 09:19
Thanks jae! I appreciate it

natalia_u
2016-03-21 11:00
Hi, anyone in NYC here? Pls join Technical intro to Open Blockchain/ Hyperledger meetup on Wed, March 23: http://www.meetup.com/Hyperledger-NYC/events/229728822/ We'll share some hands-on experience tinkering with the magic of Hyperledger

kirill.grigorchuk
2016-03-21 11:50
has joined #general

mdebeaux
2016-03-21 13:39
has joined #general

martindale
2016-03-21 19:24
@jaekwon: looking forward to seeing you at the event! Myself and Christopher Allen will be present tonight through Friday.

christopherfranko
2016-03-21 19:36
:smile:

tim.wilkinson
2016-03-22 02:10
has joined #general

arimutanen
2016-03-22 04:07
has joined #general

mgarciap
2016-03-22 12:42
@natalia_u: will it be broadcasted?

tuand
2016-03-22 13:01
has joined #general

christophera
2016-03-22 13:43
has joined #general

mdolan
2016-03-22 13:58
@mgarciap: are you on the Webex?

mgarciap
2016-03-22 14:28
I was but couldn’t stay

mgarciap
2016-03-22 14:29
Audio came late

mdolan
2016-03-22 14:36
audio should be back on

devrandom
2016-03-22 14:43
where is the webex pointer?

ry
2016-03-22 14:44
has joined #general


ry
2016-03-22 14:46
should I join that meeting?

primrose
2016-03-22 14:46
I am on it and we can hear and see the screenshare. I would join

primrose
2016-03-22 14:47
They've just started going over the OBC ref architecture

pkijowsk
2016-03-22 15:16
has joined #general

mdolan
2016-03-22 15:23
@ry: if you’re interested you can listen in, not sure it’s necessary

mdolan
2016-03-22 15:24
I think IBM’s team was looking for some help porting vagrant scripts… if you have any free time…

tuand
2016-03-22 15:36
if you want to investigate our vagrant environment, the project is https://github.com/openblockchain/obc-dev-env

wnmccrosky
2016-03-22 17:17
has joined #general

clemens.wan
2016-03-22 17:47
has joined #general

jeffgarratt
2016-03-22 18:02
has joined #general

sergeybalashevich
2016-03-22 18:09
has joined #general

agafoor
2016-03-22 18:19
Any updates from the F2F?

agafoor
2016-03-22 18:19
it would be nice, if someone can post a summary of the day at the end of the day here in the slack channel….

frankyclu
2016-03-22 18:20
has joined #general

robert
2016-03-22 19:23
has joined #general

muralisr
2016-03-22 19:25
has joined #general

s.matyukevich
2016-03-22 19:28
has joined #general

vipinb
2016-03-22 19:29
has joined #general

cbf
2016-03-22 19:35
: I’m about to re-set the hyperledger-incubator/obc-peer repository so that it is current with where IBM’s openblockchain/obc-peer is today… it will then need some work to transpose all of the openblockchain imports to reflect the hyperledger-incubator org so that the code builds… apologies if you forked the repo, you may need to rebase

oleg
2016-03-22 19:40
has joined #general

igor.lilic
2016-03-22 21:12

igor.lilic
2016-03-22 21:13
Actually :disappointed: It looks like it's all booked up

renat-altoros
2016-03-22 21:16
WEDNESDAY MEETUP (limited to 100 attendees on request of our host, New York Law School, Center for Business and Financial Law ): http://www.meetup.com/Hyperledger-NYC/events/229728822/ Address: 185 West Broadway New York, NY A few spots still left

murtuza
2016-03-22 23:53
has joined #general

cboulang
2016-03-23 07:32
has joined #general

cbf
2016-03-23 12:17
the hyperledger-incubator obc-peer and obc-dev-env repositories are ready for use and caught up with the origin repositories under openblockchain org

cbf
2016-03-23 12:18
: ^^

arielevycohen
2016-03-23 12:20
Thank you Chris!

devrandom
2016-03-23 13:42
this is the DAH HL submission repo, for the purpose of this hackathon: https://github.com/rfajta/hlp-candidate/network

devrandom
2016-03-23 13:43
please fork this repo, and use feature branches for pull requests

christophera
2016-03-23 14:04
The cryptographic technique behind Blockstream Element's Confidential Transactions is a range proof using a Pedersen commitment. https://people.xiph.org/~greg/confidential_values.txt

christophera
2016-03-23 14:14
The most mature of the selective disclosure approaches is U-Prove from Microsoft, which is being piloted in a number of EU privacy projects. The U-Prove code and associated documentation is at http://research.microsoft.com/en-us/projects/u-prove/ There are C# and JavaScript SDKs, plus the associated specifications. The specs are released under Microsoft's “Open Specification Promise” https://msdn.microsoft.com/en-us/openspecifications/dn646765#security

shemnon
2016-03-23 16:30
Here's a non financial use case ... distributed software package management: https://evertpot.com/npm-revoke-breaks-the-build/

shemnon
2016-03-23 16:30
that idea was rolling in my head but I was wondering what need would it fulfill. Apparently this one.

shemnon
2016-03-23 16:31
Also... publishing results of deterministic or validated builds.

shemnon
2016-03-23 16:32
which is really just a very niche case of the tech behind smart contracts but without the token economy.

christophera
2016-03-23 16:45
@shemnon We were working on that as one for first use cases for the #RebootingWebOfTrust project. I was also in discussion at RSA around verified credentials for "eyes on" reputation for code.

brianbehlendorf
2016-03-23 17:24
For those at the hackathon: I just got to town, I plan to be there tomorrow & Friday to be a fly on the wall, but I free up around 4:30pm, just as I suspect things are breaking up for the day. Anything planned for tonight? Are hackathon folks going to the Meetup across the river?

vjadhav
2016-03-23 17:36
has joined #general

dan
2016-03-23 17:48
Some of the Digital Asset team will be at the NY Law School meetup. @tamas presenting

zaki
2016-03-23 17:49
@dan: Link to the meet up?



brianbehlendorf
2016-03-23 18:30
Alas, it says it's full. @renat-altoros any chance you could squeeze one more in?

renat-altoros
2016-03-23 18:33
@brianbehlendorf yes, i have at least one cancellation

brianbehlendorf
2016-03-23 18:34
great! will followup in DM

mdolan
2016-03-23 19:04
In yesterday’s morning sessions, someone presented a high level architecture diagram for the current proposal. Can someone point me to who had that or could someone send it to me?

mdolan
2016-03-23 19:04
It could have been someone from IBM or DAH - I forget who presented it...


mdolan
2016-03-23 21:32
@tamas: I recall one that looked a bit more “high level”… with more functional blocks in the diagram

tuand
2016-03-23 21:44
@mdolan, check with @binhn


jeremyeder
2016-03-23 22:28
has joined #general

thivankaa
2016-03-23 23:23
has joined #general

martindale
2016-03-23 23:31
To be clear, many conversations were had today with regards to general architecture. The resulting thought, discussion, and experimentation is ongoing – including over fundamental differences in perspectives. We made much progress today on understanding these differences, but the implications remain unclear. Next steps are to continue discussions regarding interoperability protocols, including adding more detail to the various [new] additions. I'm excited to be having these discussions, but it should be clear that no formal decision has been made with regards to architecture.

mdolan
2016-03-24 01:02
Hmm… ok, I was trying to update the Hyperledger pitch deck with something we can show. If we get that slide from Binh and remove some details would it be possible to get a working version everyone’s ok with at some level? High level is fine for my needs...

jaekwon
2016-03-24 01:02
Maybe hyperledger could endorse more than one architecture. But what’s the point? Who gets to decide?

jaekwon
2016-03-24 01:03
What’s the voting power for each of us, eh. Does what we suggest matter if we’re not in the steering committee?

gengjh
2016-03-24 01:26
It would be helpful to let us understand the progress for the meet up yesterday if someone can help to post some video, meeting minutes, slides or whatever here. Thanks.

jaekwon
2016-03-24 02:08
we were all split up. i walked around group to group. we talked about smart-signatures and crypto-conditions a bunch, and some of us decided that working on standards of data models would be a good idea.

jaekwon
2016-03-24 02:09
Some others might have different takes on it.

jaekwon
2016-03-24 02:09
I talked with IBM folks, tried to find the difference between chaincode and TMSP.

jaekwon
2016-03-24 02:09
That was interesting.

jaekwon
2016-03-24 02:10
As far as I can tell, chaincode is synchronous? And it definitely puts state in the core.

jaekwon
2016-03-24 02:10
Whereas TMSP is asynchronous in pushing txs to the app and deferring decisions on state management to the app.

jaekwon
2016-03-24 02:11
Which makes it easier to integrate with existing systems.

jaekwon
2016-03-24 02:12
Good presence from DAH and IBM. They were hacking on something. I don’t know what came of that, curious to hear from that side.

jaekwon
2016-03-24 02:12
Oh I remember an early discussion where IBM and DAH were trying to create cross-compatible server/clients.

jaekwon
2016-03-24 02:14
Then there was another meetup afterwards with IBM and DAH presenting their systems to some crowd. I don’t know, wasn’t there.

thivankaa
2016-03-24 02:26
quick question are people from ripple active here?

igor.lilic
2016-03-24 02:33
@thivankaa: I believe Ripple proposed an architecture but don't have representation at the F2F

igor.lilic
2016-03-24 02:35
IBM/DAH are the only groups who both submitted a proposal and sent engineers to the F2F so their joint proposal is the one with the most legs / where most of the technical work at the F2F is focused

thivankaa
2016-03-24 02:59
sorry what does F2F stand for is it some kind of group or conference? I was wondering if ripple engineers were active on this slack group.

igor.lilic
2016-03-24 03:00
Face to Face

igor.lilic
2016-03-24 03:00
There's a technical face to face going on this week in New York

thivankaa
2016-03-24 03:05
oh thanks :simple_smile:

gengjh
2016-03-24 03:06
@jaekwon: thanks for yr update

jaekwon
2016-03-24 03:07
`IBM/DAH are the only groups who both submitted a proposal and sent engineers to the F2F` wut

jaekwon
2016-03-24 03:10
that’s basically not true.

jaekwon
2016-03-24 03:15
Blockstream was there. Tendermint was there. We made a proposal on Github.

kelly
2016-03-24 03:21
thanks for the update @martindale

kelly
2016-03-24 03:24
@jaekwon: did tendermint propose a contribution for the hyperledger project?

jaekwon
2016-03-24 03:24
sure, I’m telling everyone I meet at the F2F about this: http://github.com/tendermint/tmsp

jaekwon
2016-03-24 03:25
and telling IBM that we should make chaincode speak TMSP, or, to implement OBC as a TMSP application.

kelly
2016-03-24 03:27
tmsp seems to be the communication and journalling layer right?

kelly
2016-03-24 03:27
or tendermint core rather

jaekwon
2016-03-24 03:27
it’s similar but more general than the chaincode messaging protocol.

jaekwon
2016-03-24 03:30
I don’t know whether IBM’s and DAH’s systems are currently interoperable, but, if DAH’s system doesn’t yet run on OBC, they’ll have an easier time integrating with Tendermint, because it’s less opinionated about whether to handle state persistence.

jaekwon
2016-03-24 03:33
IBM’s proposal is interesting too. It would also be relatively easy to integrate OBC with Tendermint. It would basically make OBC really consensus-algorithm agnostic.


jaekwon
2016-03-24 03:35
Shemnon comments below that consensus is the most contentious element, and that IBM already has plugability… OBC kinda does, but TMSP does a different kind of job at it.

jaekwon
2016-03-24 03:36
For example, we define a few optional messages that applications may or may not implement. InitChain and EndBlock are optional messages… not all applications need to implement those messages, but, if they do, the application logic can mutate the validator set.

igor.lilic
2016-03-24 03:37
@jaekwon: Don't get me wrong - I want more proposals and discussions


igor.lilic
2016-03-24 03:39
Has 4 proposals listed...Ripple isn't at the event, and Monday morning only DAH and IBM spoke before the break outs; the hackathon objectives as stated on Monday were focused on those integrations and moving the joint proposal forward

jaekwon
2016-03-24 03:40
Cool. Well, we flew over from Canada and San Francisco to have a discussion.

igor.lilic
2016-03-24 03:44
No doubt - didn't mean to sweep your contributions under the table; but to be honest I didn't even know about your proposal (I've been working with the requirements break out). The readme itself seems to be the "canonical list" of proposals..not sure how that goes about being updated

jaekwon
2016-03-24 03:46
I have no idea either.

jaekwon
2016-03-24 03:46
All good, this is what Slack is for eh?

kelly
2016-03-24 03:50
todd benzies owns that github account I believe

kelly
2016-03-24 03:50
you could message him about adding your proposal

thivankaa
2016-03-24 03:51
so is the blockstream solution 'elements' using the bitcoin blockchain?

kelly
2016-03-24 03:51
no

kelly
2016-03-24 03:52
'elements' are additions to the bitcoin software that are not yet implemented on the bitcoin blockchain

martindale
2016-03-24 06:21

martindale
2016-03-24 06:22
(cc: @thivankaa ^)

dansteve
2016-03-24 07:05
has joined #general

primrose
2016-03-24 12:25
I also got quite confused as to why IBM and DAH got to present their proposals. In the beginning, I thought it was just so that people could get familiar with some chain code, any chain code to start with but when they started integrating the code to the hyperledger github... To be honest, I assumed hyperledger had decided to base its code on the IBM code. if IBM's is not the defacto solution how do you go about integrating or replacing it with other solutions later on?

primrose
2016-03-24 12:30
or maybe i am just wrong about what code exists where. i didn't get to clone anything this week so didn't check any urls closely. I am working on a lot of assumptions

yu-kang
2016-03-24 13:07
has joined #general

tamas
2016-03-24 13:57
@primrose: DAH's code complements IBM's with an API to implement workflows in financial services and supplies a non-trivial chain code.

tamas
2016-03-24 13:58
OBC is just a framework (a fabric) DAH brings it closer to a solution platform for financial services

tamas
2016-03-24 14:00
I think its concepts are useful outside our industry, but that is not to us to prove.

cbf
2016-03-24 14:00
@primrose: the code is in https://github.com/hyperledger-incubator org

cbf
2016-03-24 14:02
the work this week at the f2f is to build support that we can in fact realize what has been proposed and leverage that code as a path forward

technoprenerd
2016-03-24 14:57
has joined #general

gerstep
2016-03-24 15:03
Is there any public recording of the NYC heperledger meetup?

primrose
2016-03-24 15:05
right ok. so the code went into an incubator and not into the hyperledger git! got it. so will the other proposed codelines go into the same incubator? I imagine the plan is that when we've all got some understanding of what the technology is then we try to build the same or different scenarios using this and other chain codes and choose what works best? Assuming there is a plan... or is this jumping the gun a bit because i know there was talk of architecture as well.

gordonj
2016-03-24 15:19
has joined #general

filipe.garcia
2016-03-24 19:39
has joined #general

mberkhoff
2016-03-24 20:56
has joined #general

thani
2016-03-25 05:59
has joined #general

renat-altoros
2016-03-25 11:14
@gerstep: Bad news there is no recording uploaded yet. Good news I recorded the whole event from a couple of different phones. Will put everything together and share with everyone once I’m back in California. Stay tuned!

philipdesautels
2016-03-25 13:53
We are getting ready to start the readout and retrospective at 10 and the TSC meeting at 11

philipdesautels
2016-03-25 13:53
It will all happen on the same WebEx - please join

philipdesautels
2016-03-25 13:53
https://meetings.webex.com/collabs/meetings/join?uuid=M34GO5OTWRQRHFLBDBDIW5MCIJ-9VIB Meeting number: 198 437 157 US TOLL Access code: 198 437 157


philipdesautels
2016-03-25 14:03
Where you can find the Use Case work from the Requirements Work Group

christophera
2016-03-25 14:04
One thing this week that we've been punting on is the issue of Identity, ranging from management of private keys and wallets, hardware identity authentication requirements, nature of multisignatures and authorization, privacy and selective disclosure, ui and use case, regulatory requirements, international issues, etc. I've been working with a UN Summit http://ID2020summit.org on May 20th, and a follow on 'design workshop' on the 21st and 22nd. I'm also working with the W3C and OASIS on decentralized identifiers and keys on blockchains. I'd like to identify who is interested in a Hyperledger BOF or WG on this topic, or is interested in participating in the UN Identity Summit. Send email to me at .



martindale
2016-03-25 15:06
It would be _great_ to see support for the features available in the "periodic table of Elements", in addition to `libconsensus`: https://www.elementsproject.org/elements/ — especially Federated Peg and Confidential Transactions.

cbf
2016-03-25 15:24

cbf
2016-03-25 15:25
thanks to all for a great hackathon!

christophera
2016-03-25 15:51
Great to meet everyone! I can be reached at w & vm510/373-3216, c & txt 510/908-1066.

mitch
2016-03-25 17:19
has joined #general

martindale
2016-03-25 17:21
We're gathering for post-event festivities at the Brewhouse (again), but most importantly grabbing a bite to eat to replenish our energy after a week of hard work! Please feel free to join us.

jonathan.mohan
2016-03-25 20:08
has joined #general

robert
2016-03-25 20:23
The DAH side codebase containing the hackaton’s results is here:


arielevycohen
2016-03-25 20:40
@christophera: +1 re Identity

kobigurk
2016-03-25 21:22
hey guys, any chance you share what has been happening this week?

zhipengh
2016-03-25 23:49
has joined #general

middleton
2016-03-26 03:16
has joined #general

philipdesautels
2016-03-26 23:37
Wanted to share details on an interesting conference: The Euromoney Blockchain Forum http://fr.zone-secure.net/19106/184480/?utm_source=TZ_ELE1372_Blockchain_2016 “A programme assembled through conversation and collaboration with leading financial institutions, technology companies and regulators around the world. The Euromoney Blockchain Forum will deliver probing discussions on key over-arching issues such as regulation and KYC, while also examining specific use cases and proofs of concepts across areas such as equities or derivatives trading.”

varnaudov
2016-03-28 13:11
has joined #general

mxschumacher
2016-03-28 13:20
has joined #general

muralisastry
2016-03-28 17:18
has joined #general

strukhoff
2016-03-28 21:52
has joined #general

camillone
2016-03-29 02:26
has joined #general

cbf
2016-03-29 04:53
@kobigurk: we posted minutes of TSC call which include the readouts and audio from the last day. We hope to have a blog post by mid-week

markparz
2016-03-29 14:46
has joined #general

regramos
2016-03-29 15:03
has joined #general


mdolan
2016-03-29 18:40
@cbf: should we discuss tooling on the TSC agenda this week? It looks like the result from last week is the community is getting close to pulling code into the main repo… Not sure we’ve discussed what (if any) infrastructure the group wants to have working.

mdolan
2016-03-29 18:42
Also did anyone document the proposal for the TSC so the group can get started on an approved project? The incubator is going to be difficult to just “move over” with workflows/etc…

cbf
2016-03-29 21:17
yes - I think that the time is ripe…

cbf
2016-03-29 21:18
as for the proposal, I have it drafted and just about to send out

mattkferguson
2016-03-29 22:13
has joined #general

cbf
2016-03-30 00:10
based on our discussion on the TSC call following the hackathon is welcome to comment and discuss on the ml or slack

robtaylor
2016-03-30 13:41
has joined #general

cbf
2016-03-30 15:17
just a reminder that I've published an incubation proposal per our discussion on TSC last week. Comments welcomed. We'll take up tomorrow on TSC call

cbf
2016-03-30 16:29
please share any agenda items here or directly with me, @philipdesautels or @tbenzies thanks

cbf
2016-03-30 16:30
actually, meant to post that in #tsc

clemens.wan
2016-03-30 16:50
Is there a link to the proposal? I couldn't find it on the wiki


cbf
2016-03-30 17:17
it is the first one listed

pjholmes
2016-03-30 17:33
@cbf: Is the intent to have other incubation projects as well? How will we evaluate the various incubation projects?

cbf
2016-03-30 17:35
@pjholmes: absolutely, and each on their merits

cbf
2016-03-30 17:39
btw, @hart.montgomery suggested that I post the deck that @dan and I presented yesterday here at the Collab Summit


emsearcy
2016-03-30 18:06
has joined #general

jme
2016-03-30 18:15
has joined #general

aschneider
2016-03-30 18:36
has joined #general

philipdesautels
2016-03-30 19:00
If you are here at the Linux Foundation Collaboration Summit and you want to attend the TSC call in person, you can meet from 7-8 AM PT in Silverpeak.

kathleen
2016-03-30 19:03
has joined #general

ke4qqq
2016-03-30 19:12
has joined #general

avniagupta
2016-03-30 20:00
has joined #general

kobigurk
2016-03-30 21:17
@cbf: thanks for the TSC call reference, but seems like it's not linux friendly. are the readouts/recordings available in another platform?


kobigurk
2016-03-30 21:20
@cbf: thanks, this webex link seems to work :simple_smile:

kobigurk
2016-03-30 21:21
@cbf: oops, no, it's only the minutes recording. I was referring to the webex link inside the meeting (the recording from the F2F) - https://meetings.webex.com/cmp0401lsp13/webcomponents/docshow/docshow.do?javaEnable=false&siteurl=meetings&rnd=0.4786629642176141

kobigurk
2016-03-30 21:22
I guess I should get me a VM with IE

ry
2016-03-30 21:38
@kobigurk: http://modern.ie has free vms

kobigurk
2016-03-30 21:51
@ry: good tip, getting one

abaumhof
2016-03-31 09:10
has joined #general

cprice.onu
2016-03-31 11:41
has joined #general

cbf
2016-03-31 13:57
we are just unlocking the room

ayurkevich
2016-03-31 14:13
has joined #general

shartzel
2016-03-31 23:40
has joined #general

duncanjw
2016-03-31 23:42
has joined #general

llathieyre
2016-04-01 01:18
has joined #general

bertrand
2016-04-01 19:47
has joined #general

bernardo
2016-04-03 22:43
has joined #general

bobsummerwill
2016-04-04 02:56
has joined #general

strukhoff
2016-04-04 03:13
Hi Chris et al - Roger Strukhoff here from Altoros. I work for Renat and Andrei as Director of Research and want to grab the whitepaper by the horns and make it hyperledger-centric instead of OBC-repurposed. Any guidance on how I can get started doing this?

strukhoff
2016-04-04 03:13
Also interested in really fleshing out at least some of the nascent use cases. My thinking is to attend the Thursday call and see if I can get a direction down this path as well. Thx.

davidcosta
2016-04-04 12:13
has joined #general

jyellick
2016-04-04 14:06
has joined #general

kostas
2016-04-04 15:12
has joined #general

pjholmes
2016-04-04 15:28
@strukhoff: for the white paper, please contact @dvoell who is leading the White Paper WG. I lead the requirements WG. You are welcome to edit any of the use case documents. The use cases are listed here: https://github.com/hyperledger/hyperledger/wiki/Use-Cases. Also, we will be starting up a weekly Requirements WG meeting on Wednesday at 0800 PDT (1500 UTC).

diego_m
2016-04-04 15:57
has joined #general

strukhoff
2016-04-04 16:04
@pjholmes: Thanks, Patrick. Will first Requirements call be this week?

simon
2016-04-04 16:54
has joined #general

chetsky
2016-04-04 16:57
has joined #general

richernandez
2016-04-04 17:42
has joined #general

chetsky
2016-04-04 18:33
has anybody built/deployed from-scratch from the hl/fabric repo?

chetsky
2016-04-04 18:33
[before I thnk about attempting it]

muralisr
2016-04-04 18:40
@chetsky : some of us have … just need to adjust for ongoing changes( to doc, etc). let me know if you want help

pjholmes
2016-04-04 18:46
@strukhoff: Yes.

cbf
2016-04-04 21:19
glad to hear that... was planning to try tomorrow am

arnaud
2016-04-05 02:01
to the risk of showing how much of a noob I am, I'd like to know what this dco-bot is about. Who set that up? LF? What purpose does it serve?

kumavis
2016-04-05 03:05
@arnaud: which dco-bot

arnaud
2016-04-05 03:52
@kumavis thanks for making me feel better about not knowing. :simple_smile: I submitted a pull request to the new repo and dco-bot responded requesting for me to "sign-off" with a comment. DCO actually stands for "Developer Certificate of Origin". dco-bot simply is a mechanism asking contributors to certify that they are effectively the contributor. I figured this was it actually, it's a pretty standard practice, but don't know who set it up in this case.

kelly
2016-04-05 05:30
@cbf: I thought the decision in the last TSC was to incubate the IBM/DAH code as _one_ of the proposals to get hyperledger started

kelly
2016-04-05 05:30
now it is in the hyperledger repo with the name *fabric* and this description: >This project contains the core blockchain fabric code, development environment scripts and documents for developers to contribute fabric code or work on their own applications.

cca
2016-04-05 07:27
has joined #general

vukolic
2016-04-05 07:58
has joined #general

davidcosta
2016-04-05 10:15
@muralisr: has a decision regarding which repo contains the codebase to be looked at yet? some of the documents point to this one: 'https://github.com/hyperledger-incubator/hlp-candidate' ; however, you guys are referring to the ‘fabric’ one here 'https://github.com/hyperledger/fabric' ?

cbf
2016-04-05 12:00
please submit issues or PRs to clean up any straggler references. The home is now hyperledger/fabric - thanks

olaf
2016-04-05 12:37
has joined #general

simon
2016-04-05 12:41
@muralisr: hi

muralisr
2016-04-05 12:43
@simon : hi

simon
2016-04-05 12:44
@muralisr: does my analysis help for the bug report?

simon
2016-04-05 12:44
It wasn't quite clear to me how to fix the race condition tho

muralisr
2016-04-05 12:45
oh … I missed your comment (talk of race conditions :-) )

muralisr
2016-04-05 12:45
will look

simon
2016-04-05 12:47
yea i guess you submitted quickly after me, and therefore didn't get the mail notification

muralisr
2016-04-05 12:47
perhaps… wasn’t looking at mail at that time

cbf
2016-04-05 13:39
@arnaud, I set dco-bot up for openblockchain repos. LF has a process that we can leverage, though and then my simple bot can take a powder :simple_smile:

cbf
2016-04-05 13:40
@philipdesautels: can we please have someone put in a formal DCO check on pull requests? Thanks.

ry
2016-04-05 13:42
@cbf what do you need?

ry
2016-04-05 13:43
@cbf something like jenkins running the checks, or are you talking about some other implementation?

cbf
2016-04-05 13:45
@mdolan: said you guys had a process for checking that DCO signoff is included in any PR - my little bot only checks the initial PR. We need something like gerritt or jenkins to actually check that the signoff is included in the PR or one of the ensuing comments

ry
2016-04-05 13:49
the workflow we use for other projects is part of Gerrit (requiring signed commits). the process of getting the ability to post the patches requires signing the contribution agreement. I’m not sure how that would work with github. I’ll talk to other project admins and see if we have something I’m unaware of.

samirsadeghi
2016-04-05 13:53
has joined #general

mdolan
2016-04-05 14:01
@cbf we have a system to do that. Steve Westmoreland’s team handles it

cbf
2016-04-05 14:01
what I thought

mdolan
2016-04-05 14:01
on every commit

cbf
2016-04-05 14:01
we should get that integrated soon

cbf
2016-04-05 14:01
think my bot is still churning out requests to add where missing

cbf
2016-04-05 14:01
but does not check the actual merge

mdolan
2016-04-05 14:02
@ry: can you help ehre?

mdolan
2016-04-05 14:02
here

mdolan
2016-04-05 14:02
integrating the CLA system into Hyperledger?

ry
2016-04-05 14:08
mdolan: it requires gerrit

mdolan
2016-04-05 14:08
@ry for the CLA system or for the DCO signed-off-by requirement?

ry
2016-04-05 14:08
Gerrit is the enforcement mechanism for signed-off-by. As part of getting an LFID you have to sign the agreement

kelly
2016-04-05 14:09
@cbf: I missed the end of last week's TSC -- I thought the decision was to incubate the IBM/DAH code as _one_ of the proposals to get hyperledger started

ry
2016-04-05 14:09
so you sign the agreement when you get the account, then you sign each commit to assert you authored it

kelly
2016-04-05 14:09
now it is in the hyperledger repo with the name *fabric* and this description: >This project contains the core blockchain fabric code, development environment scripts and documents for developers to contribute fabric code or work on their own applications.

kelly
2016-04-05 14:09
Did I miss something at the end?

arnaud
2016-04-05 14:09
@kelly, I don't think you missed anything, it is an incubator

kelly
2016-04-05 14:10
oh ok, the naming seems a bit misleading

arnaud
2016-04-05 14:10
the description reads "Blockchain fabric incubator code"

kelly
2016-04-05 14:10
will future proposals be called fabric2, fabric3, etc?

arnaud
2016-04-05 14:11
but I agree the readme should reinforce that

arnaud
2016-04-05 14:11
I don't know that, don't know how the name was chosen

kelly
2016-04-05 14:12
gotcha, ok thanks for the info

kelly
2016-04-05 14:12
I had always seen it called IBM/DAH proposal

kelly
2016-04-05 14:12
so wasn't sure if something had changed

arnaud
2016-04-05 14:13
well, it's no longer just IBM-DAH proposal, it's now an Hyperledger incubator project

kelly
2016-04-05 14:13
right

arnaud
2016-04-05 14:14
but I think Christopher Allen volunteered to provide some text that would be used to clearly state what the status of the project is

mdolan
2016-04-05 14:14
@kelly I thought fabric was generic enough… nothing really more than that.

kelly
2016-04-05 14:14
yes I recall @christophera reinforcing that it should be clearly marked incubator

arnaud
2016-04-05 14:14
@cbf dco-bot confused me in that it provided no guidance whatsoever as to what info was expected in the sign-off

kelly
2016-04-05 14:14
@mdolan: thanks Mike, makes sense, I'm just wondering how we'll name future proposals

mdolan
2016-04-05 14:15
yeah, would be helpful to come up with a plan for naming at some point

kelly
2016-04-05 14:15
e.g. if there is a repo in there called 'blockchain' that would be a bit deceptive

kelly
2016-04-05 14:15
so need some way to refer to the different proposals

mdolan
2016-04-05 14:15
On the first TSC call I mentioned coming up with a template

christophera
2016-04-05 14:15
@cmickeyb and I are working on README about what incubation means

mdolan
2016-04-05 14:16
for project proposals, the templates we use normally include a name for the project

arnaud
2016-04-05 14:17
@christophera As I said on the call last week I think we should fix the definition in the project lifecycle document if needed and link to that definition


shemnon
2016-04-05 14:27
I think what @kelly is getting at is that the naming convention implies it is mature than it is. I.e. a git repo that is not mature should be named as such and movement from incubation to mature involves a repo name change.

shemnon
2016-04-05 14:28
That is what I liked about the hypwrledger-incubator group, it made it clear that those repos were not mature.

shemnon
2016-04-05 14:29
Mature according to the life cycle doc.

arnaud
2016-04-05 14:31
@shemnon: changing the name of the repo is a real pain, it has ramifications in the whole code and documentation as we are seeing from the current move

arnaud
2016-04-05 14:31
there are other ways we can communicate the state of the repo

shemnon
2016-04-05 14:33
Apache does such movements for every project. The fact it has some extra level of effort imho adds a good check to see if it is ready.

shemnon
2016-04-05 14:35
I agree with what @kelly is implying with his question:, the repo and naming convention implies it is mature and ready and the settled solution when it is not.

shemnon
2016-04-05 14:36
Despite what the readmes say. Those don't show up in commit streams that often.

shemnon
2016-04-05 14:36
It may become the mature ready settled solution, but it is not that today.

arnaud
2016-04-05 14:37
I don't think anybody claims otherwise

simon
2016-04-05 14:37
I suppose migrating the repository itself isn't too big of a deal. However the way go handles imports means that external projects that may be already underway (and which nobody knows about) will have to do the same. Distributed (compounded) pain

shemnon
2016-04-05 14:38
When we have a mix of mature and incubated projects we will see this issue again if we don't provide some name based indication.

arnaud
2016-04-05 14:47
you can edit a post after you sent it

shemnon
2016-04-05 14:49
I don't see how on Android. I can delete however.

ry
2016-04-05 14:51
long press, no?

shemnon
2016-04-05 14:51
Yes long press. That UX is hard to discover

cbf
2016-04-05 15:04
: a bunch of you have joined the https://github.com/orgs/hyperledger/people as members… github by default makes org membership private. You need to opt-in to make it public or no one will know you’re a member. Please visit the link above and make your membership public so that we can show our support to the world

cbf
2016-04-05 15:05
if you haven’t been invited, send a slack DM to @ry and he will get you invited

kletkeman
2016-04-05 15:35
has joined #general

cbf
2016-04-05 15:41
I’ve just created a # channel for discussion related to the fabric project (incubating)

mitchell
2016-04-05 15:47
has joined #general

kletkeman
2016-04-05 15:54
@cbf: How to opt in at that link? I don't see any buttons to press if your name does not show in the first place ...

ry
2016-04-05 16:12
kletkeman: do you not see a green “join channel” button at the bottom? which client are you using?

kletkeman
2016-04-05 16:54
@ry: I'm not talking about channels on this app ... but rather the people as members opting in at that github link ... I can't figure out how opting in works. (Edit: The green join channel button at the bottom is a terrible UI choice. But I did see it.)

ry
2016-04-05 17:03
kletkeman: sorry, I misunderstood.

ry
2016-04-05 17:15
If you have sent me a DM and not gotten a reply, please DM me again. I’m almost certain I have everyone up to this point.

jachtermann
2016-04-05 17:30
has joined #general

kurtz
2016-04-05 17:42
has joined #general

rgupta1
2016-04-05 17:56
has joined #general

kelly
2016-04-05 18:16
is # a public channel?

kelly
2016-04-05 18:17
nevermind, just got to it by clicking that link :simple_smile:

ghaskins
2016-04-05 18:24
@kelly: fyi you can click the “CHANNELS(11)” link in the left sidebar to see all channels exposed to your credentials…by default slack only shows channels that you have been recently involved in

kelly
2016-04-05 18:25
got it thanks! so many channels I didn't know about :simple_smile:

dileban
2016-04-06 04:29
has joined #general

cbf
2016-04-06 14:23
@all looking for volunteers to work with the LF Infrastructure team on integrating tooling such as gerritt, travis, etc etc for our CI pipeline. This is one of the more important aspects of any open source project, and a good opportunity to get engaged. PM me or @philipdesautels if interested.

mdolan
2016-04-06 15:04
+1 on importance - please help us what you would like to have in place

gerrit_detroyer
2016-04-06 16:40
has joined #general

rhm2k
2016-04-06 18:26
has joined #general

vasjain
2016-04-06 18:50
has joined #general

ghaskins
2016-04-06 19:43
Hi all, FYI, I had an outstanding proposal on OBC for a tooling enhancement…. I just “rebranded” it to the HL tree, which you can read about here: https://github.com/ghaskins/hlcc

ghaskins
2016-04-06 19:43
i still need to figure out what the HL/LF official proposal mechanism is and follow that, I just wanted to get eyeballs on it ASAP

cbf
2016-04-06 21:02
@ghaskins: use the proposal I submitted last week as a template https://docs.google.com/document/d/1XECRVN9hXGrjAjysrnuNSdggzAKYm6XESR6KmABwhkE/edit

ghaskins
2016-04-06 21:03
@cbf: awesome, thanks

ghaskins
2016-04-06 21:03
right now, the code isnt ready for merge consideration, its still WIP….is a WIP like proposal process covered in there already?

ghaskins
2016-04-06 21:03
or would that have a different workflow

cbf
2016-04-06 21:04
yes, would classify this as an incubation proposal

ghaskins
2016-04-06 21:04
perfect, thanks

vipinb
2016-04-06 21:08
@cbf now is the time to get the google docs proposal polished up and made available as template for use by guys like @ghaskins


cbf
2016-04-06 21:18
@vipinb: I want to bring the template forward for approval tomorrow with the life-cycle

cbf
2016-04-06 21:18
can you please change “author” to “sponsor” as I did? I think that was basically the only change I felt needed to be made

vipinb
2016-04-06 21:27
@cbf this change has been done

cbf
2016-04-06 21:43
thanks!

ghaskins
2016-04-06 22:16
do we know who controls the “hyperledger” dockerhub?


ghaskins
2016-04-06 22:17
I am attempting to fulfill the request here: https://github.com/hyperledger/fabric/pull/994

ghaskins
2016-04-06 22:17
specifically: "@ghaskins could you also change the location +NAME=openblockchain/baseimage to +NAME=hyperledger/baseimage” from @binhn

ghaskins
2016-04-06 22:18
but it seems someone is already managing the /hyperledger namespace on dockerhub, so I wont be able to rebrand the OBC images until that is resolved

silliman
2016-04-06 23:00
has joined #general

harrijk
2016-04-06 23:04
has joined #general

cbf
2016-04-06 23:51
@ghaskins: @tamas may know… if it is DAH, then we should have that transferred to the LF - Tamas, please work with @philipdesautels

ghaskins
2016-04-07 00:00
thank you @cbf

chetsky
2016-04-07 00:40
does anybody know how to fork the "fabric" repo, in such a way that the wiki comes with it (or to just fork the wiki) so I can edit the wiki and make changes?

muralisr
2016-04-07 00:47
@chetsky: there’s a copy-clipboard on the page which says https://github.com/hyperledger/fabric.wiki.git

muralisr
2016-04-07 00:47
try that ?

chetsky
2016-04-07 00:47
yeah, I can -clone- it.

chetsky
2016-04-07 00:47
but I need to -fork- it, to modify, create a PR, eh?

chetsky
2016-04-07 00:47
Looking around on the web, that isn't really posible

muralisr
2016-04-07 00:47
ok

ghaskins
2016-04-07 00:50
@chetsky: afaik, the wiki doesn’t act like a normal git workflow: it is versioned but you edit-in-place ala a typical wiki

chetsky
2016-04-07 00:50
so no clone, no push

chetsky
2016-04-07 00:50
just the local editor

ghaskins
2016-04-07 00:50
not to my knowledge

chetsky
2016-04-07 00:50
<sigh>

chetsky
2016-04-07 00:50
ah, well.

chetsky
2016-04-07 00:50
thank you!

ghaskins
2016-04-07 00:51
oh wait

ghaskins
2016-04-07 00:52
oh, nm, i just discovered the clipboard thing you guys already discussed

juan
2016-04-07 01:34
Question regarding OpenBlockChain. For testing purposes, I have created a tokenized assets application atop OpenBlockChain. I used ibm-blockchain-js to access the chain. It works as expected. But it’s missing the ability to display previous owners of an asset, which is important for this type of application. I need the state history for that. Is there a way to get that currently? Or if that's not yet implemented, what is the wisdom on how that should be derived?

chetsky
2016-04-07 02:25
Juan, think about how you would do this in a real database

chetsky
2016-04-07 02:25
in a real database, you would NOT have access to the tarn-log, right?

chetsky
2016-04-07 02:25
tran-log

chetsky
2016-04-07 02:26
it's true that in some blockchains, they give access to the tarn-log. E.g. in BTC. But that's b/c they don't understand databases.

chetsky
2016-04-07 02:26
Such access means that you can never prune the log, and cannot bound the memory working-set of the application.

chetsky
2016-04-07 02:26
all that's a way of saying, I think you should not expect tarn-log access.

chetsky
2016-04-07 02:26
HOWEVER< there is a standard way of solving this problem

chetsky
2016-04-07 02:27
Basically, you want to have a historical table.

muralisr
2016-04-07 02:33
And there are access related issues in progress (eg 961 , 845 etc ) that should help with that

chetsky
2016-04-07 02:40
what's 845?

chetsky
2016-04-07 02:40
don't find it in issues

muralisr
2016-04-07 02:47
its a PR

chetsky
2016-04-07 03:00
ah

chetsky
2016-04-07 03:00
okey

chetsky
2016-04-07 03:00
don't find it in prs either

chetsky
2016-04-07 03:01
anready merged?

chetsky
2016-04-07 03:01
already

muralisr
2016-04-07 03:01
let me make sure :simple_smile:

muralisr
2016-04-07 03:01
yes already merged but its a work in progress all the sam

chetsky
2016-04-07 03:02
this is algeno's PR for access control, right?

chetsky
2016-04-07 03:02
angelo

muralisr
2016-04-07 03:02
yes

chetsky
2016-04-07 03:02
ok

dulcinea
2016-04-07 06:14
has joined #general

mandler
2016-04-07 06:24
has joined #general

vita
2016-04-07 06:27
has joined #general

tamas
2016-04-07 08:03
@chetsky: pruning of transaction log is addressed in Satoshi's whitepaper, the first thing you should read before critizising Bitcoin. https://bitcoin.org/bitcoin.pdf Section 8.

tamas
2016-04-07 08:17
It is the most important by-product of the UTXO model, that transactions that are referenced can be removed from the transaction log while preserving audit-ability.

pierre_h
2016-04-07 08:40
has joined #general

tingey
2016-04-07 08:53
has joined #general

simon
2016-04-07 09:59
tamas: but that means that the blockchain (with utxo "metadata") can not infinitely used for historical information

cattoire
2016-04-07 10:09
has joined #general

tamas
2016-04-07 10:55
@simon Pruning is optional and can be selective by any external criteria. E.g. a node might decide to keep entire log for transactions it is involved in, while pruning all unrelated and already referenced transactions.

simon
2016-04-07 10:56
makes sense

chetsky
2016-04-07 11:17
Tamas, this is true for -bitcoin-. It's true b/c in bitcoin, inputs are -consumed-.

chetsky
2016-04-07 11:17
but in OBC< they're -not-

chetsky
2016-04-07 11:18
So the possibility of refernce to past trans in the log intrinsically implies no ability to prune.

chetsky
2016-04-07 11:18
even in BTC, if you allow reference to STXOs, you cannot prune without changing application behaviour

tamas
2016-04-07 11:24
@chetsky: yes it is true for Bitcoin but not because - as you said - they would not understand databases. yes it is not true for OBC, maybe because they do not understand blockchain?

tamas
2016-04-07 11:26
jokes by side. I think OBC misses an important design decision here. We will I hope fix.

chetsky
2016-04-07 11:33
@tamas we can disagree on this, but I claim that what @juan is asking for, is arbitrary historical look-back at trans. In BTC it would b e"please show me all trans over $10000, paid by chet". BTC's log-pruning is precisely the same as any reclamation in a log-structured store -- trans whose results are superseded, may be removed. But those results aren't superseded for @juan's purposes.

chetsky
2016-04-07 11:34
at least, that's my claim

simon
2016-04-07 11:35
yea, the decision on pruning here is dictated by the application

tamas
2016-04-07 11:36
What is reclaimed is not defined by Bitcoin, rather how you reclaim while preserving audit-ability.

simon
2016-04-07 11:37
and given that the application here is the chaincode, which needs to execute deterministically, this implies that pruning needs to be done consistently across all nodes

simon
2016-04-07 11:37
or, if you don't want to limit yourself that way, have the chaincode maintain its own history state

tamas
2016-04-07 11:38
@simon I disagree with the notion, that the application was defined by chaincode. Chaincode is a building block for the application, quite similar to stored procedures.

simon
2016-04-07 11:41
yes, that's semantics of what is the application. in general I agree that the application exists outside and inside the chaincode, and these components communicate via the fabric

simon
2016-04-07 11:44
what I wanted to get to is that for a given chaincode, all nodes need to prune their logs the same way. Now you could create some complex interface that allowed the chaincode to configure this pruning for its own data, or you could just tell chaincode developers that they have to persist their own historical data.

simon
2016-04-07 11:46
and I guess that's where your preserving auditability point comes in - in pure UTXO, the data structure retains auditability of all history items (those that have not been pruned), while chaincode copying data to a history "table" loses this direct data-based auditability

tamas
2016-04-07 11:50
I do not see why nodes using same chaincode would have to prune same transactions. Bitcoin's script is a chaincode, as we demonstrated on the Hackathon, the decision which tx can be pruned is not linked to that.

jamie.steiner
2016-04-07 11:52
I think what is required for "auditability" may vary a lot for different parties in different jurisdictions. To me, it seems inevitable that some off-blockchain persistence of data or events will be required.

tamas
2016-04-07 11:54
One of the selling points of a blockchain is audit-ability. The blockchain has to hold proofs, not necessarily the data itself. The block chain storage can however be pruned (trimmed) of transactions you do not care, such that these deletions do not break the proofs.

simon
2016-04-07 11:54
tamas: yes, because you store the UTXO information as state

simon
2016-04-07 11:55
but doesn't that already break the simple auditability?

tamas
2016-04-07 11:56
UTXO is implied by the log even if log is pruned. UTXO storage is merely a cache if it exists at all.

jamie.steiner
2016-04-07 11:57
As a thought experiment, are there categories of events that must not be recorded in the blockchain, but must be auditable later? what about something like failed transactions: you need a record of why they weren't executed, or similar.

simon
2016-04-07 11:58
right. in fabric, you can only prune a prefix, but not the sides (merkle tree for UTXO) of the blockchain

simon
2016-04-07 11:58
because the UTXO transactions are opaque data in the chain

gennady.laventman
2016-04-07 12:33
has joined #general

cbf
2016-04-07 12:54
I’m really encouraged by the great level of engagement I am beginning to see here in Slack!

vukolic
2016-04-07 13:05
@jamie.steiner: This could be accommodated. It is very well possible to have a "Raw Ledger" (RL) which would contain, e.g., information about failed transactions and such a RL would be made auditable. Blockchain (the "real" ledger) could be then seen as a filtered version of the RL, once system-level events and failed-transactions are filtered out.

simon
2016-04-07 13:17
cbf: did we get a slackin by now? the whole invite thing makes it feel a bit elitist

cbf
2016-04-07 13:18
@simon the LF team are working on it

simon
2016-04-07 13:19
fantastic!

satheesh
2016-04-07 13:49
has joined #general

mccox
2016-04-07 14:04
has joined #general

kelly
2016-04-07 14:34

simon
2016-04-07 14:35
nice

pvishnum
2016-04-07 14:38
has joined #general

middleton
2016-04-07 14:39
Regarding https://github.com/IntelLedger ... Thanks for the great questions in the TSC call this morning.

middleton
2016-04-07 14:40
Feel free to send more questions on the intel ledger slack...

middleton
2016-04-07 14:40
ping to be added.

kelly
2016-04-07 14:41

middleton
2016-04-07 14:41
Or of course reach out to any of the intel folks in the HL TSC.

rittickgupta
2016-04-07 14:42
has joined #general

simon
2016-04-07 14:43
another slack!? oh noes

middleton
2016-04-07 14:44
They can't be stopped. :wink:

wkulhanek_ibm
2016-04-07 14:56
has joined #general

amundson
2016-04-07 15:10
has joined #general

mrshah
2016-04-07 15:11
has joined #general

dan
2016-04-07 15:26
Would it make sense to consolidate all these slacks into channels here? Save on the invites and cross orgs

simon
2016-04-07 15:27
i think it would

sheehan
2016-04-07 15:33
@cbf: could you add @es.ibm.com to this slack? Should we setup an ‘invite’ channel where we can post additional domains we need to add until the LF has the invite process in place?

cbf
2016-04-07 15:34
@tbenzies: ^^ thanks

cbf
2016-04-07 15:35
I set up #

cbf
2016-04-07 15:37
I also set up # for those who would like to participate/contribute to getting our infrastructure tooling set up and running smoothly

vaniprasad_dtcc
2016-04-07 15:43
has joined #general

kelly
2016-04-07 15:44
@sheehan: done

juan
2016-04-07 15:52
@chetsky @tamas @simon @jamie.steiner: thanks for the reply and discussion! A few thoughts: 1) In my tokenized assets application I only need the history of a single chaincode, not the entire blockchain. I think this is a very common case. 2) In my view, auditabiltiy is pretty much the whole point of the blockchain. The Merkel tree provides proof in plain sight of all the participants of the derivation of the current state. Thus everyone can agree on it. Other functions layer atop this one main function that the Merkel tree provides. 3) I haven't thought this through completely, but I've been mulling over whether it would be useful to have some kind of heirarchical auditabiltiy, where a useful proof can be performed for only the subset of the tree relating to the interests of a subset of participants. Thus these participants can convince themselves of the correctness of their state without needing to audit the entire tree. And without looking into everyone else's business. Consider an architecture where each chaincode has it's own Merkel tree. The state transitions for that chaincode could be audited without reference to transactions or states of other chaincodes. Thus a chaincode's entire history could be derived, rather than relying on a saved DB. Hashes on this chaincode Merkel tree would be posted to the main tree. In fact, the main tree could consist solely of hashes without any transaction content. Fully proving any chaincode state up to the current blockchain hash would require only this relatively compact global tree.

simon
2016-04-07 15:54
interesting

mdolan
2016-04-07 15:55
@sheehan: http://es.ibm.com has been added

arnaud
2016-04-07 16:35
I've put the project lifecycle and proposal template on the wiki

arnaud
2016-04-07 16:36
@vipinb: you may want to have a quick glance to check that I didn't screw up any formatting in the process https://github.com/hyperledger/hyperledger/wiki/Proposal-Template-for-a-Hyperledger-Improvement-Project-%28HIP%29

dan-z
2016-04-07 16:47
has joined #general

christophera
2016-04-07 17:05
I'm a bit confused on Hyperledger call schedules and calendar. There doesn't seem to be a calendar on the community page, and each meeting is not announced to email lists with an advance agenda each week like the other standards organizations I work with.

christophera
2016-04-07 17:05
This resulted in this morning being late for the TSC call.

christophera
2016-04-07 17:06
I'm trying to set up a first call for an Identity WG using a Doodle ( https://doodle.com/poll/dp6xqqpm75e6za2t ) but I don't know what times are already reserved by other Hyperledger calls, and once we set a time, where to post it so that others don't choose the time we set :wink:

cbf
2016-04-07 17:11
thanks @arnaud !

sheehan
2016-04-07 17:15
@juan: Good question. We pondered that same idea (a merkle tree per chaincode) a long time ago, but I believe it was discarded due to potential performance concerns. I’m open to exploring again though. @chetsky usually challenges the need for a merkle tree. If everyone has the same transaction log via the blockchain, (and we know the contract is deterministic) why would you not trust your node to have the correct state?

simon
2016-04-07 17:16
i guess it is about other nodes trusting the data they get from you

simon
2016-04-07 17:17
i.e. how could a new node trust the state you hand over, if that state is not part of the block chain?

simon
2016-04-07 17:17
with mvcc, that may be different, and a node could just play forward all deltas (slow)

sheehan
2016-04-07 17:17
yup, was going to suggest that but it could be slow

sheehan
2016-04-07 17:18
@chetsky: gave another solution which I forget … maybe he could chime in with his solution

cbf
2016-04-07 17:40
@christophera your idea for a calendar is a good one, especially now that we are starting to have more subgroups with calls/meetings. @philipdesautels Is there a google calendar that people might have read-only access to see what is going on when and use for planning?

christophera
2016-04-07 18:20
I definitely urge WG chairs to create advance agendas and call information and at least send to the appropriate email list. I know it can be repetitive, but it is best practice from other standard orgs. Event notifications require multiple channels.

jmeis
2016-04-07 18:26
has joined #general

pjholmes
2016-04-07 19:18
@binhn: @ghaskins: As fabric is only one incubator project, and there will likely be others, I think we need a way to carve out namespaces on docker, vagrant, launchpad, etc. for multiple incubation projects (if they are going to be in a hyperledger namespace). For example hyperledger/fabric. Thoughts?

ghaskins
2016-04-07 19:21
@pjholmes: overall agree, though I struggle to understand where you see the docker/vagrant/launchpad stuff being broken out from the current fabric incubator

ghaskins
2016-04-07 19:22
possibly the vagrant part, as that is what OBC had originally too (obc-peer.git and obc-dev-env.git)

ghaskins
2016-04-07 19:22
but it seems the docker parts are somewhat integral

ghaskins
2016-04-07 19:23
I would also mention that a few things got easier on the fabric/devenv front once we integrated peer+devenv, so I wouldnt be a huge fan of seeing them split back out again

ghaskins
2016-04-07 19:24
oh…(lightbulb goes off)

ghaskins
2016-04-07 19:24
i think I see what you are getting at now

ghaskins
2016-04-07 19:24
you arent talking about http://github.com namespaces, rather, the image hosting services

ghaskins
2016-04-07 19:24
yes, i agree

ghaskins
2016-04-07 19:24
sorry for being obtuse

ghaskins
2016-04-07 19:25
yes “hyperledger/baseimage” on atlas is probably not fine grained enough

ghaskins
2016-04-07 19:25
I am working on that patch right now, so open to suggestion

christophera
2016-04-07 19:25
So as well all come together to collaborate in Hyperledger, we each bring with us words and languages from our communities of origin that are often different than that used by other communities. Some words are completely different, but in some cases there is the equivalent of "100 words for snow" problem where one group bundles the complexity into a single word or phrase, whereas other expose the complexity by having different words for everything.

ghaskins
2016-04-07 19:26
wonders if atlas/dockerhub have a hierarchical namespace

christophera
2016-04-07 19:27
I personally found quite a few differences in language during the F2F, as well as different underlying mental models. For instance the words verification, validation, and confirmation where not all used the same way. What were the words or models that you found you had to learn or translate for others?

christophera
2016-04-07 19:30
Some other words — I interpreted "incubation" a different way than it appears to be how we use it. Even words that we think are in common like decentralize appear to have some subtle differences from the different communities that are collaboration.

kelly
2016-04-07 19:33
@christophera: I think some defined nomenclature for the various roles in the system would be good as well

kelly
2016-04-07 19:33
for instance, we often use transactor, validator, and observer

kelly
2016-04-07 19:34
in bitcoin that would be a light wallet, a miner, and a full node

sheehan
2016-04-07 19:35
+1 @kelly Is there a glossary for the IntelLedger? There is one for Fabric at https://github.com/hyperledger/fabric/blob/7c348242a5ee8c8d08a7e8c95a5393bdce7b277d/docs/glossary.md. It would be great to try to merge some of these terms into a common glossary or matrix if possible

kelly
2016-04-07 19:43
@sheehan: there is not, but probably something we should add to the ever-growing todo list

ghaskins
2016-04-07 19:51
@pjholmes: any thoughts regarding hyperledger/fabric “baseimage” names under the hyperledger namespace on atlas/dockerhub?

ghaskins
2016-04-07 19:52
right now i have a prototype as “hyperledger/baseimage” but to @pjholmes’ point, that isn’t specific enough to allow other projects to coexist

jyellick
2016-04-07 19:54
@ghaskins: Not 100% sold on the idea, but `-` seems to be allowable in docker images, could it be "hyperledger/fabric-baseimage" etc.?

ghaskins
2016-04-07 19:54
propose hyperledger/fabric-baseimage

middleton
2016-04-07 19:55
@ghaskins how about "proposal1" or "incubated1"

ghaskins
2016-04-07 19:55
opps, sorry @jyellick crossed messages, heh

ghaskins
2016-04-07 19:56
@middleton: not a bad idea to incorporate status, though might be helpful to have more context like project name (e.g. hyperledger/proposal1-fabric-baseiamge

ghaskins
2016-04-07 19:56
as I suspect there will be other repos that arent strictly “fabric” proposals

ghaskins
2016-04-07 19:57
for instance, that toolchain I am working on could conceivably be something like hyperledger/hlcc…i would imagine other proposals might be similar where they are adjunct to the fabric

dan
2016-04-07 20:06
Hi All, what was the issue with the hyperledger namespace on docker/docker hub?

dan
2016-04-07 20:07
I don't believe Digital Asset controls it but happy to look into it and relinquish, if so

ghaskins
2016-04-07 20:12
@dan: in this context, I was asked to rebrand some of the obc stuff we had: e.g. https://atlas.hashicorp.com/obc/boxes/baseimage to https://atlas.hashicorp.com/hyperledger/boxes/baseimage

ghaskins
2016-04-07 20:13
we also had this dockerhub https://hub.docker.com/r/openblockchain/baseimage/, but couldnt move it over to “hyperledger” because the org already existed

ghaskins
2016-04-07 20:13
not sure who controls it

ghaskins
2016-04-07 20:14
as a secondary discussion, we are also trying to sort out the best name under the hyperledger namespace, as “baseimage” is too generic when there might be other proposals under the hyperledger umbrella

dan
2016-04-07 20:14
hmm

dan
2016-04-07 20:14
Joined March 2016

dan
2016-04-07 20:15
Don't think that's us, could just be a squatter after the announcement, or someone with good intentions

dan
2016-04-07 20:15
Will check with our team though

ghaskins
2016-04-07 20:15
ok

ghaskins
2016-04-07 20:16
on the atlas front, i created the org and assigned ownership to @sheehan. I’ll leave it to the TSC to sort out additional roles

ghaskins
2016-04-07 20:16
im happy to stay on to help curation, also understand if that is deemed inappropriate

bcbrock
2016-04-07 20:18
Until Docker understands machine architecture, I would like to see all Docker images tagged with their architecture, e.g., x86-fabric-baseimage. ARM, POWER, and Z are all first-class architectures, there’s more to the world than X86.

ghaskins
2016-04-07 20:18
@bcbrock: excellent point, ill incorporate that into the patch being worked on

wizard
2016-04-07 20:18
has joined #general

ghaskins
2016-04-07 20:19
at least to lay the ground-work to tag x86

ghaskins
2016-04-07 20:19
not necessarily to generate all the other $arch :wink:

bcbrock
2016-04-07 20:19
Yes, those of advocating the others can do that work

paulojrmoreira
2016-04-07 20:24
has joined #general

mdolan
2016-04-07 20:43
I have contacts at Docker if someone is squatting on the Docker hub

jeffgarratt
2016-04-07 21:14
@ghaskins: @jyellick any issue with hyperledger/fabric/baseimage? Or is single slash only allowed?

ghaskins
2016-04-07 21:15
it doesnt appear to support hierarchy

jeffgarratt
2016-04-07 21:15
shoot, then the ..-... model may need to suffice

ghaskins
2016-04-07 21:15
at least, not on atlas

ghaskins
2016-04-07 21:15
not sure about dockerhub

ghaskins
2016-04-07 21:16
yeah, i understand @middleton’s point about the incubator/proposal status, but I am inclined to vote for “hyperledger/fabric-baseimage”…we already have precedent for that namespace in both github and slack

zhipengh
2016-04-08 01:14
Hi, I've sent a question on hlp-discuss mailinglist, although the question might be preliminary, would appreciate some feedback from you guys : )

christophera
2016-04-08 03:29
The Doodle calendar poll at https://doodle.com/poll/dp6xqqpm75e6za2t for the first Identity WG call appears to be settling on 11am PDT next Friday April 15th. However, I'm not sure give the interface if some people may be confused and not realize the time is 2pm EDT. So if you are interested in attending but were confused on time zone, go back and edit your Doodle answer. Thanks!

luca.schiatti
2016-04-08 08:35
has joined #general

baohua
2016-04-08 13:09
has joined #general

baohua
2016-04-08 13:10
morning, everyone~

zhipengh
2016-04-08 13:12
evening :simple_smile:

aalbanes
2016-04-08 13:15
has joined #general

baohua
2016-04-08 13:19
I check the project code and seems there’s no Dockerfile to build an image, anyone has plan to create one? Saw lots of instructions in several docs and files.

ghaskins
2016-04-08 13:26
What is it you are trying to do?

ghaskins
2016-04-08 13:27
most of the Docker stuff is built dynamically based on yaml configuration, so you might not see a literal “Dockerfile” if you search at the filesystem level

ghaskins
2016-04-08 13:28
so, theres a chance what you are looking for is already available

baohua
2016-04-08 13:30
great, then i guess we should have one image that can serve as various roles with different yaml config.

baohua
2016-04-08 13:30
that will make everyone to get started very quick and simple

tuand
2016-04-08 13:31
@baohua are you talking about the hyperledger/fabric code ?

baohua
2016-04-08 13:32
yes, i notice that it mostly is easy to try with vagrant, but no simple dockerfile to have a runnable container :simple_smile:

tuand
2016-04-08 13:34
look at the examples in fabric/consensus/docker-compose-files or in fabric/bddtests

tuand
2016-04-08 13:35
you will still need vagrant but these docker files take care of most of the config needed

baohua
2016-04-08 13:36
yes, i found them, thanks tuand!

simon
2016-04-08 13:36
maybe we should move the peer build via test into a righteous dockerfile?

baohua
2016-04-08 13:37
i suggest so, people get used to pull image and have a quick try.

baohua
2016-04-08 13:38

tuand
2016-04-08 13:40
there's 2 dockerfiles one for the fabric server in consensus/docker-compose-files and one for the member services server in /membersrvc

tuand
2016-04-08 13:40
@boahua, you're thinking about docker images though

tuand
2016-04-08 13:40
sorry typo @baohua

baohua
2016-04-08 13:44
sure tuand:)

mcrafols
2016-04-08 14:30
has joined #general

manish-sethi
2016-04-08 14:59
has joined #general

suma
2016-04-08 15:08
has joined #general

mcrafols
2016-04-08 15:23
hi! thank you all for your support here! I wanted to ask a question regarding the CA. Where should anyone designing a BC network put it? The CA needs to run in someone's server, if all the servers are owned by non-trusted peers where should this CA run? Having in a server where some peer could "reach" it doesn't make the whole BC vulnerable?

rbuysse
2016-04-08 15:30
has joined #general

toddsjsimmer
2016-04-08 16:55
has joined #general

keoja
2016-04-08 17:06
has joined #general

jeaha
2016-04-08 17:09
has joined #general

john.d.sheehan
2016-04-08 17:27
has joined #general

beauson45
2016-04-08 17:52
has joined #general

neilmack
2016-04-08 18:06
has joined #general

anya
2016-04-08 20:24
has joined #general

athornburg
2016-04-08 21:44
has joined #general

gliptak
2016-04-08 22:24
has joined #general

sheehan
2016-04-09 01:20
@mcrafols: There’s an issue open at https://github.com/hyperledger/fabric/issues/899. I think some people are looking into it. @binhn may have more detail

binhn
2016-04-09 15:39
@mcrafols: @sheehan For now it is a temporarily standalone service to work out the security and identity flow. It will be decentralized as a system chaincode. New member registration is submitted as an Invoke Transaction to the bc network.

gengjh
2016-04-09 16:56
@binhn: :+1:

kboda
2016-04-11 07:22
has joined #general

pralhad
2016-04-11 08:23
has joined #general

akakoudakis
2016-04-11 09:51
has joined #general

yacovm
2016-04-11 12:57
has joined #general

mcrafols
2016-04-11 13:24
@sheehan: @binhn thanks! What if my network had all the necessary VP and users from the beggining and the CA wasn't needed to enroll any other user after the initial set up, could the CA be shut down after the set up without affecting the correct behavior of the network?

praveen.j
2016-04-11 13:52
has joined #general

jarviss
2016-04-11 13:54
has joined #general

richernandez2
2016-04-11 14:12
has joined #general

cavok
2016-04-11 14:58
has joined #general

gregt
2016-04-11 15:09
has joined #general

sbarclay
2016-04-11 16:01
has joined #general

dfeygin
2016-04-11 16:59
has joined #general

mburch
2016-04-11 17:01
has joined #general

jatinderbali
2016-04-11 17:02
has joined #general

jkirke
2016-04-11 18:19
has joined #general

vmukkavilli
2016-04-11 20:56
has joined #general

christophera
2016-04-12 05:18
I've not heard back from @philipdesautels about the putting the identity meeting on a calendar, and how to get the webex to work. Who else from Linux Foundation can we talk to about this? We have selected next Friday, April 15, 2016 11:00 AM – 12:00 PM (PDT) / 2:00 PM - 3:00 PM (EDT) as the final option(s) for the Initial Hyperledger Identity WG call. 14 said they could make it, 4 could not.

adc
2016-04-12 06:32
has joined #general

binhn
2016-04-12 13:00
@christophera: have you tried @tbenzies?

kelly
2016-04-12 14:08
@tbenzies: is the marketing committee meeting?

kelly
2016-04-12 14:08
still waiting for an organizer to join...

maurice.collins
2016-04-12 14:37
has joined #general

ayo
2016-04-12 17:34
has joined #general

amcpherson
2016-04-12 19:10
has joined #general

charleycooper
2016-04-12 20:01
has joined #general

ghbonneville
2016-04-12 20:56
has joined #general

bruno.ciscato
2016-04-12 21:46
has joined #general

bastrove
2016-04-13 02:06
has joined #general

clyde_dcruz
2016-04-13 03:44
has joined #general

mcrafols
2016-04-13 07:57
Hi, allow me to ask some questions: 1.-If my network had all the necessary VP and users from the beggining and the CA wasn't needed to enroll any other user after the initial set up, could the CA be shut down after the set up without affecting the correct behavior of the network? 2.-How can new VP be added to the network if in the set up phase of the other VP the N and f parameters are already determined? 3.-Variables stored by some CC A can only be accessed by the same CC A? So if a CC B wants to access variables from CC A it has to query/invoke CC A functions? 4.-Is there any restriction on query tx sending invoke tx referencing other chaincodes?

mcrafols
2016-04-13 07:57
Thanks in advance!

simon
2016-04-13 09:27
(2) dynamic reconfiguration - is in the works; doesn't work right now

simon
2016-04-13 09:27
(3) correct, state is separate per chaincode

simon
2016-04-13 09:28
(4) i don't think that a query can send an invoke - what would that even mean?

mcrafols
2016-04-13 09:32
well, in the chaincode api it says that any chaincode can call any other chaincode with InvokeChaincode and QueryChaincode

mcrafols
2016-04-13 09:33
it doesn't explain any restriction on how this two functions should be called

mcrafols
2016-04-13 09:33
so what if I call InvokeChaincode from a query transaction?

mcrafols
2016-04-13 09:35
Let me also explain why I want this: I want to register whenever a user reads a variable (which will be a document).

mcrafols
2016-04-13 09:37
And as invoke transactions cannot return WS variables (can they?) this is how I thought I might implement it, query calling invoke (which wouldn't do anything).

simon
2016-04-13 09:43
i see

simon
2016-04-13 09:43
no, not possible

simon
2016-04-13 09:43
because queries only go to one replica, but invokes have to go to all

simon
2016-04-13 09:44
is there a reason why you want to register this?

simon
2016-04-13 09:44
i mean, publicly, forever recorded information?

mcrafols
2016-04-13 09:46
well the use case involves legal contracts and although not essential, knowing when each network user reads the document can be relevant

mcrafols
2016-04-13 09:47
so invoke transactions can't return variables

simon
2016-04-13 09:47
you could make it a two step process

mcrafols
2016-04-13 09:48
but why can't a query tx call another CC invoke?

simon
2016-04-13 09:48
because a query only goes to one replica, and an invoke goes to all

mcrafols
2016-04-13 09:48
I could solve the problem from the application level

simon
2016-04-13 09:48
you could have the application first "register" the read

simon
2016-04-13 09:48
and only when the read has been registered, it can query the document

mcrafols
2016-04-13 09:50
I think that could work

mcrafols
2016-04-13 09:50
just for the sake of the argument

mcrafols
2016-04-13 09:51
when a user makes a invoke transaction, does the user (or wallet service) send the transaction to all VPs?

simon
2016-04-13 09:51
yes

simon
2016-04-13 09:51
well, it goes to one VP

simon
2016-04-13 09:51
and that one broadcasts it

mcrafols
2016-04-13 09:51
the broadcast is internal

simon
2016-04-13 09:51
yes

mcrafols
2016-04-13 09:52
so now, why not invoke from a query tx?

simon
2016-04-13 09:53
because a query is a readonly operation

simon
2016-04-13 09:53
you actually want an invoke that can return a value

mcrafols
2016-04-13 09:54
not really, if an invoke could return a value that would be awesome, but you said it is not possible

mcrafols
2016-04-13 09:54
from the query tx I just want to invoke some function that will do nothing and return nothing but will get registered

simon
2016-04-13 09:57
but that is not reliable - an incorrect replica could just return the value, but never perform the invoke

mcrafols
2016-04-13 10:01
yes, the application waiting for the invoke to be registered ensures that this can't happen (returning value but not registering tx).

mcrafols
2016-04-13 10:05
if a invoke tx A calls and invoke tx B wouldn't this last invoke tx B be sent by all VP that execute invoke tx A, thus having the invoke tx B replicated many times (as all transactions that arrive to a VP are broadcasted)?

simon
2016-04-13 11:12
no

simon
2016-04-13 11:12
the calls happen locally

simon
2016-04-13 11:12
they happen in the same transaction

mcrafols
2016-04-13 11:16
don't they happen when the invoke tx is executed (and they are executed by all VPs)?

simon
2016-04-13 12:04
yes, the invoke executes in each VP, and when there is a call to another chaincode, that VP will execute the other chaincode

mcrafols
2016-04-13 13:05
oh, then this second invoke transaction won't go through the consensus protocol and will be committed right after the 1st invoke?

simon
2016-04-13 13:44
it will be committed as part of the same transaction

mcrafols
2016-04-13 13:59
thanks! then if it behaves like this, it doesn't seem that a query transaction doing an invoke will work as it can't register with the same transaction

mcrafols
2016-04-13 14:37
Does anyone know the answer to this question: If my network had all the necessary VP and users from the beggining and the CA wasn't needed to enroll any other user after the initial set up, could the CA be shut down after the set up without affecting the correct behavior of the network? It is kind of very important as I can't give the control of the CA to any of the distrusting network actors and actually probably for many use cases with permissioned networks the CA is not needed as no VP will be added for sure.

christophera
2016-04-13 15:06
There is a Requirements WG meeting scheduled for 11am EDT, but no invite was sent out, and we can't reuse last week's webex code.

christophera
2016-04-13 15:12
We really need some Linux Foundation support around a calendar for WG meetings.

mfnolan
2016-04-13 15:22
has joined #general

mgk
2016-04-13 19:13
has joined #general

philipdesautels
2016-04-13 19:34
@christophera there was no requirements meeting scheduled for 11 EDT, @pjholmes just announced the meeting on Monday. an invite will go out.

christophera
2016-04-13 19:36
There had been a confusing msg earlier that had said Wednesday. There were several of us who showed up this morning.

alalmasy
2016-04-13 19:52
has joined #general

slackin
2016-04-13 20:10
has joined #general

oatsandsugar
2016-04-14 00:22
has joined #general

christof
2016-04-14 02:19
has joined #general

ryancox
2016-04-14 04:09
has joined #general

oatsandsugar
2016-04-14 04:56
Anyone here working on the legal-technical aspects of the project? best to look to # ?

zhipengh
2016-04-14 05:03
@oatsandsugar: you are welcomed to contribute to the # re the legal-tech side :simple_smile:

christophera
2016-04-14 06:06
@oatsandsugar: I would really like to see more legal and policy conformance aspects added to the requirements documents.

christophera
2016-04-14 06:09
I've added some crypto-related requirements to the use cases template https://github.com/hyperledger/hyperledger/wiki/Use-Case-Template#requirements but it needs to cover more issues than crypto.

vd
2016-04-14 06:18
has joined #general

jje
2016-04-14 07:59
has joined #general

maryna.ramanovich
2016-04-14 10:52
has joined #general

nickgaski
2016-04-14 13:26
has joined #general

hiraki
2016-04-14 13:55
has joined #general

townmousecountrymouse
2016-04-14 14:09
has joined #general

bitcoina
2016-04-14 14:12
has joined #general

pavel.d.stepanov
2016-04-14 14:16
has joined #general

nkayal
2016-04-14 14:32
has joined #general

inabatk
2016-04-14 14:53
has joined #general

sunspot
2016-04-14 14:56
has joined #general

gstuck
2016-04-14 15:30
has joined #general

gahluwalia
2016-04-14 16:26
has joined #general

hyperspace
2016-04-14 16:59
has joined #general

hyperspace
2016-04-14 17:02
Thank you invite permission.

cbf
2016-04-14 17:29
I have created # channel to discuss and develop a set of evaluation criteria for graduation from incubation

buhrmi
2016-04-14 17:30
has joined #general

buhrmi
2016-04-14 17:30
morning

kevinfs
2016-04-14 17:30
has joined #general

joequant
2016-04-14 17:34
has joined #general

galatea-jon
2016-04-14 17:34
has joined #general

rrk
2016-04-14 17:35
has joined #general

ozdiaz
2016-04-14 17:37
has joined #general

ajlopez
2016-04-14 17:37
has joined #general

michael
2016-04-14 17:38
has joined #general

kmrhyperledger
2016-04-14 17:38
has joined #general

joequant
2016-04-14 17:40
About legal. We are trying to use hyperledger fabric for automated execution of contracts, and the way we plan to handle the legal stuff is to embed the legal boilerplate into the chaincode. We've already gotten several contracts written and in production, and all we need to add them to hyperledger is to write a javascript execution engine.

joequant
2016-04-14 17:41
As far as actual legal execution, you want to isolate in the chaincode. If you try to push the legal into the fabric, you'll never get anything working.

joequant
2016-04-14 17:43
Compliance is a different issue. The big headache we've had so far is that we had to have some of our smart contracts approved by the HK Police (which regulates money lending) as part of a court hearing. We had to go to paper. (i.e. convert the source code to PDF, run some screenshots, print it out)

buhrmi
2016-04-14 17:44
a javascript engine written in chaincode?

joequant
2016-04-14 17:45
The reason we are working on hyperledger fabric rather than ethereum is that we can put in our javascript smart contracts once someone writes a javascript module.

joequant
2016-04-14 17:45
There were some interesting legal reasons why we wrote the contracts in javascript.


joequant
2016-04-14 17:48
The legal reason we didn't use ethereum to write the smart contracts is that we have real money involved and we don't want the person on the other side claiming they didn't understand the contract. Since we are using this to fund tech companies, it's hard for them to argue that they didn't understand javascript.

buhrmi
2016-04-14 17:48
hahaha brilliant

joequant
2016-04-14 17:48
And you can parse the javascript into a web page for the judge to understand.

buhrmi
2016-04-14 17:49
"for legal reasons we use a language that everybody can understand" lol

joequant
2016-04-14 17:50
You are hosed if you write your contracts in a language that the judge can't understand.

buhrmi
2016-04-14 17:50
true

joequant
2016-04-14 17:50
I'm writing from Hong Kong. This actually poses a problem when people try to litigate an English contract in Mainland China.

buhrmi
2016-04-14 17:52
should look into the javascript module. i proposed javascript as main language to the hyperledger team before there was any code

buhrmi
2016-04-14 17:52
was thinking about similar reasons

joequant
2016-04-14 17:53
All someone has to do is to write a javascript chaincode container. Doesn't seem that difficult.

mdangear
2016-04-14 18:00
if you want contracts that judges can understand, consider using CommonAccord to add legal context to smart contracts https://github.com/commonaccord

joequant
2016-04-14 18:03
Trying to get a common contract framework that works with different national laws is a project that's too big for what I need right now.

joequant
2016-04-14 18:04
The approach we took was to base everything on HK law, which is more or less English law, and therefore similar to the law of commonwealth countries, including Kenya which we are doing business with.

buhrmi
2016-04-14 18:05
im in japan which is more or less bullshit law

joequant
2016-04-14 18:05
If you could get a framework that could produce both a valid HK contract and a valid Mainland Chinese contract, that would be amazing.

joequant
2016-04-14 18:05
Japan and China are both based on German law which puts a lot of emphasis on form.

joequant
2016-04-14 18:05
If you don't have the magic words, it's not valid.

buhrmi
2016-04-14 18:06
yeah and the banning of weed

buhrmi
2016-04-14 18:06
I'm German so I know :stuck_out_tongue:

mdangear
2016-04-14 18:06
the way I do with CommonAccord is that all contracts I create have generic clauses then “local” clause that apply based on geography and/or jurisdiction

mdangear
2016-04-14 18:06
works very well

buhrmi
2016-04-14 18:07
so the goal is to make local = global

joequant
2016-04-14 18:07
Have you checked with a lawyer to see that you end up with a valid local contract. The problem is that Mainland Chinese law and HK law are so different that it's not clear to me how you can templatize the differences.

mdangear
2016-04-14 18:07
nation and jurisdictions will not disappear tomorrow, better work for local and global both

joequant
2016-04-14 18:08
This might work for EU because you have common contract standards.

joequant
2016-04-14 18:09
The standard thing that gets people in trouble is that they take a contract translate it into Chinese and find that it's totally unenforceable in Mainland China because the logic of contracts is just different.

buhrmi
2016-04-14 18:09
yeah a lot also gets lost in translation, sometimes even on purpuse

joequant
2016-04-14 18:12
For example, most disclaimers of liability turn out to be unenforceable. NDA and non-competes have to be consistent with legal requirements or else they are unenforceable. If the judge sees one unenforceable clause, then the person can argue lack of good faith and get the whole contract nulled.

joequant
2016-04-14 18:13
For trade contracts, you can fix a lot of things by saying that the contract is taken under HK law.

buhrmi
2016-04-14 18:13
that's why I like code. code doesn't care about nation and jurisdiction

mdangear
2016-04-14 18:15
can’t live with them can’t live without them :simple_smile:

buhrmi
2016-04-14 18:15
so a chaincode enabled javascript engine...

buhrmi
2016-04-14 18:15
hmmm

joequant
2016-04-14 18:16
actually my code does care about nation and jurisdiction.

joequant
2016-04-14 18:16
you put the legal parts in the comments.

joequant
2016-04-14 18:16
It's a backup system.

joequant
2016-04-14 18:17
Suppose the blockchain goes down. You can then enforce the contract through traditional ways.

hazardj
2016-04-14 18:17

joequant
2016-04-14 18:18
Actually I ended up using markdown.

christophera
2016-04-14 18:18
BTW I got some funding to take that doc up a notch in the next month or two

hazardj
2016-04-14 18:18
very cool!

christophera
2016-04-14 18:19
The original on github is markdown

christophera
2016-04-14 18:19

joequant
2016-04-14 18:20
The other interesting contract is the profit share contract. It creates a legal trust which means that the contract can legally have it's own bank account and own property.

buhrmi
2016-04-14 18:20
i want a blockchain written in javascript and the smart contract language also being javascript and any browser or node server can be a node in the network :open_mouth:

joequant
2016-04-14 18:21
The problem with an LLC or corporation is that you still have to register the company with the registry. You don't have to register a trust.

joequant
2016-04-14 18:21
Which means the blockchain can create a legal entity.

christophera
2016-04-14 18:21
There is also some new work on how to accept investment money without an exit, using a dividend like Revenue Backed Securities

buhrmi
2016-04-14 18:23
can u do that? @joequant

buhrmi
2016-04-14 18:23
create a legal entity in the blockchain

joequant
2016-04-14 18:23
Yes.

joequant
2016-04-14 18:23
You just create a trust.

buhrmi
2016-04-14 18:24
right

christophera
2016-04-14 18:24
Gotta run, but ping me if you are serious about transitional LLC DAC

joequant
2016-04-14 18:24
The node in the blockchain creates a trust with a trust agreement. At that point the trust can do legal stuff like hold a bank account. The trust agreement names the trust administrator, but the adminstrator just does the paperwork.

joequant
2016-04-14 18:25
The big problem is that you may end up with tax problems from hell, but I'm in HK.

joequant
2016-04-14 18:27
One thing that we figured out is that you need to make the agreement multi-jurisdictional. The trouble with corporations is that if the jurisdiction of the corporation wants to block you, you are stuffed. It's a single point of failure.

joequant
2016-04-14 18:28
If you have a trust that owns assets in several jurisdictions with automatic fallover if it becomes invalid in one jurisdiction, then it's less fragile.

joequant
2016-04-14 18:29
You write the trust so that if it becomes invalid in HK, then you fall over to Bermuda, BVI, Caymans, or somewhere else.

buhrmi
2016-04-14 18:30
the moon

buhrmi
2016-04-14 18:30
jk

buhrmi
2016-04-14 18:30
need some sleep, cya later

heenan
2016-04-14 18:33
has joined #general

supermanfred
2016-04-14 18:45
has joined #general

beauson45
2016-04-14 18:48
@joequant: or Panama… lol

vpaprots
2016-04-14 18:54
has joined #general

tmenner
2016-04-14 19:16
has joined #general

philipdesautels
2016-04-14 19:21
Hi, I have all of the pubic meetings for the Hyperledger Project collected on one page now: https://github.com/hyperledger/hyperledger/wiki/PublicMeetingCalendar

lengoanhcat
2016-04-14 19:43
has joined #general

nick1616
2016-04-14 19:58
has joined #general

lowry1515
2016-04-14 20:16
has joined #general

v.oostveen
2016-04-14 20:19
has joined #general

helix42
2016-04-14 21:05
has joined #general

paulx
2016-04-14 21:46
has joined #general

kazuhaya
2016-04-14 22:19
has joined #general

fujio
2016-04-14 22:57
has joined #general

joequant
2016-04-15 02:16
question. I'm still trying to track down a breakage in hyperledger fabric. I'm getting errors about the peer package having a corrupt tar header.

joequant
2016-04-15 02:17
My best guess is that there is a flag that is getting misset and the tar package is not being generated.

joequant
2016-04-15 02:17
It's blocking other work, so any help in getting it to work would be appreciated.

sheehan
2016-04-15 03:17

buhrmi
2016-04-15 03:33
@joequant: let's get started with the javascript module, trust creation and legal entity registration

sachikoy
2016-04-15 05:58
has joined #general

rdevadass
2016-04-15 06:05
has joined #general

alex_yakovlev
2016-04-15 06:14
has joined #general

hmchen
2016-04-15 06:22
has joined #general

jasmeet
2016-04-15 06:42
has joined #general

srbamb
2016-04-15 06:42
has joined #general

animeshnandi
2016-04-15 08:41
has joined #general

angelito
2016-04-15 09:00
has joined #general

nicholas
2016-04-15 09:17
has joined #general

baohua
2016-04-15 09:41
hi everyone, I just make a pure container based hyperledger cluster without any config, compiling and vm things in local server. Welcome for any feedbacks. Thanks https://github.com/yeasy/docker-compose-files#hyperledger.

andrew.dong
2016-04-15 10:55
has joined #general

turnerst999
2016-04-15 13:02
has joined #general

takakir
2016-04-15 13:09
has joined #general

hanna.zubko
2016-04-15 13:47
has joined #general

bcbrock
2016-04-15 14:22
@joequant Regarding Docker TAR issues, make sure that the directory tree you’re building from does not have any open files - that’s caused failures for me in the past.

joequant
2016-04-15 14:46
@buhrmi the trust creation is already done. http://joequant.github.io/bitquant/smart-contracts/contract_viewer.html?contract=models/profit-share will create a legal entity on the blockchain that can do legal stuff (i.e. open bank accounts, sue people, get sued)

joequant
2016-04-15 14:47
@buhrmi Entity registration isn't that hard. The HK company registry has an api for setting up companies and you just need to link with that. The hard part is the paperwork that is associated with the company. Otomous is working on that on top of the ethereum blockchain.

joequant
2016-04-15 14:48
The only real missing piece is the javascript module. Once you have that, then we can onboard the smart contracts. I estimate that the current contracts will work up to transactions of about USD 1 million.

joequant
2016-04-15 14:51
@baohua I just forked and added some scripts.

muralisr
2016-04-15 14:51
@bcbrock: @joequant : that’s one of the reasons I wanted to get the full logs from the peer… it should show up there. However, my instinct is that’s not not the issue as it seems to have progressed further. but yes, that’s something to make sure of

joequant
2016-04-15 14:52
I want to see if there is an issue once I move everything to baohua's docker scripts.

joequant
2016-04-15 14:52
It will be cleaner to see if there is a problem.

joequant
2016-04-15 14:53
If it turns out to be a weird interaction with virtualbox then it's not worth following up if it works with a straight docker dev environment.

xn
2016-04-15 15:04
has joined #general

buhrmi
2016-04-15 15:51
@joequant: why only 1 million USD?

joshhus
2016-04-15 15:53
has joined #general

joequant
2016-04-15 16:14
The cost of trying to break the contract. If you owe someone a billion dollars, they would be willing to spend tens of millions of dollars in lawyers trying to break the contract, and if you throw tens of millions of dollars of lawyers at the scripts I've written, I suspect that it's likely you will find some problem.

joequant
2016-04-15 16:15
If you have a contract that's worth USD 1 million, then it's likely that someone would only be willing to spend say USD 50k to break the contract, and I think that 50k worth of lawyering wouldn't find holes.

joequant
2016-04-15 16:16
USD 1 million is my estimate of how big the contract would be before someone hires enough lawyers to try to break the contract.

joequant
2016-04-15 16:18
One thing once you get into big numbers. If you have a USD billion contract, it is pretty likely that someone will try to sue you to break the contract. The question is how much you are likely to spend to defend against the suit.

joequant
2016-04-15 16:19
The more firm the contract the less money you will have to pay to defend the suit, but there is a tradeoff in that they more you will have to pay a lawyer up front.

joequant
2016-04-15 16:20
If the amount of the transaction is USD 1000, it doesn't make sense to pay a lawyer USD 5000 or even USD 100 to "harden" the contract.

joequant
2016-04-15 16:21
The problem with ethereum is that I can't imagine someone willing to put more than USD 1000 at risk.

joequant
2016-04-15 16:23
The thing about my smart contracts is that I think I'm the only person that has ever put real money on a smart contract. The deals that we were looking at were USD 10-30k deals.

buhrmi
2016-04-15 16:24
and the simpler the contracts the harder they are to break...

joequant
2016-04-15 16:26
That's sometimes true and sometimes not true.

joequant
2016-04-15 16:26
What you want is to use the same contract that's been used for the last 100 years.

joequant
2016-04-15 16:26
cut and paste.

joequant
2016-04-15 16:27
Or the same contract everyone else uses.

joequant
2016-04-15 16:27
Like the ISDA master agreement.

joequant
2016-04-15 16:28
Breakage is not a binary issue. What I care about is time and money. The likelihood that some lawyer will *try* to give me problems.

joequant
2016-04-15 16:30
I remember when JPMorgan bought Bear Stearns, they set aside USD 5 *billion* to deal with lawsuits and settlements.

pinkalshah
2016-04-15 16:31
has joined #general

buhrmi
2016-04-15 16:33
man these are some really advanced use cases

joequant
2016-04-15 16:33
Those really aren't.

buhrmi
2016-04-15 16:34
okay, lol...

joequant
2016-04-15 16:34
Here is my annoyance. Everyone is talking about smart contracts, but no one is willing to put their kids college money at risk with one of them.

joequant
2016-04-15 16:34
I'm lending about USD 50k-100k to small companies with smart contracts. This is my kids college money.

buhrmi
2016-04-15 16:35
i would if it was javascript, haha

joequant
2016-04-15 16:35
Actually this is one reason we used javascript. Enough people know javascript to reduce the likelihood of bugs, and there are some nice testing tools.

joequant
2016-04-15 16:38
If there is a bug in the contract and it says that IOU one billion dollars, then you can void the contract, because at that point it's "obvious" that there was a bug. The problem is if I think I owe USD 20k, but the code says I owe USD 50k.

buhrmi
2016-04-15 16:38
yeah but your javascript contracts live in what blockchain?

joequant
2016-04-15 16:38
They are going to live in hyperledger/fabric :simple_smile: :simple_smile:

buhrmi
2016-04-15 16:39
not openblockchain?

joequant
2016-04-15 16:39
openblockchain has become hyperledger/fabric. but OBC doesn't have a javascript module yet.

buhrmi
2016-04-15 16:39
ah

joequant
2016-04-15 16:39
One important part of the smart contracts we wrote is that it's blockchain agnostic.

joequant
2016-04-15 16:40
In fact you don't have to run them in a blockchain at all.

joequant
2016-04-15 16:40
But it's really useful if you do because then you can connect the contract to SWIFT.

joequant
2016-04-15 16:44
My plan is that once I get my smart contracts onto a blockchain system that does automatic transfer of payments, then I write another contract that bundles several thousand of them into a trust that turns into a blockchain hedge fund.

joequant
2016-04-15 16:48
You can then offer tokens for that blockchain hedge fund. In order to buy a share, you need to present a token that says "I have been authorized by the SEC to buy hedge funds" and a token that says "I am not a US tax resident". Once you present those tokens, then everything else can be automated.

joequant
2016-04-15 16:49
Cool stuff.

buhrmi
2016-04-15 16:52
sounds a bit like utopia

buhrmi
2016-04-15 16:52
hehe

nkunkel
2016-04-15 17:16
has joined #general

ductrinh
2016-04-15 17:59
has joined #general

alex.oberhauser
2016-04-15 18:50
has joined #general

christophera
2016-04-15 19:05
We had 30+ members attend the Identity kickoff discussion. Consensus is that our scope is sufficiently different that our work doesn't quite fit into existing working groups (though we will interface and contribute to them), we are asking to be an official Hyperledger WG. We currently plan to use a dedicated public slack channel for our discussions # and have a call approximately every other week. A doodle poll for the next meeting will be sent shortly. Finally, we look forward to meeting in person at the next Hyperledger meeting, and maybe at the ID 2020 Design Workshop in May.

christophera
2016-04-15 19:06
Thanks to everyone who participated! I appreciate the passion for this topic!

christophera
2016-04-15 19:22
Today also was the first Architecture WG discussion. Summary of results — we have created the # channel and our primary communications will be there. We plan biweekly meetings (but M/T/W not friday) so new Doodle will be sent out. We have 8 topics for possible work items. Next meeting we will spend half on the Consensus/Business Logic layer discussion, led by @cmickeyb and myself. Post other agenda items and conversations in # channel.

ihadzhi
2016-04-15 19:35
has joined #general

jonathan.mohan
2016-04-15 20:09
Here is a google spreadsheet with a pretty exhaustive list of the research that has been published on blockchain thus far https://docs.google.com/spreadsheets/d/1VaWhbAj7hWNdiE73P-W-wrl5a0WNgzjofmZXe0Rh5sg/edit#gid=0


nkunkel
2016-04-15 20:11
^thank you that looks very interesting

madhu
2016-04-15 20:56
has joined #general

jonathan.mohan
2016-04-15 20:56
If you find any article paygated, or restricted access

jonathan.mohan
2016-04-15 20:56
just be aware that sci-hub exists,

jonathan.mohan
2016-04-15 20:56

jonathan.mohan
2016-04-15 20:57
Just input the url and 95% of the time it'll get you the paper or the issue of the journal the paper is in

jonathan.mohan
2016-04-15 20:58
@nkunkel:

dhnatuck
2016-04-15 21:07
has joined #general

andrew_meadors
2016-04-15 21:39
has joined #general

jeremyday
2016-04-15 21:46
has joined #general

karen
2016-04-15 21:59
has joined #general

matthewcommons
2016-04-15 23:22
has joined #general

maureen
2016-04-16 03:27
has joined #general

jean.safar
2016-04-16 03:50
has joined #general

mdangear
2016-04-16 05:13
@joequant: two comments on your smart contract to create a Trust agreement: 1. this is great 2. this seems to be going reverse. While coders can automate transactions, they are not lawyers and should not have to be. So rather than having coders come up with legal to add to their code, it should be coder providing chaincode that can be added to legal documents. I would love to see the chaincode called from a contract built with CommonAccord. There are tons of agreements already for seed or series A funding, and many others actually, and you could imagine enforcing the transactions (including for example the right of first refusal of one of the investor wants out) using chaincode. You can check this example here http://www.commonaccord.org/index.php?action=doc&file=bq/fr/bnpp/a5we/0.md it includes series A document, plus refers to the initial funding. All investors are defined as objects, and you can have all the other docs related to the formation of the corp. Also note this example of how chaincode could be called from a doc is here: http://www.commonaccord.org/index.php?action=doc&file=./S/Sandbox/Blockchain/TransactionTypeQw3rty02.md

mtakemiya
2016-04-16 05:17
has joined #general

duvanov
2016-04-16 05:37
has joined #general

sanu
2016-04-16 07:11
has joined #general

bobsummerwill
2016-04-16 15:38
Hey! Bob Summerwill from the Ethereum project here. I am attending OSCON in Austin this May, and I would like to extend an invitation to anybody who will be in Austin on 18th May to come along to a one-off Meetup which I have been arranging to bring together blockchain and DLT developers of all stripes to talk about all the cool stuff we are building! I have already been in contact with Nitin Gaur, of the IBM Blockchain lab there in Austin, and his colleagues. Factom are hosting, and we should have people from at least Bitcoin, Ethereum and Hyperledger. I'm trying to get an invite out to the R3 Consortium too. Please do spread this invite to any friends or colleagues who you think may be the interested! https://www.linkedin.com/pulse/open-source-blockchain-meetup-austin-tx-may-18th-2016-bob-summerwill


bobsummerwill
2016-04-16 15:39
ASIDE#1 - I found the terminology introduced in this article ... "Open Execution" ... a lens which could be very useful in helping people to understand what this new category of technology is about: https://www.linkedin.com/pulse/how-open-execution-replace-source-jason-carver

bobsummerwill
2016-04-16 15:43
ASIDE#2 - The attendee list for OSCON is online and there are huge number of people there from Capital One. Does anybody know if they are working on any blockchain tech? Are they part of the Hyperledger Consortium, for example? I don't think they are in R3. But they are certainly very, very open-source friendly and agile. http://conferences.oreilly.com/oscon/open-source-us/public/content/attendee-directory http://thenewstack.io/capital-one-out-to-display-its-geekdom-with-open-source-devops-dashboard/

rudis
2016-04-17 04:10
has joined #general

jan
2016-04-17 04:31
has joined #general

docent
2016-04-17 16:15
has joined #general

lx-pasteis
2016-04-17 16:47
has joined #general

nathonline
2016-04-17 17:50
has joined #general

buhrmi
2016-04-17 17:55
i'd love to go to oscon...

mark.moir
2016-04-17 21:26
has joined #general

aacm
2016-04-18 00:16
has joined #general

tmeyer2000
2016-04-18 00:44
has joined #general

ibmamnt
2016-04-18 00:56
has joined #general

ibmamnt
2016-04-18 01:33
What happens when PUT_STATE failed somehow. For example, ``` // To company err = stub.PutState(accountPrefix+tr.ToCompany, toCompanyBytesToWrite) // From company err = stub.PutState(accountPrefix+tr.FromCompany, fromCompanyBytesToWrite) if err != nil { return nil, errors.New("Error writing the fromCompany back") }``` Assume PutState( ToCompany, <json>) succeeded, and the amount was increased or dereased. However, also assume PutState( FromCompany, <json>) failed, and world state does not changed. My understanding is that, this transaction in chaincode failed, as a result new block is not created. But I wonder what will happen in world state.

ibmamnt
2016-04-18 01:33
Oh, by the way. I just joined to this slack. PLease let me know if "general" is not right location for this kind of discussion.

muralisr
2016-04-18 01:37
@ibmamnt: we should take it to fabric or technical-discuss I suppose

muralisr
2016-04-18 01:39
but the state should be unchanged as well

ibmamnt
2016-04-18 01:40
@muralisr: Thanks. I'll check using my experimental code. And if I find something, I'll post to technical-discussion channel or fabric.

muralisr
2016-04-18 01:41
ok

ynamiki
2016-04-18 01:46
has joined #general

tomk
2016-04-18 02:26
has joined #general

uramoto
2016-04-18 03:53
has joined #general

srbamb
2016-04-18 05:25
Hi, not sure if this is the right channel for the following question, but can someone please advise if the setup.sh for hyperledger can be used directly onto Ubuntu Machines (we didnt want to use the Vagrant environment). Would really appreciate some help/guidance around this

srbamb
2016-04-18 05:25
we could setup OBC on the same machines but have to now migrate to Hyperledger since the former has been declared deprecated

jasmeet
2016-04-18 05:45
@srbamb: Even i have the same question

baohua
2016-04-18 05:48
@srbamb: @jasmeet You can have a look at https://github.com/yeasy/docker-hyperledger. It provides non-vagrant environment. You can enjoy with direct docker, or just follow the Dockerfile to setup a baremetal env.

baohua
2016-04-18 05:51
Hi, anyone know how to construct a chaincode deploy REST API call using http? I follow the instructions at https://github.com/hyperledger/fabric/blob/master/docs/API/CoreAPI.md#chaincode, and put the whole dict as the POST payload, however, error happens with "400 Client Error: Bad Request ("{"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error","data":"Error unmarshalling chaincode request payload: invalid character 'p' looking for beginning of value"},"id":null}")"

narikiyoy
2016-04-18 08:54
has joined #general

mqmatt
2016-04-18 11:49
has joined #general

jhp261
2016-04-18 12:04
has joined #general

shsedghi
2016-04-18 13:07
has joined #general

slannez
2016-04-18 13:24
has joined #general

rouven
2016-04-18 14:15
has joined #general

bmos299
2016-04-18 15:20
has joined #general

ramesh
2016-04-18 15:25
has joined #general

eskoviak
2016-04-18 16:20
has joined #general

theophoric
2016-04-18 17:36
has joined #general

cj
2016-04-18 18:42
has joined #general

cj
2016-04-18 18:42
hi folks!

cj
2016-04-18 18:46
I'd like to recommend Thomas Greco as a board member. I've worked with him on a project similar to this in the past. We built an alternative currency system for the city, and were unable to scale beyond a single locale because we lacked something like HyperLedger to perform the tasks of a locale-independent clearing house.


cj
2016-04-18 19:07
baohua: nice! I'll check that Dockerfile out

posnerj
2016-04-18 19:51
has joined #general

gromeroar
2016-04-18 19:55
has joined #general

andres
2016-04-18 20:17
has joined #general

kstern
2016-04-18 20:36
has joined #general

jonathanlevi
2016-04-18 20:47
has joined #general

dean.miller
2016-04-18 21:04
has joined #general

gkucmierz
2016-04-19 00:17
has joined #general

gkucmierz
2016-04-19 00:18
hello

michael.oeth
2016-04-19 02:50
has joined #general

loki
2016-04-19 03:01
has joined #general

loki
2016-04-19 03:01
Hi guys

srirama_sharma
2016-04-19 03:05
has joined #general

buhrmi
2016-04-19 03:59
anyone using intel's ledger? wanna port it to node.js

buhrmi
2016-04-19 04:03
just don't really understand what part exactly relies on SGX

fjk
2016-04-19 05:39
has joined #general

aditya
2016-04-19 06:32
has joined #general

stuartf303
2016-04-19 07:03
has joined #general

karthik
2016-04-19 07:06
has joined #general

baohua
2016-04-19 07:12
Hi, I've written some python lib for hyperledger. The code is open-sourced at https://github.com/yeasy/hyperledger-py. I believe currently there still needs more improvement, and would like to welcome any feedback or contributions. Thanks a lot!

jacksonlim
2016-04-19 08:05
has joined #general

pinnapala
2016-04-19 08:57
has joined #general

shiva
2016-04-19 10:25
has joined #general

halwis
2016-04-19 10:54
has joined #general

wrv
2016-04-19 14:12
has joined #general

joseph
2016-04-19 14:26
has joined #general

david.acton
2016-04-19 14:30
has joined #general

joseph
2016-04-19 14:46
Hi guys,

joseph
2016-04-19 14:47
I am a newbie to blockchain as well as hyperledger.

joseph
2016-04-19 14:48
I understand that if I use chaincode to write an application. It means that I write a smart contract.

joseph
2016-04-19 14:48
Is it true?

sheehan
2016-04-19 14:58
Yes, chaincodes are similar to smart contracts. If you need more info, see the # channel

joseph
2016-04-19 15:12
@sheehan Thanks.

nmsaini
2016-04-19 15:25
has joined #general

mjsikorsky
2016-04-19 15:35
has joined #general

ray_george
2016-04-19 16:34
has joined #general

alexpuig
2016-04-19 19:58
has joined #general

andreas.fletcher
2016-04-19 21:27
All, is there an overview of all slack channels, who is the "chair" of them and what topic is beeing addressed in it? We currently have 18 channels and not all of them are clear to me what topic is beeing addressed. Also some of them seem to be non active. If we do not have this, could we please address this?

ry
2016-04-19 21:28
I don’t think there is any restriction on people creating channels; I suspect many of them are ad-hoc

ry
2016-04-19 21:28
If you click on the “channels” dropdown, it will at least show you who created the channel.

arnaud
2016-04-19 23:31
@andreas.fletcher: as @ry said, anyone can create a channel so it's pretty organic. Practically, you can always start from # and if your question belongs to a specific channel you will be told about it.

gongsu
2016-04-20 01:51
has joined #general

dhillonv10
2016-04-20 04:07
has joined #general

mailubai
2016-04-20 05:14
has joined #general

joequant
2016-04-20 05:31
FYI. I've done some work on the wiki to make it more usable for newbies. Please start adding to it.

joequant
2016-04-20 05:32
One thing that might be useful is to just dump INSTALL.md and CONTRIBUTING.md onto the wiki so we can play with it, and then periodically sync it with github.

kaosah
2016-04-20 06:03
has joined #general

dcasler
2016-04-20 06:03
has joined #general

fjk
2016-04-20 07:14
Can anyone here help me with a walk-through on setting up the hyperledger-fabric project on Ubuntu without vagrant? A simple walk-through with the steps required for installation

tangjoe
2016-04-20 07:55
has joined #general

grapebaba
2016-04-20 08:06
has joined #general

harry96
2016-04-20 09:01
has joined #general

harshal
2016-04-20 10:36
has joined #general

cbf
2016-04-20 14:19
@joequant: the CONTRIBUTING.md should be where it is, as it is a convention that most understand and look for… as for INSTALL, adding to the wiki might be ok, but would like to get others to weigh in

muralisr
2016-04-20 14:26

simon
2016-04-20 14:35
i agree, README or CONTRIBUTING would be the place that should give initial pointers

wwdz99
2016-04-20 14:57
has joined #general

maro
2016-04-20 15:27
has joined #general

maro
2016-04-20 16:38
What tool(s) is commonly used among Hyperledger/fabric, Smart Contract/Chaincode, or Blockchain developers for development?

simon
2016-04-20 16:42
for what purpose?

maro
2016-04-20 16:45
for the smart contract/chaincode software development

maro
2016-04-20 16:45
in particular, or the fabric software project development in general

maro
2016-04-20 16:46
Text editors or IDEs

blt
2016-04-20 16:49
has joined #general

nits7sid
2016-04-20 17:27
has joined #general

djcarrol
2016-04-20 18:48
has joined #general

mowntan
2016-04-20 19:13
has joined #general

austingringo
2016-04-20 19:23
has joined #general

mmercuri
2016-04-20 19:40
has joined #general

lahart
2016-04-20 21:08
has joined #general

davids
2016-04-20 21:34
has joined #general

csweir
2016-04-20 23:43
has joined #general

ryokawa
2016-04-21 01:04
has joined #general

gengjh
2016-04-21 02:24
I am not sure if someone know this performance benchmark from bitshares, 100,000PTS is also our commitment to the customer in financial field. So, I think some good points from bitshares can be considered in the hyperledger, such as memory cache, has separate cryptographic component to handle hash and signatures, divide the state-dependent/independent validation and etc.



nits7sid
2016-04-21 05:11
Hello, I want to set up the fabric code local development set up on my VM. My host is running on a VM and it is not able to boot the guest VM..As per theh fabric docs it says it will fail to boot the guest with an error VT_X not available. but in my case it does not print any error..Is the nesting of virtualization not supported?

muralisr
2016-04-21 05:18
@nits7sid: it is not supported currently. Per doc https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md :

muralisr
2016-04-21 05:19
here’s the relevant section:


nits7sid
2016-04-21 05:26
ohh okay.. Thank you:-)

muralisr
2016-04-21 05:28
yw

joverwimp
2016-04-21 07:23
has joined #general

ansi
2016-04-21 10:00
has joined #general

harindra.r
2016-04-21 11:11
has joined #general

grapebaba
2016-04-21 11:55
hi

grapebaba
2016-04-21 11:56
totay i pull latest code

grapebaba
2016-04-21 11:56
go build failed

grapebaba
2016-04-21 11:57
an error show no file found rocksdb.h

grapebaba
2016-04-21 11:57
can anyone help?


awsom82
2016-04-21 12:03
has joined #general

muralisr
2016-04-21 12:18
@grapebaba - does not look like you are in vagrant ?

grapebaba
2016-04-21 12:31
oh

grapebaba
2016-04-21 12:31
thanks

agcolella
2016-04-21 12:51
has joined #general

jasmeet
2016-04-21 12:55
Just wanted to know While we are invoking /initiating/querying from terminal what if we want to achieve this from a fancy UI I have made a page in html how will it talk to my terminal can anyone please guide me on this ?

simon
2016-04-21 13:02
use the REST interface

simon
2016-04-21 13:03
probably a better channel would be #

jasmeet
2016-04-21 13:04
@simon: Please Elaborate

simon
2016-04-21 13:05
join the # channel for fabric specific talk

weizhao
2016-04-21 13:21
has joined #general

mohanv
2016-04-21 14:44
has joined #general

ltheron
2016-04-21 15:04
has joined #general

cbf
2016-04-21 15:06
Thursday (4/21) 8:30am - 10:00am PT (directly after the TSC call) Please join my meeting from your computer, tablet or smartphone. https://www.gotomeeting.com/join/372302869 You can also dial in using your phone. United States (toll-free): 1 866 899 4679 United States: Access Code: 372-302-869

mgutala
2016-04-21 15:18
has joined #general

bill_looby
2016-04-21 15:25
has joined #general

mcrafols
2016-04-21 16:10
I want to suggest opening something like an stackoverflow for hyperledger.

mcrafols
2016-04-21 16:10
I feel that a lot of us are running against similar problems and being able to search them instead of reasking them would be useful

harshal
2016-04-21 16:11
@mcrafols: +1

ry
2016-04-21 16:20
mcrafols: why not use stack overflow directly? use a common tag

mcrafols
2016-04-21 16:22
that would work too, I guess having something like http://bitcoin.stackexchange.com/ gives the project a stronger presence

ry
2016-04-21 16:26
as long as people agree where to go. I wasn’t thinking of a silo like http://bitcoin.se; just a tag like hyperledger on the main site

mcrafols
2016-04-21 16:29
that's good too

jonathan
2016-04-21 17:09
has joined #general

matthew.j.hill
2016-04-21 17:20
has joined #general

stevep
2016-04-21 18:09
has joined #general

jonathan.mohan
2016-04-21 20:04
For those in New York, I will be doing a Paper review meetup May 12th on the DTCC and SWIFTs recent distributed ledger papers http://www.meetup.com/BitcoinNYC/events/230372831/

augusta
2016-04-21 21:48
has joined #general

ymorizumi
2016-04-21 22:33
has joined #general

chetsky
2016-04-21 22:40
Anybody around who knows how to run hl/fabric with security enabled?

chetsky
2016-04-21 22:40
I think I've been able to configure it, but this "peer login" thing is completely puzzling

chetsky
2016-04-21 22:40
not sure how that's supposed to work

tuand
2016-04-21 22:41
login from rest api or from cli ?

chetsky
2016-04-21 22:45
tuan, hi

chetsky
2016-04-21 22:45
I've started the CA, and 4 peers

chetsky
2016-04-21 22:45
the next step says

chetsky
2016-04-21 22:45
cd $GOPATH/src/github.com/hyperledger/fabric/peer ./peer login <username>

tuand
2016-04-21 22:45
did you start membersrvc ?

chetsky
2016-04-21 22:45
yes

chetsky
2016-04-21 22:45
also vp0-vp3

chetsky
2016-04-21 22:46
they came up and seem to have established comms

tuand
2016-04-21 22:46
core_security_enabled=true ?

chetsky
2016-04-21 22:46
yes

chetsky
2016-04-21 22:46
I actually got the enrollid/secret wrong the first N times, so I'm pretty sure it's actually logging into the CA

chetsky
2016-04-21 22:47
this peer login -- it's a CLI command that hits vp0? or what?

tuand
2016-04-21 22:47
yes, goes against vp0

chetsky
2016-04-21 22:47

chetsky
2016-04-21 22:48
if you look at README.CHET, you'll see that I'm buiding scripts to set up and run N (=64?) peers+chaincodes, then manage 'em etc.

chetsky
2016-04-21 22:48
want to do this for security

chetsky
2016-04-21 22:48
I'll try that login cmd again vp0

chetsky
2016-04-21 22:48
thank you

chetsky
2016-04-21 22:49
Error: Error on client login: rpc error: code = 2 desc = "identity or token do not match"

tuand
2016-04-21 22:49
take a look at hyperledger/fabric/consensus/docker-compose-files/compose-consensus-4.md ... how i'm configuring my network

chetsky
2016-04-21 22:49
gotit. thanks!

tuand
2016-04-21 22:50
i think that's the message when it thinks you've already logged on using that id

chetsky
2016-04-21 22:51
unfortunately, I have not logged-on with the ide

chetsky
2016-04-21 22:51
b/c I used "chet" pass "chet"

chetsky
2016-04-21 22:51
which certainly wasn't used before

chetsky
2016-04-21 22:52
I guess I need to use one of the passwords in membersrvc.yaml?

tuand
2016-04-21 22:53
yes, use the test_userX ids

chetsky
2016-04-21 22:53
can you tell me what their passwords are?

tuand
2016-04-21 22:54
i think what you do is : log on to vp0/1/2/3 using a different test_userX then for every op to a vp, add -u test_userX to the call

tuand
2016-04-21 22:55
the pw is the string following the "1"

chetsky
2016-04-21 22:55
so "test_user01" ??

tuand
2016-04-21 22:55
everybody calls it "secret" rather than pw

tuand
2016-04-21 22:57
so login with test_user0 on vp0, test_user1 on vp1 and so on

chetsky
2016-04-21 22:58
oh my god

chetsky
2016-04-21 22:58
tmp/vp0/PEER login -p MS9qrN8hFjlE test_user0

chetsky
2016-04-21 22:58
that worked

chetsky
2016-04-21 22:59
this is isn't paper-thin!

tuand
2016-04-21 22:59
you sound surprised :simple_smile:

chetsky
2016-04-21 22:59
it's ..... a singlelayer of atoms -thin

chetsky
2016-04-21 22:59
alright, now I'll try to deploy

chetsky
2016-04-21 22:59
thank you!

chetsky
2016-04-21 22:59
oh one thing

tuand
2016-04-21 22:59
np .

chetsky
2016-04-21 22:59
just so I understand

chetsky
2016-04-21 22:59
I don't need to actually login to all the vpNs, right?

chetsky
2016-04-21 23:00
just into one of them, right?

chetsky
2016-04-21 23:00
I can submit my trans there, right?

tuand
2016-04-21 23:00
if you want to do the query on each of the VPs, then logon to each one

tuand
2016-04-21 23:00
if you're doing everything through vp0 then you're good to go

chetsky
2016-04-21 23:01
ok.

chetsky
2016-04-21 23:01
thank you!

chetsky
2016-04-21 23:01
sheesh, tissue-thin

chetsky
2016-04-21 23:01
those security folk .... lordy, I'd like to get paid for code this bad

tuand
2016-04-21 23:01
i think that's one of the things to be done right in the sdk

tuand
2016-04-21 23:03
ok ... off to dinner. enjoy

chetsky
2016-04-21 23:04
OK, it worked!

chetsky
2016-04-21 23:04
thank you!

chetsky
2016-04-21 23:08
@tuand: All thanks to Tuan. I got my security-enabled testnet working, invoked, queried. All thanks to Tuan.

tuand
2016-04-22 00:39
@chetsky: your check is in the mail :wink:

maxwell
2016-04-22 02:21
has joined #general

howardwang
2016-04-22 02:55
has joined #general

howardwang
2016-04-22 03:13
hi everyone

howardwang
2016-04-22 03:14
i am new member

howardwang
2016-04-22 03:14
nice to see you guys

bytedave
2016-04-22 07:35
has joined #general

archana.dixit
2016-04-22 09:22
has joined #general

sm001
2016-04-22 09:46
has joined #general

muralisr
2016-04-22 09:52
@howardwang: good to see you too

jasmeet
2016-04-22 10:46
While running this step -Start up the peer node with no connections to a leader or validator as follows. cd /opt/gopath/src/github.com/openblockchain/obc-peer ./obc-peer peer Getting Error - Failed to listen: listen tcp 0.0.0.0:30303: bind: address already in use

muralisr
2016-04-22 10:51
@jasmeet: will be good to get on hyperledger… in any case it just means likely peer is running somewhere (unless you have another app using the port)

maxjdd
2016-04-22 10:54
has joined #general

harika.e
2016-04-22 12:08
has joined #general

atulgrover
2016-04-22 12:11
has joined #general

sharyan
2016-04-22 14:11
has joined #general

bsmita
2016-04-22 14:30
has joined #general

loda
2016-04-22 15:34
has joined #general

joequant
2016-04-22 15:39
Anyone see any examples of digital asset markup language?

joequant
2016-04-22 15:40
I have a version of fabric that runs directly from docker. I'm trying to get the size of the image down.

mpage
2016-04-22 15:59
has joined #general

pjholmes
2016-04-22 17:04
Hello @howardwang and Welcome. If you love developing use cases and requirements, please check out the requirements channel. There you’ll find some links to to our use case template, use cases and requirements docs. You are welcome to jump in and contribute.

andrearei
2016-04-22 18:21
has joined #general

ashu
2016-04-22 21:08
has joined #general

cmartis
2016-04-23 00:57
has joined #general

miyahiro
2016-04-23 01:08
has joined #general

howardwang
2016-04-23 01:24
@pjholmes: yes,i will follow the rules commit my use case and requirement

rokkinchic
2016-04-23 02:52
has joined #general

manav
2016-04-23 06:14
has joined #general

amitoj
2016-04-23 11:16
has joined #general

troymc
2016-04-23 13:36
has joined #general

davids
2016-04-23 21:17
Would it make sense to have a #business channel here? Is anyone interested in business issues?

latone
2016-04-24 00:30
has joined #general

ry
2016-04-24 01:55
@davids: feel free to start one

davids
2016-04-24 05:17
Not sure anyone would use it besides me! It seems pretty quiet here, Slackwise.

prometheansacrifice
2016-04-24 09:31
has joined #general

marioespinheira
2016-04-24 11:00
has joined #general

hfeeki
2016-04-24 12:14
has joined #general

wangld
2016-04-25 03:24
has joined #general

howardwu
2016-04-25 03:36
has joined #general

aaren
2016-04-25 06:13
has joined #general

cxing
2016-04-25 06:33
has joined #general

karthik
2016-04-25 07:29
can someone help me in the API documentation (APIs - CLI, REST, and Node.js - https://github.com/hyperledger/fabric/blob/master/docs/API/CoreAPI.md )

amarantine
2016-04-25 08:09
has joined #general

j3ffyang
2016-04-25 09:24
@davids - what kind of business issue you're trying to bring up? I'm quite interested in settlement and clearing at financial firms. :simple_smile:

slowtokyo
2016-04-25 09:29
has joined #general

davids
2016-04-25 09:58
I’m interested in all blockchain business issues. I assume people can iterate and build the technology, but I want to understand markets, business cases, needs, customer journey, etc. I’m much more interested in asking questions and doing experiments than to have technical answers focused on blockchain. What problems are we trying to solve, and how will we connect to our customers? These kinds of questions. As William Mougayar says: "Building new applications on the blockchain is about 80% business process changes, and 20% technology implementation."

wimtobback
2016-04-25 11:25
has joined #general

eskoviak
2016-04-25 11:32
I am also interested in the business side of blockchain implementation. A small group of us, who have extensive experience in insurance industry data standards, are looking at using this technology. I personally am an experienced solution architect. While I am interested in the nuts and bolts of how bc works, our group is also interested in building the business case especially around product definition.

mcrafols
2016-04-25 13:08
@ry: could you start a tag in stack overflow? I do not have enough reputation points

andyvdh
2016-04-25 13:43
has joined #general

sarveswaran_m
2016-04-25 13:58
has joined #general

ry
2016-04-25 15:09
mcrafols: please give me a link to an appropriate question

mcrafols
2016-04-25 15:09
I'll post one then

ry
2016-04-25 15:10
and what tag do you want? hyperledger?

ry
2016-04-25 15:11
actually, you get to choose that when you tag the question

ry
2016-04-25 15:12
the missing bit will be the writeup, which can be supplied later

mcrafols
2016-04-25 15:19
you can choose the tag but cannot create a new one


mcrafols
2016-04-25 15:29
anyone with 1500 reputation points to create the hyperledger tag?

dmurik
2016-04-25 17:07

fabio
2016-04-25 20:50
has joined #general

juanllanos
2016-04-25 20:53
has joined #general

nikraveshucb
2016-04-25 20:54
has joined #general

lester
2016-04-25 23:38
has joined #general

tom.rose
2016-04-25 23:57
has joined #general

ry
2016-04-26 00:07
Someone either edit the description of http://stackoverflow.com/questions/tagged/hyperledger or feed me the text I should put in there. Check out the tag guidance http://blog.stackoverflow.com/2011/03/redesigned-tags-page/. The tags use the same markdown derivative the rest of SO uses

j3ffyang
2016-04-26 01:31
@eskoviak @davids agreed with your points. I created a channel named "business-scenarios". Let's catch up our ideas/ discussion over there.

mike_dsxt
2016-04-26 02:24
has joined #general

mike_dsxt
2016-04-26 02:44
I represent a team based in St. Petersburg. We developed a blockchain based e-proxy voting solution for the National Settlement Depository of Russian and are keen to port our solution to Hyperledger.

kat
2016-04-26 04:25
has joined #general

kat
2016-04-26 04:28
hello, i've a question regarding the spec

kat
2016-04-26 04:28
https://github.com/hyperledger/fabric/blob/master/docs/protocol-spec.md says Chaincode services provides a secured and lightweight way to sandbox the chaincode execution on the validating nodes. The environment is a “locked down” and secured container along with a set of signed base images containing secure OS and chaincode language, runtime and SDK layers for Go, Java, and Node.js. Other languages can be enabled if required.

kat
2016-04-26 04:28
signed why and by whom?

j3ffyang
2016-04-26 04:55
My team is developing a solution of leveraging HyperLedger, for a TV station, to 1. Identify ownership of a digital asset, such as microMovie and music, when "Post" 2. Record "Ownership", "Share" and "Payment of ownership when transferred" into distributed ledger 3. Define exchange/ tx of shared ownership into SmartContract, then link to finalized payment (connect to real money thru payment gateway)

ibmamnt
2016-04-26 05:53
Blockchain in Chinese is "区块链".

sergiu
2016-04-26 06:12
has joined #general

pandurang
2016-04-26 06:15
has joined #general

j3ffyang
2016-04-26 06:30
@ibmamnt: yeah, 区块= block and 链= chain. Very directly translated literally.

j3ffyang
2016-04-26 06:32
@kat it refers to contract in a container, which is signed in host OS.

george_dsxt
2016-04-26 06:33
has joined #general

kat
2016-04-26 06:33
@j3ffyang: my concern is what happens when chaincode incompatible with these images on half of the network

kat
2016-04-26 06:33
fork?

kat
2016-04-26 06:33
*when chaincode is rolled out

jonathan.mohan
2016-04-26 06:34
@mike_dsxt: Welcome! Please check out the requirements group, specific usecases and their accompanying requirements as they would related to the hyperledger protocol is what is discussed in those groups , we are in the process of coming to consensus on a template for the usecase docs, but your input on the voting usecase would be wonderful!!



jonathan.mohan
2016-04-26 06:35
# is the group

kat
2016-04-26 06:36
@j3ffyang: to be more specific, the image is part of consensus rules, but it is indicated it is non-uniform across the network

kat
2016-04-26 06:36
specifically that arbitrary programming languages can be added

j3ffyang
2016-04-26 06:40
@kat sort of understanding your points :stuck_out_tongue: it's related to sets of standard of + data format within ledger -> so far I saw the discussion about "Linked Data" https://www.w3.org/TR/json-ld/ + consensus protocol which should be controlled by client API and the way of deployment into container (code deployment in Docker)

kat
2016-04-26 06:42
hmm. linked data? huh, you mean that contract would indicate hash of image it is compatible with or something along the lines?

kat
2016-04-26 06:48
well, for now i'm going to assume everybody is forced to run the same image or evil things happen

kat
2016-04-26 06:50
second thing i'm worried about is hardcoded consensus resolution algorithms (PoW, Paxos etc)

kat
2016-04-26 06:50
how is hyperledger supposed to support arbitrary algorithms when these are hardcoded, is there a rationale these aren't run in a vm too?

j3ffyang
2016-04-26 07:32
Will show you our metadata (in linked data structure) in distributed ledger in a specific digital asset. Well, thinking of a standard of chaincode coding that is open- sourced, like verified container image, maintained by community.

j3ffyang
2016-04-26 07:35
Journey of relying a hardware contract and/ or consensus mgmt would take time, even its performance is supposed better

benksmillie
2016-04-26 07:38
has joined #general

mcrafols
2016-04-26 07:48
@dmurik: great!

kat
2016-04-26 07:49
@j3ffyang: Makes sense then, thanks.

j3ffyang
2016-04-26 09:27

daniels
2016-04-26 09:39
has joined #general

ozzyatwork
2016-04-26 09:55
has joined #general

doug
2016-04-26 10:33
has joined #general

ratnakar
2016-04-26 12:57
has joined #general

toddinpal
2016-04-26 14:51
has joined #general

joseph
2016-04-26 14:55
Hi,

joseph
2016-04-26 14:56
I have got this example https://github.com/IBM-Blockchain/marbles run locally.

joseph
2016-04-26 14:58
I saw that it downloaded chaincode from https://github.com/ibm-blockchain/marbles-chaincode.

joseph
2016-04-26 15:00
the chaincode was stored on harddisk at /marbles/node_modules/ibm-blockchain-js/temp/unzip.

joseph
2016-04-26 15:01
Could you please explain me how the chaincode was loaded and run locally inside the example?

ghaskins
2016-04-26 15:01
are you asking where the peer does the download?

joseph
2016-04-26 15:02
I want to know how the chaincode run inside nodejs code of the example?

joseph
2016-04-26 15:03
I don’t know how chaincode is golang code can work in nodejs code.

mcrafols
2016-04-26 15:05
chaincode is send to the VP to execute it

joseph
2016-04-26 15:08
@mcrafols: Could you explain it further?

mcrafols
2016-04-26 15:09
nodejs is just a fancy way to use the REST API

mcrafols
2016-04-26 15:10
it calls the REST api to deploy the chaincode

mcrafols
2016-04-26 15:10
chaincode is executed in the VP after reaching consensus

joseph
2016-04-26 15:15
you mean it send golang code of chaincode to the VP and VP executes it? For example, If want to query chaincode, the source code below is sent to the VP?

joseph
2016-04-26 15:15
==================================================================================== // Query - Our entry point for Queries // ==================================================================================== func (t *SimpleChaincode) Query(stub *shim.ChaincodeStub, function string, args []string) ([]byte, error) { fmt.Println("query is running " + function) // Handle different functions if function == "read" { //read a variable return t.read(stub, args) } fmt.Println("query did not find func: " + function) //error return nil, errors.New("Received unknown function query") }

mcrafols
2016-04-26 15:18
yes

joseph
2016-04-26 15:22
it’s a real magic!

joseph
2016-04-26 15:24
@mcrafols: Thanks.

phil
2016-04-26 15:24
has joined #general

ghaskins
2016-04-26 15:25
@joseph: its actually less magic than you’d think when you look behind the curtain :wink:

joseph
2016-04-26 15:28
@ghaskins: I’m newbie to the fabric. I am very curious why golang was inside nodejs code. :smile:

ghaskins
2016-04-26 15:29
ah, the answer is that it isnt

mcrafols
2016-04-26 15:29
everything is magic until you know how it works

ghaskins
2016-04-26 15:29
it might appear that way, but the golang chaincode is sent to the validator which then compiles it as straight golang code into a binary

ghaskins
2016-04-26 15:30
@mcrafols: heh, indeed

ghaskins
2016-04-26 15:30
anything that is “in” nodejs is just acting as a front end to that process

ghaskins
2016-04-26 15:31
the validator itself is written in golang, though that has little to do with why/how the chaincode is processed

ghaskins
2016-04-26 15:32
i guess you could look at it like [golang::chaincode]->[nodejs::client]->(network)->[golang::validator]->[golang::container]

ghaskins
2016-04-26 15:33
so the first and last parts are golang/chaincode related, the stuff that happens in the middle is more or less a transport

ghaskins
2016-04-26 15:33
i.e. the client in nodejs and the validator in golang matter little here

ghaskins
2016-04-26 15:34
but maybe its better to leave it a mystery and not shatter @joseph’s impression its all voodoo magic :wink:

joseph
2016-04-26 15:35
It’s a very nice explanation.

joseph
2016-04-26 15:36
@ghaskins: Thank so much. :simple_smile:

ghaskins
2016-04-26 15:36
any time

mcrafols
2016-04-26 15:37
@joseph: would you kindly upload your question to stackoverflow using hyperledger tag? http://stackoverflow.com/questions/tagged/hyperledger

joseph
2016-04-26 15:38
Yup. I’ll do.

mcrafols
2016-04-26 15:40
thanks


joseph
2016-04-26 15:54
@mcrafols: @ghaskins please make your answers :simple_smile:

ghaskins
2016-04-26 16:04
done

toddinpal
2016-04-26 16:06
Am I missing something, or is the design of fabric primarily (only?) contained in the code? Is the current design documented anywhere as to what exactly happens when you deploy chaincode?

sheehan
2016-04-26 17:24

jzhang
2016-04-26 17:43
has joined #general

toddinpal
2016-04-26 17:46
I've read the protocol spec, but that doesn't really explain the current fabric design, at least as best I can tell.

iamprem
2016-04-26 18:40
has joined #general

antoniobovenzi
2016-04-26 21:35
has joined #general

raullaprida
2016-04-26 22:03
has joined #general

yt
2016-04-26 22:21
has joined #general


markparz
2016-04-26 23:16
Hyperledger meetup going on now in Durham, NC.... Great turn out ... @frankyclu showing how much he loves this stuff by presenting on his day off


muralisr
2016-04-26 23:22
looks good…! wish I had been there

cbf
2016-04-26 23:25
nice!

arielevycohen
2016-04-26 23:53
Kasisto uses artificial intelligence technology behind its virtual assistant banking services, announced it has received a minority investment from DBS Bank. Digibank – which speaks to what Infosys co-founder and futurist Nandan Nilekani calls the “WhatsApp moment in banking http://kasisto.com/

ashu
2016-04-27 00:32
Newbie Question on Peer / Node discovery: I was able to get the Peer node on my Mac following the instructions. Instead of setting up a Dev Network using Docker Images on the same machine I used another Mac to run another node/peer. When I ran ./peer network from one of the Macs - it did not see the other peer. How does it work? How do peer nodes discover each other?

cbf
2016-04-27 00:47
@ashu: great question for StackOverflow http://stackoverflow.com/questions/tagged/hyperledger

cbf
2016-04-27 00:48
@sheehan or @binhn may be able to answer

sheehan
2016-04-27 00:53
@ashu: Agreed this would be a good question for StackOverfllow. See https://github.com/hyperledger/fabric/blob/master/peer/core.yaml#L191 for the setting in the yaml file.

sheehan
2016-04-27 00:54
and this compose script shows how other peers connect to the root node. https://github.com/hyperledger/fabric/blob/master/bddtests/docker-compose-5.yml

cbf
2016-04-27 00:58
: as a reminder, the TSC is currently a function of the premier membership - with each Premier sponsor naming an individual to represent them on the TSC for the first six months. After the initial six month period, the TSC becomes an elected body. The electors are those who have contributed a commit or to the development of the Requirements, Architecture, Identity and Whitepaper WGs. To be nominated to run for one of the TSC seats, you need to also have at least one commit or have contributed as above.

erictsang
2016-04-27 02:31
has joined #general

lisanke
2016-04-27 03:14
has joined #general

yingfeng
2016-04-27 03:19
has joined #general

dhillonv10
2016-04-27 03:53
Hi all, I'm currently a medical student with some background and interest in the blockchain. I wanted to get more information about how I can contribute to the counterfeit drug prevention use case from the Requirements WG. There was some mention of needing help in writing use cases in the April 21st meeting, but I just wanted to ask about what to do from there: https://github.com/hyperledger/hyperledger/wiki/Requirements-WG-Status-2016-Apr-21

elliot
2016-04-27 04:06
has joined #general

yajneshrai
2016-04-27 07:47
has joined #general

lfeagan
2016-04-27 08:00
has joined #general

yaoliang
2016-04-27 08:05
has joined #general

andyz
2016-04-27 08:12
has joined #general

cbf
2016-04-27 08:50
@dhillonv10: @pjholmes leads that work… check the # channel and there’s likely someone that can help get you started


jesse
2016-04-27 11:32
has joined #general

marcpeters
2016-04-27 14:51
has joined #general

dhillonv10
2016-04-27 15:20
@cbf: Thank you! Will join the requirements channel

tszukala
2016-04-27 15:43
has joined #general

aust1648
2016-04-27 15:43
has joined #general

cbtheis
2016-04-27 15:43
has joined #general

pponugoti
2016-04-27 15:43
has joined #general

mharten1
2016-04-27 15:43
has joined #general

shashankbk
2016-04-27 15:44
has joined #general

billofarrell
2016-04-27 15:44
has joined #general

katori
2016-04-27 15:44
has joined #general

renier
2016-04-27 15:44
has joined #general

lammi
2016-04-27 15:44
has joined #general

paulcrick
2016-04-27 15:44
has joined #general

thomasw
2016-04-27 15:45
has joined #general

koppisetti
2016-04-27 15:46
has joined #general

savar
2016-04-27 15:47
has joined #general

reach2rb
2016-04-27 15:48
has joined #general

pradeep.pati
2016-04-27 15:48
has joined #general

kalpatel
2016-04-27 15:49
has joined #general

jay_guo
2016-04-27 15:49
has joined #general

hisham.ads
2016-04-27 15:50
has joined #general

sswang2016
2016-04-27 15:50
has joined #general

eyoo
2016-04-27 15:50
has joined #general

jeffspotts
2016-04-27 15:51
has joined #general

s.madduru
2016-04-27 15:52
has joined #general

mplumb
2016-04-27 15:53
has joined #general

waleone
2016-04-27 15:56
has joined #general

kathleencallaway
2016-04-27 15:57
has joined #general

akoptelov
2016-04-27 15:57
has joined #general

kevbrown
2016-04-27 16:00
has joined #general

aleks108
2016-04-27 16:01
has joined #general

yogibear
2016-04-27 16:15
has joined #general

billarm
2016-04-27 16:27
has joined #general

abtin
2016-04-27 16:36
has joined #general

christophera
2016-04-27 16:54
I don't know who is setting agenda for next F2F. @cbf? The Identity WG has 11 people who can attend a discussion at the F2F on Thursday (fewer Friday) so I'd like to get us on the schedule for that day. Thanks!

lfishle
2016-04-27 17:08
has joined #general

jrfyffejr
2016-04-27 17:34
has joined #general

christopherfranko
2016-04-27 17:36
what day is the weekly calls?

suranap
2016-04-27 17:47
has joined #general

claireglandard
2016-04-27 18:00
has joined #general

alexsani
2016-04-27 18:06
has joined #general

cbf
2016-04-27 18:07
@christophera: let’s discuss tomorrow - not sure how much overlap there will be

elsesiy
2016-04-27 20:25
has joined #general

tothfn
2016-04-27 21:10
has joined #general

ijmitch
2016-04-27 21:11
has joined #general

cbf
2016-04-27 22:19
: all, until we get Jenkins set up, for the fabric builds, which are using TravisCI, please add [ci skip] to PRs for changes to markdown files only (e.g. README.md etc)

bcbrock
2016-04-27 22:58
@cbf: Does your comment suggest that the CI environment is giving a lot of false fails? How can I clear my good name if I think my “failing” PR is actually working? Or are the committers ignoring the failures? Thanks.

cbf
2016-04-27 23:02
it seems that there are either lots of false failures or there is some behavior in pbft consensus that needs to be cleaned up, but yes there have been numerous CI fails of simple markdown tweaks, which makes no sense

cbf
2016-04-27 23:03
also, too… skipping the Travis build for doc changes will speed things up when we get to a point that we’re maxing on concurrent builds

arnaud
2016-04-27 23:08
@cbf you put [ci skip] in the PR description? On its own, at the end for instance?


arnaud
2016-04-27 23:13
Thanks

arnaud
2016-04-27 23:15
Now I'm wondering why there isn't a configuration to do that automatically if the commit only includes certain types of files

ramesh
2016-04-28 01:06
Commits with [ci skip] anywhere in commit message will ignore by Travis CI ex: git commit -m "skipping [ci skip]"

ramesh
2016-04-28 01:09
for PR's, Travis CI checks for the latest commit and if the commit message is tagged with [ci skip], Travis CI ignores the build process.

ramesh
2016-04-28 01:11
this will be use full, when you want to open a pull request early for review but you are not necessarely ready to run the tests right away.

tuand
2016-04-28 01:23
@ramesh a CI_README.md ( or Travis.md ) file detailing what can be done with Travis would be great

melboudi
2016-04-28 01:23
has joined #general

ramesh
2016-04-28 01:27
Sure tuan. will share that

n.eij
2016-04-28 01:46
has joined #general

jchenibm
2016-04-28 03:28
has joined #general

jberzoy
2016-04-28 05:12
has joined #general

gilgul
2016-04-28 06:07
has joined #general

sunil
2016-04-28 07:40
has joined #general

yhur
2016-04-28 09:16
has joined #general

jamie.steiner
2016-04-28 09:56
I'd like to get another team member set up in slack - how do I do that?

simon
2016-04-28 09:57

jamie.steiner
2016-04-28 09:58
nice:+1:

ristoalas
2016-04-28 10:16
has joined #general

dan.mccarty
2016-04-28 12:14
has joined #general

yiwenh
2016-04-28 12:29
has joined #general

arnoldt
2016-04-28 12:43
has joined #general

martinahirsch
2016-04-28 13:13
has joined #general

icollier
2016-04-28 14:11
has joined #general

purush
2016-04-28 14:23
has joined #general

mori.ohara
2016-04-28 14:30
has joined #general

mas
2016-04-28 14:35
has joined #general

dysbulic
2016-04-28 14:45
has joined #general

nivertech
2016-04-28 14:48
has joined #general

shannoncode
2016-04-28 14:52
is there a channel specific to the weekly call?

shannoncode
2016-04-28 14:52
I want to look at Vitalik's slides

sheehan
2016-04-28 14:55
they are posted in #

prism
2016-04-28 15:01
has joined #general

andrew.keys
2016-04-28 15:26
@andrew.keys uploaded a file: https://hyperledgerproject.slack.com/files/andrew.keys/F14HTR146/hyperledger-3.pdf and commented: Vitalik’s Hyperledger Slides. (Slide 13 speaks about Ethereum <> Hyperledger integration)

naol.duga
2016-04-28 15:27
has joined #general

cintel
2016-04-28 16:45
has joined #general

middleton
2016-04-28 16:49
Does someone have the logistics for next week's meeting in NY handy?

tbenzies
2016-04-28 16:49
Registration is now open for the Technical F2F on 5/5 & 5/6 at the DTCC office in Jersey City, NJ (right after the Consensus conference). Please register at your earliest convenience: https://www.regonline.com/hyperledgertechf2may2016

middleton
2016-04-28 16:51
thx @tbenzies

nsmcnyc
2016-04-28 17:15
has joined #general

maher.mahr
2016-04-28 17:20
has joined #general

louie.stavrakos
2016-04-28 17:28
has joined #general

jon_og
2016-04-28 17:34
has joined #general

alexmond
2016-04-28 17:40
has joined #general

jeremyeder
2016-04-28 17:47
@tuand: hey are you around? could we set up some time to talk?

jeremysevareid
2016-04-28 17:51
has joined #general

zghafou
2016-04-28 19:17
has joined #general

bheshwar
2016-04-28 19:23
has joined #general

radha
2016-04-28 19:42
has joined #general

rchiorean
2016-04-28 21:46
has joined #general

mcurran
2016-04-28 22:02
has joined #general

charles-cai
2016-04-29 03:53
has joined #general

joseph
2016-04-29 03:56
I followed this guide


joseph
2016-04-29 03:57
I deploy the chaincode as

joseph
2016-04-29 03:57
CORE_PEER_ADDRESS=172.17.0.2:30303 ./peer chaincode deploy -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}'

joseph
2016-04-29 03:57
It’s ok.

joseph
2016-04-29 03:59
Then I modified the chaincode and re-deployed.

joseph
2016-04-29 03:59
But I didn’t see this change on validating peers.

joseph
2016-04-29 04:00
Who could give me some ideas about this problem?


muralisr
2016-04-29 04:29
@joseph: just did

muralisr
2016-04-29 04:30
basically if you are running multiple peers in docker, did you rebuild the image after modifiying code ?

joseph
2016-04-29 04:31
No. I didn’t rebuild the images of VPS.

muralisr
2016-04-29 04:32
if you are deployyng modified code from the filesystem (in vagrant) you’d have to do that

muralisr
2016-04-29 04:33
the “-p <chaincode path>” has to exist in the go path on the VP you are pointing to

joseph
2016-04-29 04:34
I got it.

joseph
2016-04-29 04:35
Does it work if I copy the modified chaincode to the VP docker instead of rebuilding?

muralisr
2016-04-29 04:35
there are a variety of ways to do this … including using docker volumes.

muralisr
2016-04-29 04:36
but I’d just try —peer-chaincodedev mode followed by rebuilding peer

muralisr
2016-04-29 04:37
and yes, you could copy the modified chaincode to the VP the request is addressed to

joseph
2016-04-29 04:38
@muralisr: thanks.

joseph
2016-04-29 04:39
@muralisr: could you make your answer on OS link.


joseph
2016-04-29 04:39
It’s useful for someone else.

muralisr
2016-04-29 04:39
I thught I did...

muralisr
2016-04-29 04:39
thought

muralisr
2016-04-29 04:39
don;t you see it ?

joseph
2016-04-29 04:40
yup. I saw it.

muralisr
2016-04-29 04:52
ok

joseph
2016-04-29 05:27
@muralisr: do you use this example https://github.com/ibm-blockchain/marbles

joseph
2016-04-29 05:27
Does it automically upload chaincode to VPs?

muralisr
2016-04-29 05:28
@joseph: I haven’t recently (I should…). I’d think it loads your chaincode for you undercovers

muralisr
2016-04-29 05:29
btw, did rebuilding peer work for you

joseph
2016-04-29 05:29
yup. it worked.

pjholmes1
2016-04-29 05:30
has joined #general

muralisr
2016-04-29 05:32
ok. good

sumantranaik
2016-04-29 05:48
has joined #general

sylvain_lg
2016-04-29 06:25
has joined #general

ank
2016-04-29 07:25
has joined #general

brucify
2016-04-29 09:26
has joined #general

tboehm
2016-04-29 09:26
has joined #general

privoal
2016-04-29 09:40
has joined #general

jasondwong
2016-04-29 09:48
has joined #general

igor
2016-04-29 11:09
has joined #general

alexo
2016-04-29 11:34
has joined #general

ant2221
2016-04-29 11:34
has joined #general

alexo
2016-04-29 11:35
hello all

elsesiy
2016-04-29 11:38
hey there

cbf
2016-04-29 13:18
@alexo: howdy

nanzhang
2016-04-29 15:01
has joined #general

sidramesh
2016-04-29 15:37
has joined #general

ej
2016-04-29 15:57
has joined #general

chrisbetz
2016-04-29 16:18
has joined #general

jeaha
2016-04-29 17:39
multinodes

jeaha
2016-04-29 17:39
sorry. wrong place

clessor
2016-04-29 18:11
has joined #general

charliebrownrs
2016-04-29 18:11
has joined #general

erichhuang
2016-04-29 18:19
has joined #general

vharihar
2016-04-29 19:08
has joined #general

1957vespa
2016-04-29 19:19
has joined #general

gilmarwsr
2016-04-29 19:26
has joined #general

sam
2016-04-29 19:57
has joined #general

marty
2016-04-29 20:01
has joined #general

jvdstel
2016-04-29 20:23
has joined #general

serjik
2016-04-29 20:51
has joined #general

coredigitiser
2016-04-29 21:23
has joined #general

johnmoss
2016-04-29 22:06
has joined #general

canedy
2016-04-29 22:48
has joined #general

duncanjw
2016-04-30 00:20
hi. we are interested in contributing to the deployment and management of blockchains and have seen this pop up on the tech list recently

duncanjw
2016-04-30 00:21
Something like this perhaps but applied the devnet as opposed to mintnet http://www.cloudsoftcorp.com/blog/2016/04/managing-blockchain-applications-with-tendermint-and-clocker/

frankwg
2016-04-30 04:16
has joined #general

juanblanco
2016-04-30 06:21
@juanblanco pinned @andrew.keys’s PDF https://hyperledgerproject.slack.com/files/andrew.keys/F14HTR146/hyperledger-3.pdf to this channel.

juanblanco
2016-04-30 06:22
@andrew.keys: integrating the EVM in hyperledger is a fantastic idea, specially as the language is specially designed for blockchains, and the simplicity of solidity

juanblanco
2016-04-30 06:38
I have missed a few meetings where are the recordings now?

besn0847
2016-04-30 06:41
has joined #general

adrien
2016-04-30 07:29
has joined #general

andrew.keys
2016-04-30 09:29
@cbf or @tbenzies can you please share the recording of the previous meeting here?

akarapol
2016-04-30 10:44
has joined #general

cbf
2016-04-30 10:47
@andrew.keys: it is posted to the wiki post processing off of the technical steering committee link

andrew.keys
2016-04-30 11:26
thanks @cbf!

ryan_blockstack
2016-04-30 18:10
has joined #general

ryan_blockstack
2016-04-30 18:12
Hey everyone! Ryan here from http://blockstack.org

ryan_blockstack
2016-04-30 18:12
Glad to be here

juanblanco
2016-04-30 18:12
doh! I found them again the recordings.. https://github.com/hyperledger/hyperledger/wiki/Technical-Steering-Committee should not wake so early

juanblanco
2016-04-30 18:13
hi Ryan, glad you made it here, apologies for the late response.

juanblanco
2016-04-30 18:14
I am doing catch up myself

knibals
2016-04-30 20:03
has joined #general

danawang
2016-04-30 20:14
has joined #general

shrein
2016-04-30 22:36
has joined #general

ore4444
2016-04-30 23:05
has joined #general

raja
2016-05-01 00:09
has joined #general

phelanm
2016-05-01 00:36
has joined #general

2016-05-01 02:57
@j3ffyang commented on @andrew.keys’s file https://hyperledgerproject.slack.com/files/andrew.keys/F14HTR146/hyperledger-3.pdf: Thanks @andrew.keys for sharing

tonyw
2016-05-01 13:13
has joined #general

andrew.keys
2016-05-01 13:28
@j3ffyang… no prob. @juanblanco Here’s the video: https://drive.google.com/a/consensys.net/file/d/0B42vMkapQi1MREpMMlUwR2V1UDQ/view


ryan_blockstack
2016-05-01 19:27
very cool, thanks for sharing @andrew.keys

poramin
2016-05-02 02:25
has joined #general

gengjh
2016-05-02 02:29
@andrew.keys: thanks for sharing the video. :+1:

juanblanco
2016-05-02 05:17

juanblanco
2016-05-02 06:25
@andrew.keys: @cbf Great presentation on the EVM, the interoperability of private and public chains for simple integration and development is key. I am very excited for this in a none biased way. The EVM solves the key issues when interacting across different business (even if in a private way) which is what blockchains are about, interacting in a trustless way. For example the use of gas will be needed in both public and private. You could even expand this to a chargeable model for clouds when private hosting.

juanblanco
2016-05-02 06:27
I am also rather happy to see the collaboration flourishing in this early stages, as it will be a risk in the future of having yet again different types of chains, which will be very difficult to interop.

shanbhardwaj
2016-05-02 08:39
has joined #general

dba
2016-05-02 09:45
has joined #general

isidoro.ghezzi
2016-05-02 09:46
has joined #general

ds
2016-05-02 10:50
has joined #general

sth
2016-05-02 11:49
has joined #general

joseph
2016-05-02 13:10
I set up the dev network as the link


joseph
2016-05-02 13:12
I want to create a non validating peer so I can use REST service.

joseph
2016-05-02 13:13
What should I to create that NVP?

nishi
2016-05-02 13:36
has joined #general

gbansal
2016-05-02 14:50
has joined #general

aarpy
2016-05-02 15:43
has joined #general

subashan
2016-05-02 16:32
has joined #general

johnedge
2016-05-02 17:02
has joined #general

testingbuzz
2016-05-02 17:46
has joined #general

milansijan
2016-05-02 20:34
has joined #general

dnoller
2016-05-02 21:27
has joined #general

timhahn
2016-05-02 21:31
has joined #general

filippoburnelli
2016-05-02 21:47
has joined #general

rajv
2016-05-02 21:48
has joined #general

pgimelberg
2016-05-03 00:59
has joined #general

jafaeldon
2016-05-03 02:03
has joined #general

pong.pantola
2016-05-03 04:04
has joined #general

wyndell
2016-05-03 04:30
has joined #general

cmanghini
2016-05-03 05:20
has joined #general

dayu
2016-05-03 06:39
has joined #general

yannik
2016-05-03 08:00
has joined #general

terryzk
2016-05-03 08:50
has joined #general

joost
2016-05-03 09:11
has joined #general

he-ad
2016-05-03 09:34
has joined #general

romeokienzler
2016-05-03 09:57
has joined #general

arner
2016-05-03 10:54
has joined #general

manjuhr1
2016-05-03 10:58
has joined #general

faandg
2016-05-03 11:26
has joined #general

kendagor
2016-05-03 11:56
It's not far fetched to observe http + html + javascript + browser is a great blockchain infrastructure with the browser implementing the "fabric" execution platform... :bulb: Anyone can script a web application "blockchain" ( using javascript, provide ui using html, specialize the application using REST to utilize the cloud, pledge some kind of security assurances using certs) and count on trusted browsers to securely execute the application. Methinks it checks off a good number of fundamental requirements of a "Hyperledger" with the "consensus" mechanism being the overall experience if it is generally contended by the user that it fulfills whatever need he had of the application, i.e. Ordering pizza :stopwatch:

kendagor
2016-05-03 11:59
I believe this may qualify as a very loose edge use case...

kendagor
2016-05-03 12:04
It does bring forth elements that may be interesting later on down the road for Hyperledger, for example conceptualizing a richer than command-line UI blockchain on the fabric..

simon
2016-05-03 12:08
what are trusted browsers?

kendagor
2016-05-03 12:10
The small set of well-known browsers users have by human consensus agreed are generally fine to use: firefox, chrome, IE/Edge (without prejudice :) )

simon
2016-05-03 12:24
trusted in what way?

simon
2016-05-03 12:24
that's all the browsers that are out there

jamie.steiner
2016-05-03 12:31
the trust store that ships with browsers is basically the PKI trust anchor for the internet. whether that's a good idea or not is debatable, but it does seem to be the state of affairs.

simon
2016-05-03 12:34
i think that's not what kendagor meant with trusted browser

kendagor
2016-05-03 12:35
And to discover such an application the www uri is the unique signature to the application. It begs to ask, are we doing a 22nd century reinvention/perfection of the wheel?

simon
2016-05-03 12:37
kendagor: i don't understand what you are talking about

simon
2016-05-03 12:37
are you saying that the web is a blockchain?

sth
2016-05-03 12:39
Is "trust" necessary, or is "trustlessness" - the certainty of algorithmic outcomes - the essence of interactions with blockchain applications including web browsing?

simon
2016-05-03 12:40
web browsing is full of trust

sth
2016-05-03 12:41
unnecessarily so, imo.

simon
2016-05-03 12:41
how would it work with less trust?

simon
2016-05-03 12:42
it's all about trusting identities, or delegates of identities

kendagor
2016-05-03 12:46
Simon, correct, it's legitimate to make that observation that the browserland web is a blockchain and with an open mind evaluate what we're doing in Hyperledger if we're treading the same path but perhaps with some key deficiencies we're trying to fix and the question would be what those are.

sth
2016-05-03 12:46
one attraction of, for example, smart contracts is that I don't have to trust the other party to perform, it is pre-determined by the algorithm that I can fully understand - in principle :wink:

simon
2016-05-03 12:47
kendagor: but the web isn't a blockchain - it has none of the properties

sth
2016-05-03 12:47
ipfs, if I understand correctly, aims to correct that.

jamie.steiner
2016-05-03 12:48
ipfs is also not a blockchain - but it is awesome :wink:

sth
2016-05-03 12:48
sorry to deviate from hyperledger, my bad.

jamie.steiner
2016-05-03 12:50
I actually think ipfs is a key enabling technology for blockchains, and the Merkle DAG might have many great uses within blockchains.

simon
2016-05-03 12:52
how is ipfs related to blockchains?

jamie.steiner
2016-05-03 12:56
ipfs describes data purely based on content and it's hash value, via the Merkle DAG. It is, in a sense, immutable, like blockchain. Both have censorship resistance as a goal. Both are equalizing forces that empower individuals. I see them as ideological allies, beyond the plain "you can store a blockchain on IPFS" or "you can enter a MerkleDAG root into a blockchain"

simon
2016-05-03 12:58
what's the difference between merkle DAG and merkle tree?


simon
2016-05-03 13:02
so the same

jamie.steiner
2016-05-03 13:03
they are different data structures, but share some properties

coboyle
2016-05-03 14:06
has joined #general

rajkannanrajan
2016-05-03 16:05
has joined #general

christopher_crane
2016-05-03 17:04
has joined #general

shashi
2016-05-03 17:58
has joined #general

quantumgravity
2016-05-03 18:17
has joined #general

bden98
2016-05-03 19:33
has joined #general

tleyden
2016-05-03 19:47
has joined #general

paul.nema
2016-05-03 20:00
has joined #general

beauson45
2016-05-03 20:10
ipfs sounds like something from hitchikers guide :laughing:

vipinb
2016-05-03 20:13
http://www.coindesk.com/consensus-2016-building-blocks-hackathon-winner/ our own oleg abdrashitov wins consensus 2016 hackathon with hyperledgerproject blue mix solution at microsoft

archana
2016-05-03 20:38
has joined #general

tleyden
2016-05-03 20:38
I just found a page with more info on that Decentralized Energy Utility project: http://devpost.com/software/decentralized-energy-utility (+ link to github)

tleyden
2016-05-03 20:40
are there currently any “public nodes” running the hyperledger fabric?

tleyden
2016-05-03 20:40
or if I wanted to play with fabric I’d have to convince some other folks to participate in a private blockchain?

vipinb
2016-05-03 20:47
You can run your own with multiple peers

cbf
2016-05-03 20:50
you can get two nodes on http://bluemix.net

tleyden
2016-05-03 21:02
I see. So to play with it, I can spin up multiple peers that I control, and then to do something useful with it, I’d have to form a network of peers who wanted to participate.

tleyden
2016-05-03 21:03
Is there an issue if one entity controls > 50% of the nodes like in bitcoin? Can the blockchain be forked/manipulated in that case?

tleyden
2016-05-03 21:05
I guess what I’m really asking is whether there are docs that describe the security model of hyperledger/fabric .. and how that differs from something like bitcoin or ripple

cbf
2016-05-03 21:10
@tleyden: no, it is a permissioned network that we’ve deployed on bluemix - consensus is pbft not pow.


tleyden
2016-05-03 21:17

sickes
2016-05-03 23:51
has joined #general

weizhao
2016-05-04 02:52
I have questions related to chaincode. When we design a system based on hyperledger, we will implement a chaincode for a specific scenario. When we use such a system, it will deploy multiple chaincode instances for different business transaction instances. It means the chaincode instances will increase infinitely. Is there any method to address this problem? Another question is about the upgrade of the chaincode, what is the suggested practice to perform chaincode upgrade caused by bug fix, policy upgrade, system upgrade, etc.

muralisr
2016-05-04 03:05
@weizhao: there have been discussions on instances and some activity in life-cycle (for example please see https://github.com/hyperledger/fabric/issues/1127). Currently new chaincode creation depends only on the “deploy” verb. That will likely change in future to accomodate upgrade and creation of instance

gengjh
2016-05-04 03:07
answer your second question: yes, as @muralisr mentioned that is chaincode lifecycle management which is still WIP.

muralisr
2016-05-04 03:07
Some active discussion on instances can be found for example in https://github.com/hyperledger/fabric/issues/373

muralisr
2016-05-04 03:08
there’s work to be done in all these areas and there are many approaches to this. For example, instances can be thought of as instantiations of a chaincode or as one chaincode managing instances as state and so on.

ichiroworks
2016-05-04 03:19
has joined #general

raees
2016-05-04 04:09
has joined #general

pustanislaus
2016-05-04 04:36
has joined #general

totaltully
2016-05-04 05:22
has joined #general

memas
2016-05-04 05:56
has joined #general

pshivakumar8774
2016-05-04 10:24
has joined #general

robtrotter
2016-05-04 11:16
has joined #general

mlazar
2016-05-04 11:35
has joined #general

risto.laanoja
2016-05-04 12:18
has joined #general

larrykoved
2016-05-04 14:23
has joined #general

hill
2016-05-04 14:29
has joined #general

lprasad
2016-05-04 16:41
has joined #general

mpetrov
2016-05-04 17:57
has joined #general

jeromefroe
2016-05-04 18:09
has joined #general

richard02ca
2016-05-04 18:48
has joined #general

emomo
2016-05-04 22:55
has joined #general

paulx
2016-05-05 00:32
Hi, does anyone have issues with IBM's blockchains samples? I've downloaded a few of their apps such as the marbles sample and the commercial paper app. The web front end and blockchain service run, but don't seem to connect. The web UI has a popup saying "Waiting on the node server to open up so we can talk to the blockchain. This app is likely still starting up. Check the server logs if this message does not go away in 1 minute.", but this never goes away... i've tried removing the app and deploying to bluemix again, but no luck...

devin.d
2016-05-05 03:00
has joined #general

alexliusch
2016-05-05 03:41
has joined #general

paulx
2016-05-05 03:57
On the IBM blockchain error, there is an issue logged on https://github.com/IBM-Blockchain/marbles/issues/6 that describes the need to change a variable on setup.js to reflect the local IP

alexyounes
2016-05-05 04:30
has joined #general

paulx
2016-05-05 06:41
The resolution listed in the github issue talks to changing the host name in the setup.js file, should this represent the host name / ip of the UI or the blockchain service?

zhouhn
2016-05-05 07:16
has joined #general

mcrafols
2016-05-05 07:55
@paulx: how are you deploying the marbles app? Are you trying a local deployment or using bluemix?

paulx
2016-05-05 08:03
Bluemix. I've just been using the deploy to Bluemix button from GitHub

paulx
2016-05-05 08:04
Have tried editing the host in the setup.js file, but doesn't seem to change anything

mcrafols
2016-05-05 08:05
that button allows you to run marbles without needing a local copy of the marbles app

mcrafols
2016-05-05 08:05
it runs everything in the cloud

paulx
2016-05-05 08:12
Yes I know, just doesn't seem to work any more. I had it working around two weeks ago using my Bluemix account, just seemed to stop working

mcrafols
2016-05-05 08:15
that's probably because they are updating it to work with hyperledger

mcrafols
2016-05-05 08:16
the bug you just pointed out is for when you want to deploy Marbles locally (without using bluemix)

paulx
2016-05-05 08:46
Ok thanks

paulx
2016-05-05 08:46
It definitely still deploys obc to Bluemix

muschmitz
2016-05-05 08:51
has joined #general

jacksonlim
2016-05-05 08:59
@paulx, to resolve the marbles app issue you had, which was due to the update of the new Blockchain service in Bluemix, delete your old marbles app and deploy again. It worked for me.

garisingh
2016-05-05 12:14
@paulx - thanks for your patience. we are thinking to possibly add some of these samples somewhere under the HL repo soon. Would be great to get some help from the community with making sure we can keep these demos working with HL as it changes.

sparvataneni
2016-05-05 12:53
has joined #general

trblaies
2016-05-05 14:13
has joined #general

mitchell
2016-05-05 14:26
@mitchell uploaded a file: https://hyperledgerproject.slack.com/files/mitchell/F16DDEV4Z/hlf2f_sawtooth_lake_overview_20160505.pdf and commented: Here are the Sawtooth Lake slides. Thanks!

cbf
2016-05-05 15:16
thanks!

cbf
2016-05-05 15:17
@andrew.keys: could you please have Kieren post his blockapps chart here? thanks

andrew.keys
2016-05-05 15:30
yes @cbf. on it.

kalyanlanka
2016-05-05 15:31
has joined #general

quentinlesceller
2016-05-05 15:56
has joined #general

jgcollier
2016-05-05 17:12
has joined #general

arndt.schnabel
2016-05-05 17:15
has joined #general

yiseul
2016-05-05 17:57
has joined #general

jzhang
2016-05-05 19:17
I have a question about PBFT. so it's possible that in a private network with a small number of peers, a subset of nodes greater than "m" of PBFT can collude in rigging the chaincode output to their advantage and to the disadvantage of the honest nodes, thus defeating the consensus. Essentially such a network can only work based on the assumption that m (number of rogue nodes tolerated by PBFT) is large enough to make it impossible for that many parties to collude. would we then come to the logical conclusion that PBFT would not be suitable for a network with less than 10 nodes (assuming it’s relatively easy for 2 parties to agree on an evil plot but difficult to get 3 or more to do that), with each node owned by a truly independent entity?

miklem
2016-05-05 19:35
has joined #general

garisingh
2016-05-05 19:41
@jzhang: PBFT is proven to work for 3f+1 peers where f = number of faulty (system or malicious) nodes. So if you want to tolerate 2 faulty nodes, then you need (3*2) + 1 = 7 nodes. But in general, the tone of the question is correct - when designing a PBFT network you need to take into account the number of faulty nodes you expect / can tolerate. If you had 4 peers, you can tolerate 1 faulty peer so if 2 colluded, the network would halt but the integrity of the data would be intact

jzhang
2016-05-05 19:54
@garisingh: when you say “data would be intact” how is it guaranteed that output from chaincode execution can’t be altered by a group of malicious nodes > f?

garisingh
2016-05-05 20:02
@jzhang: in the example I gave, there were 4 nodes and only 2 colluded so that would not be 2f+1 votes - meaning consensus would not be reached, things would halt but state would not be updated either. But if there were 3 out 4 nodes colluding, then of course you have 2f+1 and the 4th node would have to accept the changes agreed on by the others.

garisingh
2016-05-05 20:03
but if 3 of 4 were colluding, then its probably not collusion according to the proof

jzhang
2016-05-05 20:17
"if 3 of 4 were colluding” - that’s exactly what i’m getting at, it’s totally conceivable that as a business I’d be really nervous about participating in a small network like that because it’s not hard to imagine the 3 other parties could be colluding for consensus. so I’d only be comfortable to join a network > 4 nodes if consensus is based on PBFT (assuming I decided that it’s impossible for more than 3 parties to collude)

ry
2016-05-05 20:22
We are meeting at http://www.battellojc.com at 6. It is a ten minute walk south on Washington.

andrew.keys
2016-05-05 20:38
@andrew.keys uploaded a file: https://hyperledgerproject.slack.com/files/andrew.keys/F16FS0BRR/blockapps_platform_architecture_and_roadmap.pdf and commented: It was great meeting you all today. Please see attached BlockApps Platform Architecture and Roadmap.

hscholl
2016-05-05 21:17
has joined #general

deepakraous
2016-05-05 21:31
has joined #general

davery
2016-05-05 21:38
has joined #general

julio
2016-05-05 22:19
has joined #general

arungopal
2016-05-05 23:19
has joined #general

joycn
2016-05-06 01:55
has joined #general

erictsang
2016-05-06 02:02
Good day - requesting some help from the community here. There’s a speaking opportunity for a Blockchain webinar series we are running - to draw more attention to the Hyperledger project and highlight its potential impact on the Blockchain ecosystem. We’re looking for 1-2 speakers! I’m Eric from Lynk. Our mission is to enable people to share knowledge and expertise, which is why we’re running this webinar series. The session on Hyperledger will be one part of a series we’re doing. Topics are: 1. Finding practical applications/use-cases for corporations 2. Bitcoin security - what’s in development and what should we expect 3. Trends in ethereum smart contracts and decentralized apps 4. Hyperledger and the readiness of enterprise-grade Blockchain development 5. Future of Sidechains and associated challenges 6. Assessing Impact of Blockchain technology on our society 7. How this new technology can be used to make financial markets more transparent The webinars are tentatively scheduled for early June. We’re inviting nominations from you guys on who you would like to see as a speaker on the topic of Hyperledger. Please help me by nominating a few people who would be good speakers for the Hyperledger session. Thanks very much!

leizh1984
2016-05-06 04:26
has joined #general

stefan.george
2016-05-06 06:15
has joined #general

epasch
2016-05-06 06:19
has joined #general

simon
2016-05-06 10:21
@jzhang, @garisingh: if you have 2 byzantine nodes in a 4-node network, it doesn't imply that consensus doesn't make progress. consensus can make progress (depending on what the byzantine nodes do), but your correctness is no longer guaranteed. In other words, the colluding byzantine nodes could craft an alternate blockchain development (and even history, to some degree) and accuse the other two (actually correct) replicas of colluding. No way to tell the difference.

dl
2016-05-06 11:41
has joined #general

crow15
2016-05-06 13:25
has joined #general

michaelhaley
2016-05-06 13:41
has joined #general

spomytkin
2016-05-06 14:14
has joined #general

ple
2016-05-06 14:14
has joined #general

dn0sar
2016-05-06 14:44
has joined #general

d.w.krypto
2016-05-06 15:29
has joined #general

lockste
2016-05-06 15:46
has joined #general

cb_akb
2016-05-06 16:01
has joined #general

jeremysevareid
2016-05-06 16:03
Critical dev ops item came up in Identity WG yesterday and in the face2face general session today - "Fiduciary Code" - review and promotion of the code base releases probably ought to be locked down and signed via electronic signatures and entitlements and perhaps its own blockchain - this is crucial basis for eating own dog food and tamperproofing - audit/compliance/legal review-friendly items needs to start with the code base, runtime crypto and logging is not sufficient

brentxu
2016-05-06 16:07
has joined #general

jeremysevareid
2016-05-06 16:20
Related to "Fiduciary Code" are "Fiduciary Events". Runtime events like a smart contract that evals to false needs to be recorded in the blockchain for non-repudiation purposes. Likewise, voting a validator node in or out has business / regulatory implications, so should also be recorded on the block.

chetsky
2016-05-06 16:45
@jeremysevareid: waht does "a smart contract that evals to false" mean? Just want to get clarity ....

jeremysevareid
2016-05-06 17:02
i.e., transaction that is validated / confirmed or not (e.g., signatures are valid or if they are not)

chetsky
2016-05-06 17:07
aha. ok, so you mean a submitted tran, that wasn't validated. gotit. indeed, we agree.

jeremysevareid
2016-05-06 17:31
anyone tackling these items already?

mtabidi
2016-05-06 17:43
has joined #general

jeremysevareid
2016-05-06 17:47
Ram suggested that these items be added as use cases (or possibly requirements) to begin with so they get fed into the project's process

jeremysevareid
2016-05-06 17:57
Added to wiki as use cases

svetlanaf
2016-05-06 18:25
has joined #general

jlaraia
2016-05-06 18:48
has joined #general

cbf
2016-05-06 20:17
: I created # channel to facilitate contributors requesting an invite to the GitHub hyperledger org

ry
2016-05-06 22:44
I recovered two items: one is a hat, the other a notebook. If one is yours, please send me a message describing the item and let’s arrange to return it to you. They’re both fairly distinct. Also, thank you for making the f2f a great success!

cbf
2016-05-06 23:14
thanks @ry and @tbenzies and DTCC for hosting a great F2F

cbf
2016-05-06 23:17
next month we'll try left coast .. soliciting volunteer hosts - IBM could possibly host in south San Jose... SF might be better for some... let me or @philipdesautels or @tbenzies know if interested

slstefan
2016-05-07 11:29
has joined #general

fb
2016-05-07 17:17
has joined #general

fb
2016-05-07 17:21
heya everyone

fb
2016-05-07 17:22
who's the owners of this project? :simple_smile:

ry
2016-05-07 19:17
Here is the TSC, if that's what you mean: https://www.hyperledger.org/about/tsc

pankaku8
2016-05-08 00:10
has joined #general

erik
2016-05-08 03:20
has joined #general

haibhailie
2016-05-08 07:28
has joined #general

valeriy.filippov
2016-05-08 10:07
has joined #general

joequant
2016-05-08 22:00
With respect to the IBM blockchain app, I'm trying to set up some scripts so that I can deploy the app locally.

joequant
2016-05-08 22:00
it's under joequant/hyperledger

joequant
2016-05-08 22:02
Also posted a "ping" about Hong Kong government efforts to promote blockchain here. If you are a one person startup or a Fortune 500 company, I can put you in touch with the right people to set up business in HK.

pablofullana
2016-05-08 22:04
has joined #general

ranga
2016-05-08 23:27
@philipdesautels @tbenzies Regarding venue for next Hyperledger F2F in the SF Bay area, Skuchain can host it in our office meeting space in Mountain View. We have held meetings like the Blockchain University and Cryptonomicon here in the past.

ranga
2016-05-08 23:34
cc @cbf regarding venue for next F2F above.

ry
2016-05-08 23:35
@ranga how many seats?

ry
2016-05-08 23:37
Approximately. I think at DTCC we had about 50 or 75 people, but it followed on Confluence, which boosted attendance

ranga
2016-05-08 23:38
@ry Around 50. We could go up to 75.

ry
2016-05-08 23:39
@ranga: thank you.

kcar
2016-05-09 01:43
has joined #general

l77
2016-05-09 05:58
has joined #general

shubhamvrkr
2016-05-09 06:24
has joined #general

chowkeljin
2016-05-09 08:18
has joined #general

lg-fuzo
2016-05-09 08:25
has joined #general

simon
2016-05-09 09:22
jeremysevareid: recording invalid transactions means easy DoS surface for the blockchain that everybody suffers from.

grapebaba
2016-05-09 11:29
i found it has a fabric-api project under hyperledger project

grapebaba
2016-05-09 11:29
what's this project for

shai
2016-05-09 11:38
has joined #general

simonarbaker
2016-05-09 12:32
has joined #general

sheehan
2016-05-09 13:02
@grapebaba: This is an API for the Fabric project contributed by DAH. There are details in the TSC minutes. http://lists.hyperledger.org/pipermail/hyperledger-tsc/2016-April/000142.html

jhamel
2016-05-09 13:34
has joined #general

grapebaba
2016-05-09 14:42
@sheehan: i saw it already exists a api module in fabric project implemented by golang, what's the usage of this java one?

s.bodwell
2016-05-09 14:43
has joined #general

grapebaba
2016-05-09 14:50
@sheehan: it seems not a rest client, it use grpc directly to invoke the blockchain service?

sheehan
2016-05-09 15:28
@grapebaba: let’s discuss in the # channel

cesarcardo
2016-05-09 15:52
has joined #general

udi
2016-05-09 19:20
has joined #general

jeroiraz
2016-05-09 19:35
has joined #general

ottodolfo
2016-05-09 19:45
has joined #general

joaquinmoreno
2016-05-09 21:55
has joined #general

vax
2016-05-09 21:56
has joined #general

plucena
2016-05-09 21:56
has joined #general

sergiom
2016-05-09 22:26
has joined #general

conor
2016-05-09 22:39
has joined #general

mauronunez
2016-05-10 00:28
has joined #general

chatch
2016-05-10 00:52
has joined #general

fox
2016-05-10 00:56
has joined #general

khit
2016-05-10 01:07
has joined #general

mqshen
2016-05-10 01:22
has joined #general

lhy555
2016-05-10 03:45
has joined #general

sguilaume
2016-05-10 05:48
has joined #general

testingbuzz
2016-05-10 06:07
Need Help: I want to understand system requirements to run hyperledger test network with 1 million transaction per day, any help is greatly appreciated.

bari
2016-05-10 06:52
has joined #general

fredzhang0421
2016-05-10 07:19
has joined #general

joseph
2016-05-10 07:24
is there something like roll back when transferring asset failing ?

jyg
2016-05-10 07:55
has joined #general

dove-young
2016-05-10 08:10
has joined #general

kmaschta
2016-05-10 08:26
has joined #general

singhvi
2016-05-10 08:30
has joined #general

seshak
2016-05-10 08:49
has joined #general

manh.nguyen
2016-05-10 09:38
has joined #general

ikocsis
2016-05-10 10:37
has joined #general

ben
2016-05-10 10:42
has joined #general

bignano
2016-05-10 11:00
has joined #general

andreag
2016-05-10 11:06
has joined #general

tangross
2016-05-10 14:49
has joined #general

jlopp
2016-05-10 16:01
has joined #general

he-ad
2016-05-10 16:06
Hi all, I am posting a message here with some questions regarding membership services. I am a French developer who recently left his job to create a startup around B2B blockchain applications. I have been following the blockchain's ecosystem for some time now and I strongly believe the Hyperledger's specifications makes it perfectly suited for B2B applications. I started working around some business cases on the Hyperledger protocol. I want to simulate a full bockchain network, ie several companies working on an unique blockchain with different access rules (as described in the 4th protocol-spec paragraphe). However as mentionned in the 4,7th paragraphe some restrinctions in the current release don't allow it. Is there roadmap for the implementation of the fully operational membership service ? Thanks for your answers.

francescoroda
2016-05-10 16:12
has joined #general

jonathan.mohan
2016-05-10 16:13
SWIFT just put out an 80 page paper on securities lifecycle on a blockchain


cbf
2016-05-10 16:19
@jonathan.mohan: thanks for the link!

rogerm
2016-05-10 16:31
has joined #general

jdombrowski
2016-05-10 19:56
has joined #general

dhkim717
2016-05-10 20:08
has joined #general

dhkim717
2016-05-10 20:09
vagrant

andrew.keys
2016-05-10 20:29
http://www.coindesk.com/fidor-ethereum-core-banking/ Permissioned ETH blockchain use case in pretty decent depth.

cschluep
2016-05-10 20:48
has joined #general

jvgelder
2016-05-10 20:51
has joined #general

zaki
2016-05-10 22:39
Skuchain is hosting a Hyperledger meetup on May 24th to talk about our work developing supply chain chaincode https://twitter.com/zmanian/status/730163115833196544

ian.panchevre
2016-05-10 23:36
has joined #general

ian.panchevre
2016-05-10 23:48
Hello all, my name is Ian. Looking forward to helping out with the effort.

ian.panchevre
2016-05-10 23:52
I have a very basic question for the group... Bitcoin incentivizes the mining network by coining new BTC in each block. What sort of incentive system or virtual currency/asset will hyperledger offer to participating miners?

cbf
2016-05-10 23:55
we aren’t using POW. Right now we have a few alternate consensus algorithms - pbft (couple of flavors) and POET which is Intel’s Proof of Elapsed Time (see Swatooth lake repos)

cbf
2016-05-10 23:55
Sawtooth Lake

ian.panchevre
2016-05-10 23:56
okay, thanks. Can you provide any links that document the consensus algorithms in more detail?

ry
2016-05-10 23:58
ian.panchevre: there’s a lot in the wiki: https://github.com/hyperledger/hyperledger/wiki

ian.panchevre
2016-05-11 00:02
Awesome. Thank you! Reading the Hyperledger Whitepaper now and expect to have a much better understanding of the architecture. Sorry for the elementary questions. I'll ramp up soon enough!

ry
2016-05-11 00:05
this channel is for elementary questions. Don’t apologize!

gregwallace
2016-05-11 00:12
has joined #general

mmartins
2016-05-11 03:17
has joined #general

yogeshkasture
2016-05-11 05:26
has joined #general

joseph
2016-05-11 09:03
Who could please tell me how does the fabric chaincode manage rollback/commit transactions?

simon
2016-05-11 09:08
best discuss in #

meheryar
2016-05-11 11:59
has joined #general

geraldlilly
2016-05-11 12:51
has joined #general

vivsoft
2016-05-11 13:07
has joined #general

jianzhang98
2016-05-11 13:11
has joined #general

sz
2016-05-11 13:16
has joined #general

vivsoft
2016-05-11 13:40
Hello all ~ Thank you for the add. I am new to all of this. I have read countless Blockchain documents and at this point it is getting worse, I am understanding less :disappointed: ... So to remedy this I need to understand a practical implementation of Blockchain, aka, get code and actually do something with it. Being that I am so new at this, where is absolute step 1 for a person like me? Where do I start? (Also, if this is not the correct form, I am sorry as I know we are all very busy etc...)

cbf
2016-05-11 13:43
another milestone… 1,000 slacktivists! cool;-)

primrose
2016-05-11 14:02
@vivsoft I have a few starred slack items on getting fabric and sawtooth code, installing them and at least for fabric, the first steps to running the demos. I am not sure how to share this. let me try a few things and see. if it doesn't seem feasible to send them publicly, i'll pm them to you

vivsoft
2016-05-11 14:03
@primrose: Thank you so much ...

tsariounov
2016-05-11 14:08
@vivsoft: For fabric, you can start with the Getting started guide (https://github.com/hyperledger/fabric/blob/master/docs/README.md), building the peer guide (https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/install.md) and finally, the building and running chaincode guide (https://github.com/hyperledger/fabric/blob/master/docs/API/SandboxSetup.md). Working through those should give you a pretty good idea of what fabric is about.


primrose
2016-05-11 14:13
@vivsoft: sawtooth: http://intelledger.github.io/ (I haven't tried this one yet. I should get some time for that soon)

vivsoft
2016-05-11 14:30
@primrose: On it ... Thank you so much so far !

harisha
2016-05-11 15:49
has joined #general

muralidhar.vvk
2016-05-11 16:03
has joined #general

chetsky
2016-05-11 16:19
@ghaskins if you're interested in ia32, don't know if you've already found 'em, but there were two minor bugs I found.


ghaskins
2016-05-11 16:20
ty

muralidhar.vvk
2016-05-11 16:31

cbryan
2016-05-11 16:38
has joined #general

markfigley
2016-05-11 19:24
has joined #general

anillakhanpal
2016-05-11 19:37
has joined #general

venganesh
2016-05-11 19:40
has joined #general

weeds
2016-05-11 19:48
has joined #general

aleksandar.likic
2016-05-12 01:02
has joined #general

brizen
2016-05-12 03:36
has joined #general

eleven
2016-05-12 03:47
has joined #general

ewat456
2016-05-12 04:13
has joined #general

shesha.raghunathan
2016-05-12 04:22
has joined #general

eleven
2016-05-12 04:27
hi all. I am new.

eleven
2016-05-12 04:29
I want to establish a server running the full node and mining. Could someone give me a tips about the hardware requirements ,please?

gengjh
2016-05-12 04:33
@eleven: if you are talking about fabric, you can try this: https://github.com/hyperledger/fabric/tree/master/docs. For the sawtooth, you need read this: http://intelledger.github.io/

gengjh
2016-05-12 04:38
for the hardware requirements, i have not found any statement regarding this. really depends on your business logic and how many transactions will be handled. At least we need 8GB memory I think

dugusanfeng
2016-05-12 04:38
has joined #general

eleven
2016-05-12 04:38
thanks very much .@gengjh

john.kim
2016-05-12 05:13
has joined #general

ddutta
2016-05-12 07:25
has joined #general

wangld
2016-05-12 08:40
hi all. I am new. I don't understand why the ECAA’RegisterUser method does not have a rest endpoint as the ECAP'CreateCertificatePair.

synergy
2016-05-12 09:02
has joined #general

jrcligny
2016-05-12 09:11
has joined #general

sudhanva
2016-05-12 11:22
has joined #general

gengjh
2016-05-12 11:59
@wangld: should be WIP, maybe you can contribute that :slightly_smiling_face:

pjhavariotis
2016-05-12 14:36
has joined #general

james_orwell
2016-05-12 15:01
has joined #general

christopherfranko
2016-05-12 15:13
id like to submit a few use cases

dhkim717
2016-05-12 15:28
hey, I am a new user and tried install fabric. by the what should I put <username> in the following command? git clone https://github.com/<username>/fabric.git

simon
2016-05-12 15:30
hyperledger

dhkim717
2016-05-12 15:30
thanks!

simon
2016-05-12 15:30
or your own, if you forked the repo

dhkim717
2016-05-12 15:30
ok, I will try

steffi
2016-05-12 15:38
has joined #general

arnaud
2016-05-12 15:50
@dhkim717: the difference between the two options @simon gave you is significant

arnaud
2016-05-12 15:51
username should be your github id

arnaud
2016-05-12 15:52
you first fork the repo - that will essentially create a copy under your user id

arnaud
2016-05-12 15:52
then you clone that copy to your local machine to work on

arnaud
2016-05-12 15:54
that's the normal way of working

arnaud
2016-05-12 15:54
but if you don't plan on submitting any changes just cloning the hyperledger repo is ok

dhkim717
2016-05-12 15:54
I see!

codascud
2016-05-12 16:15
has joined #general

kumbhi
2016-05-12 17:37
has joined #general

aruntonio
2016-05-12 18:10
has joined #general

janu
2016-05-12 18:23
has joined #general

mkayaalp
2016-05-12 18:34
has joined #general

maro
2016-05-12 18:45
I am trying to connect and send data to the first Validating Peer (VP) with the IP address and port number CORE_VM_ENDPOINT=http://172.17.0.1:2375. How do I connect and send data to the VP from devices located on other networks on the internet? I am currently running through the page (Setting Up a Network For Development: https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devnet-setup.md). My understanding is that the IP address 172.17.0.1 is assigned to an host on a CLASS B Network. And a class B network is reserved for use by private networks that are not connected to the internet. I am willing to open a port to my computer from my router (connected to the internet) and do port forwarding. Please advise. Thanks.

vpaprots
2016-05-12 18:55
@maro have a look at -p option under docker (i.e. -p 5000:5000 will map/forward ports from docker to the host machine..) at which point you need to open your host machine firewall up..

vpaprots
2016-05-12 18:58
if you are running Linux on your host, the command will look something very similar to `iptables -I INPUT -p tcp --dport 5000 -j ACCEPT` (haven't tested, just from .bash history)

arnaud
2016-05-12 19:51
@maro for fabric specific questions you should go to the # channel

f242
2016-05-12 20:07
has joined #general

pkenneyusibmcom
2016-05-12 20:53
has joined #general

rajesh
2016-05-12 21:44
has joined #general

mgutala
2016-05-12 21:57
I get this error when I got the latest code vm_test.go:76: Error building Peer container: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage

muralisr
2016-05-12 21:58
@mgutala: if you moved to the latest code you may want to do vagrant destroy

muralisr
2016-05-12 21:59
and vagrant up

shimo
2016-05-12 22:06
has joined #general

david.acton
2016-05-12 23:08
Hi, is there an idiot's guide/comprehensive walkthrough for fabric that covers best practice?

david.acton
2016-05-12 23:08
or a tutorial?

vipinb
2016-05-12 23:12
@david.acton: good to see you here see @primrose 's directions above

david.acton
2016-05-12 23:13
Hey Vipin! I'll take a look

david.acton
2016-05-12 23:16
@vipinb The instructions above I have sorted already.. I guess it’s more around more indepth topics like when to use key storage vs a table. What the the performance differences etc.

paul_xbt
2016-05-13 04:17
has joined #general

yajneshrai
2016-05-13 04:28
Hi! I was going through some chaincodes, and I could not get what is 'stub'? If someone could explain, please!

alex.montoya
2016-05-13 08:32
has joined #general

primrose
2016-05-13 09:44
@david.acton: maybe ask on the # channel?

xinxi
2016-05-13 10:22
has joined #general

kartsank
2016-05-13 12:22
has joined #general


dhkim717
2016-05-13 14:56
I have to do "Go build". my question is where should I type "cd $GOPATH ..." in VM or just my machine?

dhkim717
2016-05-13 14:56
after typing vagrant ssh...ubuntu is working

tuand
2016-05-13 14:58
in your vagrant ... although building is done via make now. are you running with an older commit ?


tuand
2016-05-13 15:06
oh , you're referring to the chapter title ! my misreading

dhkim717
2016-05-13 15:06
yes, to do "Go build",

dhkim717
2016-05-13 15:06
in previous line, From within the VM, you can build, run, and test your environment

arnaud
2016-05-13 15:06
yes, from the VM

dhkim717
2016-05-13 15:07
but, in VM, I can not access the files

arnaud
2016-05-13 15:07
once you've done the first step of building your VM using vagrant up, you should do everything else within it

arnaud
2016-05-13 15:07
you should be able to

arnaud
2016-05-13 15:07
there are in $GOTPATH/src

arnaud
2016-05-13 15:08
your disk is mounted into the VM

arnaud
2016-05-13 15:08
you do vagrant ssh, right?

dhkim717
2016-05-13 15:09
yes

dongmingh
2016-05-13 15:09
has joined #general

arnaud
2016-05-13 15:09
try: cd $GOPATH/src/github.com/hyperledger/fabric

arnaud
2016-05-13 15:10
which should be /opt/gopath/src/...

dhkim717
2016-05-13 15:10
oh.....working!!!

arnaud
2016-05-13 15:10
that fabric directory and everything underneath is the same fabric directory that you started from

arnaud
2016-05-13 15:11
it's better not to use git within the VM in my experience

arnaud
2016-05-13 15:11
do all your git stuff and editing from your own machine

arnaud
2016-05-13 15:12
but for builds and tests you do in the VM (vagrant ssh)

dhkim717
2016-05-13 15:12
ok! I will keep in mind!

arnaud
2016-05-13 15:15
so, typically once you're set up, you do your editing using whatever editor you like on your machine, then build and run/test from within the VM

arnaud
2016-05-13 15:15
when you want to update your code, commit, or push code, you do it on your machine

arnaud
2016-05-13 15:16
"your machine" meaning not within the VM

arnaud
2016-05-13 15:16
once you get used to the dual mode it becomes pretty easy

arnaud
2016-05-13 15:17
you just have to have enough windows open and labelled correcly to know on which machine you are

arnaud
2016-05-13 15:17
I often use uname though, to confirm :slightly_smiling_face:

dhkim717
2016-05-13 15:29
sure, thank you for your help~!

stanhiggins
2016-05-13 17:32
has joined #general

cherryjo
2016-05-13 19:19
has joined #general

vinding
2016-05-13 20:25
has joined #general

ahmedsahla
2016-05-13 23:30
has joined #general

greg_not_so
2016-05-13 23:44
has joined #general

davidjhowie
2016-05-14 08:22
has joined #general

joseph
2016-05-14 14:13
When I queried chaincode, I got this error “ Error: Error querying chaincode: rpc error: code = 2 desc = "crypto/aes: invalid key size 0” “.

joseph
2016-05-14 14:13
Who please give some ideas about it?

adriano
2016-05-14 14:15
has joined #general

muralisr
2016-05-14 14:15
@joseph: would need details please….can you provide logs from peer, chaincode and the list of commands issued ?

joseph
2016-05-14 14:17
logs from peer and chaincode there were not error.

joseph
2016-05-14 14:17
The command I run like this

joseph
2016-05-14 14:17
ORE_SECURITY_ENABLED=true ./peer chaincode query -r true -u jim -n stock -c '{"Function": "read", "Args": ["joseph", "APL"]}'

joseph
2016-05-14 14:21
logs from chaincode there was not error.

joseph
2016-05-14 14:21
2016/05/14 14:06:16 [ff3c4239]Received message QUERY from shim 2016/05/14 14:06:16 [ff3c4239]Handling ChaincodeMessage of type: QUERY(state:ready) 2016/05/14 14:06:16 [ExchangeChaincode] --> read 2016/05/14 14:06:16 [ExchangeChaincode] --> read ============================================== start 2016/05/14 14:06:16 [ExchangeChaincode] --> read joseph APL 2016/05/14 14:06:16 [ExchangeChaincode] --> GetRow 2016/05/14 14:06:16 [ff3c4239]Sending GET_STATE 2016/05/14 14:06:16 [ff3c4239]Received message RESPONSE from shim 2016/05/14 14:06:16 [ff3c4239]Handling ChaincodeMessage of type: RESPONSE(state:ready) 2016/05/14 14:06:16 [ff3c4239]before send 2016/05/14 14:06:16 [ff3c4239]after send 2016/05/14 14:06:16 [ff3c4239]Received RESPONSE, communicated (state:ready) 2016/05/14 14:06:16 [ff3c4239]GetState received payload RESPONSE 2016/05/14 14:06:16 [ExchangeChaincode] --> len(row.Columns) 2016/05/14 14:06:16 [ExchangeChaincode] --> Marshal 2016/05/14 14:06:16 jsonRows: {"columns":[{"Value":{"Bytes":"am9zZXBo"}},{"Value":{"String_":"APL"}},{"Value":{"Int64":149}}]} 2016/05/14 14:06:16 [ExchangeChaincode] --> read ============================================== end 2016/05/14 14:06:16 [ff3c4239]Query completed. Sending QUERY_COMPLETED

thanhnguyen
2016-05-14 14:37
has joined #general

joseph
2016-05-14 15:10
If I run chaincode without security enabled, then I queried, it was okay.

muralisr
2016-05-14 15:11
did you do ./peer login jim before issuing other commands ?

joseph
2016-05-14 15:12
sure

muralisr
2016-05-14 15:12
can you provide logs from peer, the list of commands issued and core.yaml from the fabric/peer/ folder ?

joseph
2016-05-14 15:13
logs from peer

joseph
2016-05-14 15:14
vagrant@hyperledger-devenv:v0.0.9-4e1bb4e:/opt/gopath/src/github.com/hyperledger/fabric/peer$ CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true ./peer node start --peer-chaincodedev 15:13:05.211 [crypto] main -> INFO 001 Log level recognized 'info', set to INFO 15:13:05.222 [main] serve -> INFO 002 Running in chaincode development mode 15:13:05.222 [main] serve -> INFO 003 Set consensus to NOOPS and user starts chaincode 15:13:05.223 [main] serve -> INFO 004 Disable loading validity system chaincode 15:13:05.242 [main] serve -> INFO 006 Security enabled status: true 15:13:05.242 [main] serve -> INFO 007 Privacy enabled status: true 15:13:05.243 [crypto] func1 -> INFO 008 Registering validator [vp] with name [vp]... 15:13:05.240 [eventhub_producer] start -> INFO 005 event processor started 15:13:05.251 [crypto] register -> ERRO 009 Failed registering [vp]: [Already registered.] 15:13:05.252 [crypto] RegisterValidator -> ERRO 00a Failed registering [vp]: [Already registered.] 15:13:05.252 [crypto] func1 -> INFO 00b Registering vlidator [vp] with name [vp]...done. Already registered or initiliazed. 15:13:05.253 [crypto] func1 -> INFO 00c Registering validator [vp] with name [vp]...done! 15:13:05.253 [crypto] func1 -> INFO 00d Initializing validator [vp]... 15:13:05.354 [crypto] func1 -> INFO 00e Initializing validator [vp]...done! 15:13:05.356 [chaincode] NewChaincodeSupport -> INFO 00f Chaincode support using peerAddress: 0.0.0.0:30303 15:13:05.390 [state] loadConfig -> INFO 010 Loading configurations... 15:13:05.392 [state] loadConfig -> INFO 011 Configurations loaded. stateImplName=[buckettree], stateImplConfigs=map[numBuckets:%!s(int=1000003) maxGroupingAtEachLevel:%!s(int=5) bucketCacheSize:%!s(int=100)], deltaHistorySize=[500] 15:13:05.392 [state] NewState -> INFO 012 Initializing state implementation [buckettree] 15:13:05.393 [buckettree] initConfig -> INFO 013 configs passed during initialization = map[string]interface {}{"numBuckets":1000003, "maxGroupingAtEachLevel":5, "bucketCacheSize":100} 15:13:05.394 [buckettree] initConfig -> INFO 014 Initializing bucket tree state implemetation with configurations &{maxGroupingAtEachLevel:5 lowestLevel:9 levelToNumBucketsMap:map[1:3 0:1 9:1000003 8:200001 5:1601 3:65 6:8001 4:321 2:13 7:40001] hashFunc:0xa712b0} 15:13:05.399 [buckettree] newBucketCache -> INFO 015 Constructing bucket-cache with max bucket cache size = [100] MBs 15:13:05.402 [buckettree] loadAllBucketNodesFromDB -> INFO 016 Loaded buckets data in cache. Total buckets in DB = [25]. Total cache size:=3920 15:13:05.402 [genesis] loadConfigs -> INFO 017 Loading configurations... 15:13:05.403 [genesis] loadConfigs -> INFO 018 Configurations loaded: genesis=map[chaincodes:<nil>], mode=[], deploySystemChaincodeEnabled=[false] 15:13:05.403 [genesis] func1 -> INFO 019 No genesis block chaincodes defined. 15:13:05.410 [consensus/controller] NewConsenter -> INFO 01a Creating default consensus plugin (noops) 15:13:05.420 [consensus/noops] newNoops -> INFO 01b NOOPS consensus type = *noops.Noops 15:13:05.422 [consensus/noops] newNoops -> INFO 01c NOOPS block size = 500 15:13:05.422 [consensus/noops] newNoops -> INFO 01d NOOPS block timeout = 1s 15:13:05.426 [rest] StartOpenchainRESTServer -> INFO 01f Initializing the REST service on 0.0.0.0:5000, TLS is disabled. 15:13:05.424 [main] serve -> INFO 01e Starting peer with id=name:"jdoe" , network id=dev, address=0.0.0.0:30303, discovery.rootnode=, validator=true 15:13:16.029 [crypto] invokeOrQuery -> INFO 020 Initializing client [jim]... 15:13:16.140 [crypto] invokeOrQuery -> INFO 021 Initializing client [jim]...done! 15:13:16.173 [crypto] CloseClient -> INFO 022 Closing client [jim]...

joseph
2016-05-14 15:14
commands:

joseph
2016-05-14 15:14
CORE_SECURITY_ENABLED=true ./peer chaincode deploy -u jim -n stock -c '{"Function": "init", "Args": ["hello_world"]}'

joseph
2016-05-14 15:15
CORE_SECURITY_ENABLED=true ./peer chaincode invoke -u jim -n stock -c '{"Function": "write", "Args": ["joseph", "APL", "149"]}'

joseph
2016-05-14 15:16
CORE_SECURITY_ENABLED=true ./peer chaincode query -r true -u jim -n stock -c '{"Function": "read", "Args": ["joseph", "APL"]}'

joseph
2016-05-14 15:17
I didn’t change core.yaml from the fabric/peer folder.

muralisr
2016-05-14 15:17
ok

muralisr
2016-05-14 15:18
thats the complete log from the peer for all the above 3 transactions ?

muralisr
2016-05-14 15:19
I see "CORE_SECURITY_PRIVACY=true"

joseph
2016-05-14 15:20
Yes. It was the complete log.

muralisr
2016-05-14 15:20
is it possible you started without that when you first used the peer ?

joseph
2016-05-14 15:21
CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true ./peer node start --peer-chaincodedev

joseph
2016-05-14 15:21
I started the peer.

joseph
2016-05-14 15:21
and the chaincode

joseph
2016-05-14 15:22
CORE_CHAINCODE_ID_NAME=stock CORE_PEER_ADDRESS=0.0.0.0:30303 ./exchange

muralisr
2016-05-14 15:22
from your description of the error, one possibility is the ledger db might have been created without "CORE_SECURITY_PRIVACY=true”

muralisr
2016-05-14 15:23
do you mind if we start from scratch ?

joseph
2016-05-14 15:23
yes, for sure.

muralisr
2016-05-14 15:23
great

muralisr
2016-05-14 15:23
rm -rf /var/hyperledger/*

muralisr
2016-05-14 15:24
CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true ./peer node start --peer-chaincodedev

muralisr
2016-05-14 15:24
11:22] CORE_CHAINCODE_ID_NAME=stock CORE_PEER_ADDRESS=0.0.0.0:30303 ./exchange

muralisr
2016-05-14 15:24
oops

muralisr
2016-05-14 15:25
kill membersrvc

muralisr
2016-05-14 15:25
rm -rf /var/hyperledger/*

muralisr
2016-05-14 15:25
start membersrvc

muralisr
2016-05-14 15:25
CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true ./peer node start --peer-chaincodedev 1>/tmp/peer.log 2>&1

muralisr
2016-05-14 15:25
CORE_CHAINCODE_ID_NAME=stock CORE_PEER_ADDRESS=0.0.0.0:30303 ./exchange

muralisr
2016-05-14 15:26
now run the tests

joseph
2016-05-14 15:28
still error

joseph
2016-05-14 15:28
I will post all things

muralisr
2016-05-14 15:28
ok

joseph
2016-05-14 15:29
logs from the peer


joseph
2016-05-14 15:30
logs from the chaincdoe


joseph
2016-05-14 15:30
commands issuing


muralisr
2016-05-14 15:33
let me check something and get back

joseph
2016-05-14 15:34
yes

muralisr
2016-05-14 15:35
meanwhile notice no CORE_SECURITY_PRIVACY=true on your deploy,invoke query requests...

muralisr
2016-05-14 15:35
can you try with that

joseph
2016-05-14 15:36
yes. I’ll try it again.

muralisr
2016-05-14 15:36
thanks

joseph
2016-05-14 15:39
it’s okay now. :smile:

joseph
2016-05-14 15:39
Thank you so much, @muralisr

muralisr
2016-05-14 15:39
ah good

muralisr
2016-05-14 15:40
you are welcome :simple_smile:

deproders
2016-05-14 16:42
has joined #general

mdthomas63
2016-05-14 16:54
has joined #general

kell
2016-05-14 17:10
has joined #general

joseph
2016-05-14 18:01
Is there a sample for calling fabric via grpc from java code?

muralisr
2016-05-14 18:51
@joseph: I’m just a bit familiar with this code but I believe java-gRPC usage in here https://github.com/hyperledger/fabric-api might serve as a guide. In particular I’d take a peek at https://github.com/hyperledger/fabric-api/tree/master/api/src/main/proto

muralisr
2016-05-14 18:52
@sheehan and @robert might be able to help


sheehan
2016-05-14 18:56
@joseph: The # channel is the best place for fabric specific questions

adam.furgal
2016-05-14 22:28
has joined #general

joseph
2016-05-15 03:05
Thanks @muralisr @sheehan

bernardlin
2016-05-15 04:06
has joined #general

david.acton
2016-05-15 12:39
Hi, Can someone provide an example of GetRows? I’ve given it a crack but it doesn’t seem to be working..

david.acton
2016-05-15 12:39
Also, is there a way to do debugging, i.e. step through debugging?

ghaskins
2016-05-15 13:20
@david.acton: If you follow the sandbox setup (https://github.com/hyperledger/fabric/blob/master/docs/API/SandboxSetup.md#vagrant-terminal-1-validating-peer), you ultimately are launching the chaincode yourself….once you do that you can launch it under a debugger such as https://github.com/derekparker/delve

ghaskins
2016-05-15 13:21
for instance, if you add “dlv exec” in front of the chaincode launch, you get step debugging

david.acton
2016-05-15 14:05
@ghaskins Thanks!! I’ve got things setup and I have a lot of code written…. it’s just the debugging that was missing. I’ll give this a go! thank you

sheehan
2016-05-15 16:28
@david.acton: there's a test chaincode which exercises the getRows function at https://github.com/hyperledger/fabric/blob/master/bddtests/chaincode/go/table/table.go For Fabric specific questions, the #fabric channel is the best place to ask

iamsamwood
2016-05-15 21:34
has joined #general

uranther
2016-05-16 00:02
has joined #general

zhongmc
2016-05-16 03:24
has joined #general

johnheap
2016-05-16 04:52
has joined #general

takumat
2016-05-16 05:23
has joined #general

yajneshrai
2016-05-16 05:27
Hi. Whenever I try to see my block information by doing -localhost:3000/chain/blocks/5, I get this message in rest client - { "Error": "proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group" } Please help me with this!

chanderg
2016-05-16 05:33
has joined #general

rranslam
2016-05-16 05:55
has joined #general

david_boadita
2016-05-16 06:35
has joined #general

joseph
2016-05-16 08:31
Who could please give me some instructions to run asset_management_with_roles example?

rsawhney
2016-05-16 08:34
has joined #general

cherryjo
2016-05-16 09:14
How can I contribute here

cherryjo
2016-05-16 09:14
I am new to this channel

ahijon
2016-05-16 09:17
has joined #general

kazz
2016-05-16 09:44
has joined #general

hfujioka
2016-05-16 09:45
has joined #general

kentaroh
2016-05-16 09:49
has joined #general

tatsuyaiwasaki
2016-05-16 09:50
has joined #general

tomoko_k
2016-05-16 09:51
has joined #general

nickmelis
2016-05-16 10:07
has joined #general

nickmelis
2016-05-16 10:08
Hi all

masaxi
2016-05-16 10:27
has joined #general

john.d.sheehan
2016-05-16 10:48
Hi, I am trying to setup a network for development (https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devnet-setup.md), but I encounter the follo wing error when I run go test -run BuildImage_Peer Pulling repository http://docker.io/hyperledger/fabric-baseimage --- FAIL: TestVM_BuildImage_Peer (19.43s) vm_test.go:76: Error building Peer container: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage FAIL exit status 1 FAIL http://github.com/hyperledger/fabric/core/container 19.475s

yacovm
2016-05-16 11:48
I think you need to run the docker.sh script, I think it can be run via running the Makefile

muralisr
2016-05-16 12:35
@john.d.sheehan: if you are still running into that you may need to run vagrant destroy/up.

john.d.sheehan
2016-05-16 12:55
Just tried vagrant destroy/up as suggested by @muralisr and go test -run BuildImage_Peer completed without error - thanks

muralisr
2016-05-16 12:56
sure thing.

muralisr
2016-05-16 12:58
@joseph asset_management_with_roles is a unit test that can be simply run with “go test” in that directory. Did that not work for you ?

vladimir.starostenkov
2016-05-16 13:56
has joined #general

sjcorbett
2016-05-16 13:57
has joined #general

mikezaccardo
2016-05-16 13:59
has joined #general

johnm
2016-05-16 14:20
has joined #general

yajneshrai
2016-05-16 14:32
Hi, How to log out the user logged into the the hyperledger, using localhost:3000/registrar ?

guglielmo_n
2016-05-16 14:43
has joined #general

claudio.fusi
2016-05-16 14:55
has joined #general

josephchang
2016-05-16 15:34
has joined #general

afernandez
2016-05-16 15:52
has joined #general

zhangce
2016-05-16 18:21
has joined #general

hermanjunge
2016-05-16 19:01
has joined #general

alpeshdoshi
2016-05-16 19:11
has joined #general

kanouse
2016-05-17 01:10
has joined #general

joseph
2016-05-17 02:09
@muralisr: I mean I can run it as a chaincode app?

popldo
2016-05-17 02:46
has joined #general

jfshyperledger
2016-05-17 04:17
has joined #general

tejaspillai
2016-05-17 07:51
has joined #general

nickmelis
2016-05-17 08:24
am I right in thinking with HyperLedger you can write smart contract using Go?

nickmelis
2016-05-17 08:24
I have some experience with Ethereum (and Solidity) but nearly zero experience with HyperLedger

nickmelis
2016-05-17 08:25
also know nearly nothing about Go :slightly_smiling_face:

mcrafols
2016-05-17 08:37
@nickmelis: it uses Go


nickmelis
2016-05-17 09:18
thanks @mcrafols

martinhampton1
2016-05-17 09:22
has joined #general

kootenpv
2016-05-17 09:45
has joined #general

igorline
2016-05-17 10:20
has joined #general

martinhampton1
2016-05-17 10:41
Could someone share how to deploy chaincode from a private git repo to BlueMix? The url deploy like this https://bluemix.net/deploy?repository=https://github.com/ibm-blockchain/marbles.git seems to fail on private repos (looks like BMX just clones master) and the chaincode REST deploySpec looks like it does the same. I think I'm looking for a cloud foundry based deploy from my cloned repo.

cbf
2016-05-17 11:33
the current requirements are for the chaincode to be in a public git repo (not necessarily GitHub)… extending to support private repos would require a secure means of exchanging credentials needed to clone a private repo

simon
2016-05-17 11:36
cbf: i've been arguing that we should ship the source during (REST) deploy, and not just the url

muralisr
2016-05-17 11:52
@cbf @simon there was talk of SDK supporting source directly

nickmelis
2016-05-17 11:54
@muralisr: interested in that too

nickmelis
2016-05-17 11:54
out of curiosity, why is a source file on a public repo the only option atm?

muralisr
2016-05-17 11:59
@nickmelis: please see https://github.com/hyperledger/fabric/issues/873 (in particular, the last comment summarizes)

muralisr
2016-05-17 12:01
as @cbf pointed out, the real issue is "extending to support private repos would require a secure means of exchanging credentials needed to clone a private repo” … and that has to be done within the security context of the user and peer. Rest are mechanics

nickmelis
2016-05-17 12:02
are you saying send the contract code via the REST api is not an option?

muralisr
2016-05-17 12:03
not at all. That is certainly an option. I was refering to private vs public

nickmelis
2016-05-17 12:03
ah ok sorry :slightly_smiling_face:

nickmelis
2016-05-17 12:03
yeah I guess getting code from a private repo may be a bit of a pain

cbf
2016-05-17 12:05
PRs welcome;-)

nickmelis
2016-05-17 12:07
I just need to get a bit more familiar with Go first :disappointed:

phipham
2016-05-17 13:12
has joined #general

nickmelis
2016-05-17 13:25
is the ability to write chaincode in Java already implemented?

ghaskins
2016-05-17 13:29
@nickmelis: the only supported types in upstream are native golang and car-based golang, but plenty more are in the works

ghaskins
2016-05-17 13:30
the platform types are extensible though: so the hooks are in place, theres just nothing implemented other than golang

garisingh
2016-05-17 13:31
@ghaskins: @binhn - is anyone actually working on the Java chaincode? I thought someone was going to take some of the work that was previously started?

ghaskins
2016-05-17 13:31
@garisingh: i heard chatter about interest, but I wasnt following the development

sheehan
2016-05-17 13:32
yes, there should be a proposal soonish

nickmelis
2016-05-17 13:32
this project is blowing my mind :slightly_smiling_face:

garisingh
2016-05-17 13:33
@nickmelis: we make you "thinkit" :wink:

sachchidanand
2016-05-17 13:37
has joined #general

dneary
2016-05-17 13:53
has joined #general

cbf
2016-05-17 14:08
@garisingh: yes a proposal is in the works... may be presented this week or next for java chaincode

nickmelis
2016-05-17 14:10
what is a proposal? Is it just a draft, or technical specification? Or is it the code itself?

mtakemiya
2016-05-17 14:16
@mcrafols: are there any good tutorials about defining digital assets/currencies?

mark.wiacek
2016-05-17 14:16
has joined #general


nickmelis
2016-05-17 14:18
@garisingh: it works, I’m thinking about it :slightly_smiling_face:

tim_oflynn
2016-05-17 17:30
has joined #general

snowland
2016-05-17 17:41
has joined #general

zihiah
2016-05-17 18:23
has joined #general

bradworthen
2016-05-17 20:44
has joined #general

psalami
2016-05-17 21:49
has joined #general

mdolan
2016-05-17 22:11
Could I ask who is leading the current white paper draft?

mdolan
2016-05-17 22:13
@dvoell: is the graphic on p4 of the current draft ok to authorize someone to use and cite the paper?

dazza
2016-05-17 23:45
has joined #general

seris
2016-05-17 23:48
has joined #general

tomduke4
2016-05-18 03:02
has joined #general

tomduke4
2016-05-18 03:07
Does anyone know of a repository of concise use cases? ie - Music, Real Estate, Pharma, Art, Cannabis, Diamonds, etc.

dazza
2016-05-18 03:49
@tomduke4: "Concise Repository" as in a listing with a few words of explanation or as in a collection of tightly stated use cases that still cover the bare min basics of who is doing what in a consistent manner?

dazza
2016-05-18 03:50
I'm just starting to get familiar here but looks like the use cases are listed at: https://github.com/hyperledger/hyperledger/wiki/Use-Cases


dazza
2016-05-18 03:57
I think the winner for most voluminous reviewed/iterated list that is the essence of concision is: "The Mega-Master Blockchain List" at, variously: http://ledracapital.com/blog/2014/3/11/bitcoin-series-24-the-mega-master-blockchain-list and https://www.reddit.com/r/Bitcoin/comments/2tgc77/the_megamaster_blockchain_list_draft/ and https://www.safaribooksonline.com/library/view/blockchain/9781491920480/app02.html and elsewhere... (still evolving apparently)

akash
2016-05-18 04:10
has joined #general

rupendradhillon
2016-05-18 04:48
has joined #general

javiromero
2016-05-18 07:09
has joined #general

mhamadaibm
2016-05-18 07:28
has joined #general

ken
2016-05-18 08:35
has joined #general

yajneshrai
2016-05-18 09:34
Could someone please tell me how to run asset_management_with_roles.go chaincode? And what should be the result of the same?

yvasilenko
2016-05-18 09:50
has joined #general

nickmelis
2016-05-18 10:02
is there any plan to implement the HyperLedger protocol in any other language other than Go (for example Java)?

sbarany
2016-05-18 10:28
has joined #general

brusa
2016-05-18 10:35
has joined #general

eleven
2016-05-18 10:55
Hi, I confused one question for a long time. could someone give me tip? why sometimes I see "using public key to sign transaction" and sometime using private key to sign transaction. what is the defference ?

kanelai
2016-05-18 10:57
has joined #general

allanpark
2016-05-18 11:20
has joined #general

baohua
2016-05-18 11:27
@eleven: different aims: 1) to protect your data 2) to prove the data is from you

shertok
2016-05-18 12:12
has joined #general

nickmelis
2016-05-18 13:47
I’m trying to connect to the HyperLedger dev node using fabric-api

nickmelis
2016-05-18 13:48
what connection factory should I use? And how should I configure the node?

nickmelis
2016-05-18 13:48
is there any example or tutorial out there?

grapebaba
2016-05-18 14:18
@nickmelis: what do you mean? It seems already has some rest client for other language unofficial, and also have a nodejs grpc client in fabric project. As chaincode, it seems now only support golang, further nodejs and java maybe include

joseph
2016-05-18 14:32
@yajneshrai: @muralisr said: asset_management_with_roles is a unit test that can be simply run with “go test” in that directory.

nickmelis
2016-05-18 14:33
@grapebaba: I am talking about this API: https://github.com/hyperledger/fabric-api


mcarioli
2016-05-18 16:05
has joined #general

cbf
2016-05-18 16:12
: just a reminder we have the # channel for people who are not already members of the http://github.com/hyperledger org to request an invite to the org membership

singhvi
2016-05-18 16:28
Thanks. @cbf

zgraves
2016-05-18 16:32
has joined #general

criggins
2016-05-18 16:45
has joined #general

eleven
2016-05-18 17:12
@baohua: Thanks. I think so

sull
2016-05-18 17:41
has joined #general

tbenzies
2016-05-18 18:01
As discussed in the previous TSC meeting, we are looking to plan a virtual Hackathon in June, as well as a physical Hackathon in July (located on the west coast). Should you be interested in participating in either of these, please complete your availability at your earliest convenience. Note -- these will be 1-2 day events. We are honing in on general availability on a week-by-week basis and will narrow down to specific days from there. June (virtual Hackathon): http://doodle.com/poll/tzmnqwe279sfzwa2 July (west coast Hackathon): http://doodle.com/poll/qumqqpsprsi9xzia

ccorley
2016-05-18 18:17
has joined #general

sam_ding
2016-05-18 19:18
has joined #general

stoch
2016-05-18 19:38
has joined #general

sheehan
2016-05-18 20:20
@nickmelis: fabric-api definitely needs more doc. It’s designed to be used as a client for the example UTXO chaincode. https://github.com/hyperledger/fabric/tree/master/examples/chaincode/go/utxo

martinhampton1
2016-05-18 21:40
@muralisr: - thanks I understand what's going on now. For now the repos need to be public

rakeshm100
2016-05-19 00:39
has joined #general

yajneshrai
2016-05-19 04:39
@joseph: what are the parameters to pass while invoke? Because I'm stuck here with some sort of error that throws everytime.

hyperman
2016-05-19 04:44
has joined #general

baohua
2016-05-19 05:31
@yajneshrai: you mean through command or through REST API?

clyde_dcruz
2016-05-19 05:47
Is there a way to generate a random string in a chaincode that will be uniform accross all peers ?

ibmamnt
2016-05-19 05:53
I was able to see several ways in golang to produce ramdom string. Try to search for yourself. uniform means unique ? I also found uuid generator shared sample in play.golang ( https://play.golang.org/p/4FkNSiUDMg ) <== do not use, this has serious bug.

clyde_dcruz
2016-05-19 05:57
okay . but would this function give the same value in all the peers ?

ibmamnt
2016-05-19 06:00
Probably, it depends on how you implement random string function.

ibmamnt
2016-05-19 06:00
rand() normally gives identical value if the argument is the same.

ibmamnt
2016-05-19 06:01
if rand is given the argument, like time and data. It can be different.

clyde_dcruz
2016-05-19 06:02
right. but is it possible to get the time at which the Transaction was submitted ? rather than using the current time on peer (will be different on each peer i guess)

ibmamnt
2016-05-19 06:05
I guess you can put current time (or universal time) of client who issued transaction, and include that time as transaction argement.

ibmamnt
2016-05-19 06:06
Say, '"invoke", "["a", "b", "10", "2016051903110000"]'

clyde_dcruz
2016-05-19 06:07
passing it as argument is the sure shot way

clyde_dcruz
2016-05-19 06:07
what about ts, err2 := stub.GetTxTimestamp()



ibmamnt
2016-05-19 06:11
```// GetTxTimestamp returns transaction created timestamp, which is currently // taken from the peer receiving the transaction. Note that this timestamp // may not be the same with the other peers' time.```

ibmamnt
2016-05-19 06:12
I think this can be used in stead of putting it into transaction.

clyde_dcruz
2016-05-19 06:12
yes .

clyde_dcruz
2016-05-19 06:13
thanks for the helpTakehiko :slightly_smiling_face:

carmen
2016-05-19 06:15
has joined #general

yajneshrai
2016-05-19 06:41
@baohua

yajneshrai
2016-05-19 06:42
@baohua: through rest API

baohua
2016-05-19 06:42
sure, then you can see here as an example https://github.com/yeasy/hyperledger-py

baohua
2016-05-19 06:43
it also wraps the rest api:)

yajneshrai
2016-05-19 06:46
@baohua thank you :slightly_smiling_face:

yajneshrai
2016-05-19 06:48
I have enabled the security in my dev environemnt and when I try to deploy the chaincode, this is the error I get in response { "Error": "proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group" }

yajneshrai
2016-05-19 06:49
But the Invoke and Query works fine with it. If someone could tell me what exactly is wrong with it!

baohua
2016-05-19 06:54
sure :slightly_smiling_face:

shobhna
2016-05-19 07:54
has joined #general

nickmelis
2016-05-19 08:13
for technical questions about fabric and fabric-api, is it better to ask here in # or use # directly?

ibmamnt
2016-05-19 08:18
If it is fabric related question, it should be fabric channel. I think general chanel is more broader scope, such as Hyperledger project status, upcoming events, so on. Actually, I had similar question before, and posted here. And someone told me to go to fabric channel. :slightly_smiling_face:

nickmelis
2016-05-19 08:28
@ibmamnt: fair enough. I’ll keep using # for technical question then :slightly_smiling_face:

ricjhill
2016-05-19 08:42
has joined #general

kyle6054
2016-05-19 08:49
has joined #general

nitin-shasta-1
2016-05-19 09:05
has joined #general

nickmelis
2016-05-19 09:09
does HyperLedger include the concept of cryptocurrency? I.e., can I send a transaction to another user (not a contract)?

js
2016-05-19 09:35
has joined #general

narender.bongoni
2016-05-19 11:10
has joined #general

dafricash
2016-05-19 11:29
has joined #general

v.thirugnanam
2016-05-19 11:29
has joined #general

ghaskins
2016-05-19 11:35
@nickmelis: hyperledger-fabric itself is more low level: an application platform for apps that want to mutate state via consensus….you can (and people are) build asset-management/cryptocurrency applications on top of that platform, however. In fact, the “example02” that ships in the tree is a primitive form of that. There are probably others too

ghaskins
2016-05-19 11:35
You can see a token payment happening here in a port of example02 I wrote recently: https://github.com/ghaskins/chaintool/tree/chaintool-0.7/examples/example02#step-6---make-a-payment

matrixator
2016-05-19 11:39
has joined #general

nickmelis
2016-05-19 12:29
so everything goes through chaincode, is that right?

nickmelis
2016-05-19 12:32
I come from the Ethereum world, and am still trying to get my head around HyperLedger

goodjoon
2016-05-19 12:33
has joined #general

ghaskins
2016-05-19 12:33
@nickmelis: yes

nickmelis
2016-05-19 12:41
it’s like all the users are interacting with one central, distributed, replicated and cryptographically secure piece of software, right?

nickmelis
2016-05-19 12:42
potentially you don’t even need to know there’s a blockchain behind your node, right?

ghaskins
2016-05-19 12:45
at some level, yes

bsparks3pr
2016-05-19 12:56
has joined #general

eraymond
2016-05-19 14:02
has joined #general


ibm-paulsquires
2016-05-19 14:08
has joined #general

kletkeman
2016-05-19 14:14
@clyde_dcruz: I had this time discussion for IoT contracts a few months ago, and submitted issue #875 to ask to have the shim make the transaction time available to the contract as we need reliable (or at least consistent) timestamps on all incoming events. This was fixed recently, and so is the only way you can store a timestamp and have it pass consensus. A real advantage of this technique is that your internal state changes, if timestamped, will perfectly align with the transaction time on the blockchain itself. That, in my opinion, is an excellent audit feature (my contracts retain the event history in world state.)

amecila
2016-05-19 14:27
has joined #general

simon
2016-05-19 14:28
the transaction time, however, is selected by the submitting peer and can be invalid if the peer is byzantine or has a broken clock

simon
2016-05-19 14:28
not invalid, but wrong

kletkeman
2016-05-19 14:29
@simon, yes, I agree ... but until there is a time service available that can inject a reliable transaction time, I cannot see any other solution that comes close to addressing the need and the consensus issue ...

simon
2016-05-19 14:29
yes, i know

kletkeman
2016-05-19 14:30
I'm thinking more of captive fabrics than public fabrics, which might mitigate the risks somewhat

simon
2016-05-19 14:33
well if you can deal with wrong time, fine

simon
2016-05-19 14:33
but then you might as well not use it, or only as best-effort, untrusted

simon
2016-05-19 14:34
if you require trusted time, then you cannot use it

simon
2016-05-19 14:34
if you say "i trust the machines setting the right time", then you might as well not use a byzantine fault tolerant blockchain at all, and use your trusted machine as a centralized server

navleen
2016-05-19 14:54
has joined #general

mfford
2016-05-19 14:58
has joined #general

satoshima
2016-05-19 15:10
has joined #general

holocron
2016-05-19 15:44
has joined #general

slkaczma
2016-05-19 16:20
has joined #general

jack_liao
2016-05-19 16:23
has joined #general

tiav
2016-05-19 17:43
has joined #general

karan
2016-05-19 17:53
has joined #general

karan
2016-05-19 18:09
Hi Guys...I am new to the project & this forum, can anyone point me to a read to help set up the development environment to get started


karan
2016-05-19 18:19
Thanks @bcbrock

rsharma
2016-05-19 19:26
has joined #general

velibor.mandic
2016-05-19 20:28
has joined #general

christophera
2016-05-19 20:58
@brianbehlendorf: Welcome!

martinhampton1
2016-05-19 20:59
Hi Guys, Is there a way to get the error response from my chaincode call when I use the REST api. My GO code returns errors like this:return nil, errors.New("Failed to delete state")

martinhampton1
2016-05-19 21:01
but the REST response just contains "status": "OK", "message": "a34f3bf3-b251-42ab-8b31-7e439c2663f9"

martinhampton1
2016-05-19 21:03
I was expecting least an error status, and preferably my error text so I know I'm missing something!

emily_gem
2016-05-19 22:29
has joined #general

davidshay
2016-05-19 22:37
has joined #general

jonkrone
2016-05-20 01:25
has joined #general

songling
2016-05-20 02:12
has joined #general

suresh
2016-05-20 02:46
has joined #general

mahesh_khatri
2016-05-20 03:34
has joined #general

yajneshrai
2016-05-20 04:22
Hi, Does a block gets created on the deploy of chaincode on the blockchain?

clyde_dcruz
2016-05-20 06:51
@kletkeman: @simon . would it be absurd if we have something like a trusted pool of ntp servers in the blockchain network that all the peers can use time from (just like how we have a consortium of trusted servers for membership services)

viewer
2016-05-20 07:17
has joined #general

joost_zeinstra
2016-05-20 07:19
has joined #general

sidrai
2016-05-20 08:12
has joined #general

sidrai
2016-05-20 08:28
Did any one tried IBM WMQ integration with Mulesoft

sidrai
2016-05-20 08:28
?

wildgarden
2016-05-20 09:05
has joined #general

simon
2016-05-20 09:19
clyde_dcruz: i don't think these sorts of trust assumptions are useful. also, time is still not exactly the same on all peers

wisler
2016-05-20 09:30
has joined #general

clyde_dcruz
2016-05-20 09:34
right

elena_horoshash
2016-05-20 10:24
has joined #general

spipes
2016-05-20 13:45
has joined #general


benjaminj
2016-05-20 14:00
has joined #general

v.thirugnanam
2016-05-20 14:21
Simon: how can we validate or trigger in each local ledger a smart contract, if there is no common time trigger? Do you have any framework that I can refer to understand the working model?

simon
2016-05-20 14:54
why do you want to trigger?

simon
2016-05-20 14:54
what do you want to trigger?

joseph
2016-05-20 14:58
@clyde_dcruz: How did you invoke the chaincode?

lingwchang
2016-05-20 16:38
has joined #general

v.thirugnanam
2016-05-20 16:45
@simon trigger is to execute a smart contract that would be time triggered e.g. time deadline...

bulfin
2016-05-20 17:02
has joined #general

ed_addison
2016-05-20 17:17
has joined #general

jeff_gem
2016-05-20 17:35
has joined #general

simon
2016-05-20 17:52
v.thirugnanam: i don't have a satisfying answer to give. have somebody "trustworthy" input the time as a separate invocation of the chaincode.

simon
2016-05-20 17:52
v.thirugnanam: there is an open issue at https://github.com/hyperledger/fabric/issues/1321, if you want to add a thumbs up

jjjjibm
2016-05-20 18:13
has joined #general

hogan
2016-05-20 18:47
has joined #general

deanyo
2016-05-20 19:57
has joined #general

androidpdn
2016-05-20 21:15
has joined #general

blockchainer
2016-05-20 21:23
has joined #general

vinaykp
2016-05-20 23:57
has joined #general

aledj3
2016-05-21 02:01
has joined #general

rouslan
2016-05-21 06:50
has joined #general

donaminos
2016-05-21 07:23
has joined #general

clyde_dcruz
2016-05-21 08:04
@joseph: I have updated the SO question to include the invoke transaction : http://stackoverflow.com/questions/37348651/cannot-put-state-in-query-context

singhvi
2016-05-21 09:17
I understand ripple is a decentralised payment network. But i am a little confused between ethereum and hyperledger. And also why most of the whitepapers in the market talk abouth ripple and ethereum but not hyperledger or chaincode.

hongfei
2016-05-21 09:24
has joined #general

drequinox
2016-05-21 09:54
has joined #general

karan
2016-05-21 10:07
I have been trying to configure the dev environment for HL using Virtual Box 5.0.20 & Vagrant 1.7.4 on Windows 7. While doing that my OS crashes with driver_irql_not_less_or_equal message. Any help on what can be causing this?

karan
2016-05-21 10:15
This is being caused by ndis.sys maybe due to the additional drivers that get installed with Virtual Box.

karan
2016-05-21 10:16
Any suggestions to help me complete the dev set up will be useful

v.thirugnanam
2016-05-21 10:20
@simon thanks

daniel.purucker
2016-05-21 11:47
has joined #general

yessin
2016-05-21 13:05
has joined #general

master.kan
2016-05-21 14:24
has joined #general

obussmann
2016-05-21 14:42
has joined #general

joseph
2016-05-21 14:48
@clyde_dcruz: you can try "id": 3 for invoking.


kostas
2016-05-21 15:18
@singhvi: Ripple was released in 2012, Ethereum was proposed in late 2013, the Hyperledger Foundation came to be in late 2015

joseph
2016-05-21 15:23
@muralisr: thank you for your response to the question.

singhvi
2016-05-21 15:24
@kostas: thanks..... It seems we are doing quiet a progress here....probably i'll talk about hyperledger.... A bit in my whitepaper on blockchains

clyde_dcruz
2016-05-21 16:49
@muralisr: , @joseph Thanks for your response :slightly_smiling_face: . Is there a correct way to schedule a change in chaincode state OR to periodically do a state change based on some conditions ?

muralisr
2016-05-21 16:54
@clyde_dcruz: without “time/timer services” in the fabric, any scheduling have to be take care of at the application level. But the requirement is known ( https://github.com/hyperledger/fabric/issues/1321 )

muralisr
2016-05-21 16:56
the above is necessary (but not sufficient) for timer services

clyde_dcruz
2016-05-21 17:04
@muralisr: Thanks

joseph
2016-05-21 17:11
When I run the command "./peer network login jim", I got the error "2016/05/21 17:10:15 grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:30303: getsockopt: connection refused"; Reconnecting to "0.0.0.0:30303" 2016/05/21 17:10:17 grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:30303: getsockopt: connection refused"; Reconnecting to "0.0.0.0:30303""

muralisr
2016-05-21 17:16
is your peer running and reachable ? Perhaps a CORE_PEER_ADDRESS=<address:30303> is needed ?

joseph
2016-05-21 17:21
you mean 'CORE_PEER_ADDRESS=0.0.0.0:30303 ./peer network login jim' ?

muralisr
2016-05-21 17:22
replacing the 0.0.0.0 with an appropriate IP

muralisr
2016-05-21 17:23
looked like the peer was not running on inaddr_any for some reason :slightly_smiling_face:

muralisr
2016-05-21 17:23
running in docker ?

joseph
2016-05-21 17:25
I started the CA server "./membersrvc", then login

muralisr
2016-05-21 17:27
did you start peer ? the address suggests peer

joseph
2016-05-21 17:28

joseph
2016-05-21 17:28
First, I started the CA server, ./membersrvc

joseph
2016-05-21 17:29
then 2) started a peer

joseph
2016-05-21 17:29
docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_PEER_ID=vp0 -e CORE_PEER_ADDRESSAUTODETECT=true -e CORE_SECURITY_ENABLED=true -e CORE_SECURITY_PRIVACY=true -e CORE_PEER_PKI_ECA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TCA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TLSCA_PADDR=172.17.0.1:50051 -e CORE_SECURITY_ENROLLID=test_vp0 -e CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT hyperledger-peer peer node start

joseph
2016-05-21 17:29
and 3) another peer

joseph
2016-05-21 17:29
docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_PEER_ID=vp1 -e CORE_PEER_ADDRESSAUTODETECT=true -e CORE_SECURITY_ENABLED=true -e CORE_SECURITY_PRIVACY=true -e CORE_PEER_PKI_ECA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TCA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TLSCA_PADDR=172.17.0.1:50051 -e CORE_SECURITY_ENROLLID=test_vp1 -e CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy -e CORE_PEER_DISCOVERY_ROOTNODE=172.17.0.2:30303 hyperledger-peer peer node start

joseph
2016-05-21 17:30
then I loggin

muralisr
2016-05-21 17:31
try CORE_PEER_ADDRESS=172.17.0.2:30303 ./peer login jim

joseph
2016-05-21 17:33
I'll try.

muralisr
2016-05-21 17:33
ok

dan.irons
2016-05-21 17:43
has joined #general

joseph
2016-05-21 17:52
@muralisr: thanks. it works now. :slightly_smiling_face:

muralisr
2016-05-21 17:52
sure thing :slightly_smiling_face:

joseph
2016-05-21 17:55
it looks like that (request login) -> (peer) -> CA server. Right?

muralisr
2016-05-21 17:59
I think so … @adc or @diego_m would know the exact interactions

vikas
2016-05-21 19:55
has joined #general

arizqi
2016-05-22 01:22
has joined #general

joseph
2016-05-22 02:28
I need some help

joseph
2016-05-22 02:30
I setup the dev network and run a chaincode with security enabled. When I deploy the chaincode, I got the errorr

joseph
2016-05-22 02:30
02:25:59.290 [dockercontroller] Deploy -> ERRO 020 Error building Peer container: The command '/bin/sh -c go install http://github.com/chaincode-app-go/core && cp src/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin && mv $GOPATH/bin/core $GOPATH/bin/f997ee9cc66ca0c90d86f954a2f96fa85a0d04c1f20b888f83f2e6792af914e7d68e27128ceb1502f674031349628f9dd92f1d7ce7ce56284c417ca0e5be59ed' returned a non-zero code: 2 02:25:59.312 [dockercontroller] Start -> ERRO 021 start-could not recreate container no such image 02:25:59.585 [ledger] sendProducerBlockEvent -> ERRO 022 Error unmarshalling deployment transaction for block event: proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group

muralisr
2016-05-22 02:30
are you running in docker ?

joseph
2016-05-22 02:31
Yup

muralisr
2016-05-22 02:33
I’d ignore the sendProducerBlockEvent error

muralisr
2016-05-22 02:33
that’s not the root cause

muralisr
2016-05-22 02:33
I’m guessing an error in http://github.com/chaincode-app-go/core chaincode

muralisr
2016-05-22 02:34
I’d do a go build in that dir to make sure it builds

muralisr
2016-05-22 02:34
get that to build (and rm the exe after doing that)

joseph
2016-05-22 02:36
I did

joseph
2016-05-22 02:36
errors again

muralisr
2016-05-22 02:38
does it work without security enabled ? I’d suspect not...

joseph
2016-05-22 02:43
http://Yup.It works without security enabled.

joseph
2016-05-22 02:44
No. I'm sorry. wait a minute

joseph
2016-05-22 02:47
No. it doesn't also without security enabled.

muralisr
2016-05-22 02:50
right

muralisr
2016-05-22 02:54
I’m guessing you are doing some imports in chaincode that go pulls in vagrant

muralisr
2016-05-22 02:54
one approach

muralisr
2016-05-22 02:54
instead of deploying chaincode

muralisr
2016-05-22 02:54
run /bin/bash

muralisr
2016-05-22 02:54
and do go install

muralisr
2016-05-22 02:54
that should give you the exact failure

joseph
2016-05-22 02:55
what do you mean 'run /bin/bash'?

muralisr
2016-05-22 02:56
can you copy paste peer command

joseph
2016-05-22 03:00
docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_PEER_ID=vp1 -e CORE_PEER_ADDRESSAUTODETECT=true -e CORE_PEER_DISCOVERY_ROOTNODE=172.17.0.2:30303 hyperledger-peer peer node start

muralisr
2016-05-22 03:00
do this then

muralisr
2016-05-22 03:00
docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_PEER_ID=vp1 -e CORE_PEER_ADDRESSAUTODETECT=true -e CORE_PEER_DISCOVERY_ROOTNODE=172.17.0.2:30303 hyperledger-peer /bin/bash

muralisr
2016-05-22 03:01

joseph
2016-05-22 03:07
I saw that

joseph
2016-05-22 03:07
the docker keep using my old chaincode.

muralisr
2016-05-22 03:07
sorry.. how do you mean ?

muralisr
2016-05-22 03:08
perhaps you want to rebuild the image ?

joseph
2016-05-22 03:09
I mean that the docker using my old chaincode I created some day ago.

joseph
2016-05-22 03:10
we have to rebuild the image before every deploying?

muralisr
2016-05-22 03:13
in this case, yes

muralisr
2016-05-22 03:13
there are other ways

muralisr
2016-05-22 03:13
put your code in a public github repo for example

muralisr
2016-05-22 03:14

muralisr
2016-05-22 03:14
but for now building peer with the new chaincode will do the trick...

muralisr
2016-05-22 03:14
I need to go now.. will check later if you need help

joseph
2016-05-22 03:17
ok. thank you very much.

joseph
2016-05-22 05:21
I run a chaincode in chaincodedev mode in sanbox environment.

joseph
2016-05-22 05:22
I want to a certificate by calling stub.GetCallerMetadata().

joseph
2016-05-22 05:23
However, I got a empty result.

joseph
2016-05-22 05:23
Am I missing sth like configurations or *.yaml?

joseph
2016-05-22 05:24
Please me some ideas around calling stub.GetCallerMetatdata()?

clyde_dcruz
2016-05-22 05:29
i guess the metadata needs to be passed in the transaction like :

clyde_dcruz
2016-05-22 05:29
spec := &pb.ChaincodeSpec{ Type: 1, ChaincodeID: &pb.ChaincodeID{Path: "http://github.com/hyperledger/fabric/examples/chaincode/go/asset_management"}, //ChaincodeID: &pb.ChaincodeID{Name: chaincodeName}, CtorMsg: &pb.ChaincodeInput{Function: "init", Args: []string{}}, Metadata: adminCert.GetCertificate(), ConfidentialityLevel: confidentialityLevel, }

clyde_dcruz
2016-05-22 05:39
If you have security turned on , then you can get the caller's certificate by using: cert,err := stub.getCallerCertificate()

cweisenfluh
2016-05-22 06:28
has joined #general

joseph
2016-05-22 08:53
I don't know why I always get certificate empty.

ramtej
2016-05-22 11:28
has joined #general

joshfischer
2016-05-22 16:41
has joined #general

hench
2016-05-22 18:20
has joined #general

george
2016-05-22 20:07
has joined #general

garyz
2016-05-22 20:10
has joined #general

peacekeeper
2016-05-22 20:12
has joined #general

jonathan.mohan
2016-05-22 20:12
Hello to the new additions if you arrived from #Identity2020 the slack channels you would like to go to are # and #

dcblockchain
2016-05-22 20:37
has joined #general

laurashin
2016-05-22 20:42
has joined #general

psztorc
2016-05-22 20:55
has joined #general

edgeland
2016-05-22 23:25
has joined #general

edgeland
2016-05-22 23:28
Hello everyone! I'm new to this Slack group. I have an M.S. in math and some programming experience, and want to learn and work on blockchain stuff

gahattha
2016-05-23 01:34
has joined #general

mseiden
2016-05-23 04:48
has joined #general

jacky
2016-05-23 05:48
has joined #general

hgabor
2016-05-23 06:35
has joined #general

gotonto6
2016-05-23 07:51
has joined #general

cesarev
2016-05-23 08:30
has joined #general

gabrielwarren
2016-05-23 10:23
has joined #general

karan
2016-05-23 10:32
Hi All...I am new to the HL project, is there some hello world kind of application that I can try to help build my understanding. Apols if this is not the right question for this channel.

nickmelis
2016-05-23 10:32
there are a few chaincode examples


karan
2016-05-23 10:38
Thanks @nickmelis for pointing, will look into these

hurf
2016-05-23 10:49
has joined #general

hgabor
2016-05-23 11:49
hey

hgabor
2016-05-23 11:51
I m trying to run a system chaincode using this commit: https://github.com/srderson/fabric/commit/485ce1fe74bce2bedac21add17f87419b4bd211f

hgabor
2016-05-23 11:52
can anybody help me how to deploy and launch it?

hgabor
2016-05-23 11:53
there is a comment in the file importsysccs.go that says 'note the chaincode must still be deployed and launched like a user chaincode will be'

muralisr
2016-05-23 11:58
@hgabor : system chaincodes are deployed by the peer. It is just a note to indicated that the deploy path is equivalent to what a user would typically do to initialize. It does NOT mean user has to deploy again.

hgabor
2016-05-23 12:03
@muralisr: so I only need to add my own lines to importsysccs.go, write my own chaincode (using e.g. utxo), start a peer and that's all? :slightly_smiling_face:

muralisr
2016-05-23 12:04
@hgabor: I don’t know how the utxo is supposed to be used. @sheehan would know.

hgabor
2016-05-23 12:08
according to the log my code got registered but it is not deployed

hgabor
2016-05-23 12:15
ok I think I have got it

hgabor
2016-05-23 12:16
I forgot to edit core.yaml

janx
2016-05-23 14:45
has joined #general

miodzio4
2016-05-23 15:05
has joined #general

scottz
2016-05-23 15:14
has joined #general

primrose
2016-05-23 16:16
is there a whitepaper slack channel or mailing list? I don't have a comment just a question.

mounty
2016-05-23 16:32
has joined #general

codascud
2016-05-23 16:40
Hey.. Anyone using AWS? I am getting error “vrboxdrv” kernel module not loaded when I try to run VirtualBox on Ubuntu ec2 instance. For the same error on my laptop: I had to change my BIOS settings and enable VirtualTechnology to make it work on my laptop. How do I do it in AWS?

codascud
2016-05-23 16:42
I am using

codascud
2016-05-23 16:42
VirtualBox 5.0.20 for Linux

nickmelis
2016-05-23 16:52
Is a public GitHub repository the only way to deploy chaincode at the moment? Is there any plan to change it in the near future?

nickmelis
2016-05-23 16:52
Like sending the actual contract code to the REST endpoint?

nickmelis
2016-05-23 16:53
to be honest I see it as a big limitation at the moment

kostas
2016-05-23 16:54
> Is a public GitHub repository the only way to deploy chaincode at the moment?

kostas
2016-05-23 16:54
yes

nickmelis
2016-05-23 16:57
does it have to be a GitHub repo, or can it be any public URL?

jonathanlevi
2016-05-23 17:06
@codascud On AWS it's much better to create an AMI (Amazon Machine Instance). There used to be some (unsupported!) hacks for getting some versions on some AWS instances, but it's not recommended. In general, nested virtualization is not supported in these environments...

muralisr
2016-05-23 17:12
@nickmelis: go get is supposed to work on a few VCSs (I haven’t tried anything other than git). This might help https://golang.org/src/cmd/go/vcs.go

mojo
2016-05-23 17:34
has joined #general

codascud
2016-05-23 17:57
@jonathanlevi: thanks…

jonathanlevi
2016-05-23 18:03
@codascud: NP. I believe (though haven't actually tried it myself with HL/Fabric) you can try to replicate the configuration scripts that install the dependencies on vagrant up. Most of it are mainly Golang dependencies and Docker containers...

jonathanlevi
2016-05-23 18:05
Though at this point, you might as well try to get some non-virtual instances that do not prevent you from running vagrant/VBox, or so... which should work "out of the box".

codascud
2016-05-23 18:11
@jonathanlevi: got it... I am able to run on my laptop without any issues.. its the AWS that was a problem.. Will try to install dependancies manually sometime later… Thanks...

jonathanlevi
2016-05-23 18:14
@codascud: :+1::skin-tone-3: Sure thing.

ranga
2016-05-23 18:41
Tomorrow we have meetup in Mountain View : Fiduciary Code: Creating Trustworthy Distributed Ledgers for the supply chain . Zaki Manian will present. The presentation will have a quick overview of Hyperledger project and the nature of supply chain problems, before diving into Skuchain’s implementation and use cases. Here is the signup link : http://www.meetup.com/Silicon-Valley-Hyperledger-Blockchain-Meetup/events/231026602/ . Look forward to seeing you there !

zboichyk
2016-05-23 19:07
has joined #general

pasihe
2016-05-23 19:47
has joined #general

rikmoedt
2016-05-23 20:07
has joined #general

rtylersmith
2016-05-23 20:54
has joined #general

lhaskins
2016-05-23 21:15
has joined #general

rtylersmith
2016-05-23 21:36
Hello! Could someone tell me how I get on the weekly calls?


rtylersmith
2016-05-23 21:53
Thanks @tbenzies ! :+1:

wayne-tierion
2016-05-24 00:00
has joined #general

maruthi
2016-05-24 01:43
has joined #general

lafenicecc
2016-05-24 03:35
has joined #general

nickmelis
2016-05-24 07:45
@muralisr, my question is: is there a way to write and deploy some chaincode without having to make it publicly accessible?

nickmelis
2016-05-24 07:46
for example by passing the source code to the /chaincode API instead of an URL?

nickmelis
2016-05-24 07:46
or any other workaround

iisaint
2016-05-24 07:50
has joined #general

alihendavi
2016-05-24 07:52
has joined #general

lexsys
2016-05-24 08:01
has joined #general

joseph
2016-05-24 08:07
I need some help.

joseph
2016-05-24 08:07
I verify a caller like this

joseph
2016-05-24 08:08
adminCert, err := stub.GetState("admin") eccLogger.Debug("get adminCert [%x]", adminCert) if err != nil { return false, nil, err } sigma, err := stub.GetCallerMetadata() if err != nil { return false, nil, errors.New("Failing retrieving metadata") } payload, err := stub.GetPayload() if err != nil { return false, nil, errors.New("Failing getting payload") } binding, err := stub.GetBinding() if err != nil { return false, nil, errors.New("Failing getting binding") } eccLogger.Debug("passed certificate [%x]", adminCert) eccLogger.Debug("passed sigma [% x]", sigma) eccLogger.Debug("passed payload [% x]", payload) eccLogger.Debug("passed binding [% x]", binding) ok, err := stub.VerifySignature( adminCert, adminCert, append(payload, binding...), )

joseph
2016-05-24 08:08
But it returned verifying failed.

joseph
2016-05-24 08:09
Please someone give me an idea about this?

sehagens
2016-05-24 08:15
has joined #general

mcrafols
2016-05-24 08:17
@nickmelis: @kostas I asked the same question before and I was told that if the chaincode is in the VP path $GOPATH/src the path can be a local path pointing to it, something like ./cc.go

nickmelis
2016-05-24 08:21
@mcrafols: have you tried it?

mcrafols
2016-05-24 08:23
kind of, but wasn't sure of the specific path (./cc.go or cc.go ...) to set

mcrafols
2016-05-24 08:23
I don't know either if what happens when the VP is running as a docker image

mjdillon
2016-05-24 08:51
has joined #general

nickmelis
2016-05-24 08:58
it looks like you can set up a dev environment (and deploy the chaincode without relying on a public github) by following the steps at https://github.com/hyperledger/fabric/blob/master/docs/API/SandboxSetup.md

joseph
2016-05-24 09:04
Could someone please help me about verify signature?

nickmelis
2016-05-24 09:05
: is there any visibility on the roadmap, like what’s going to be implemented and released in the next few months?

xixuejia
2016-05-24 09:31
has joined #general

garisingh
2016-05-24 09:34
@nickmelis: I assume you are talking about the fabric roadmap and the answer is not quite yet, although the maintainers just started a weekly meeting: https://github.com/hyperledger/hyperledger/wiki/PublicMeetingCalendar - Hyperledger Project - Fabric Technical Planning

nickmelis
2016-05-24 09:35
@garisingh: is that just an online meeting?

garisingh
2016-05-24 09:36
yep - webex

garisingh
2016-05-24 09:37
``` Hyperledger Project - Fabric Technical Planning Contact: Binh Nguyen Every Monday, 10:00 am ET | 1 hr https://meetings.webex.com/collabs/meetings/join?uuid=M7ME8OZ0FX8ZY45U79CEWHFSOD-9VIB Meeting number: 195 533 376 Audio Connection: US TOLL Access code: 195 533 376 ```

nickmelis
2016-05-24 09:39
is the outcome of these meetings summarised in some sort of wiki page?

garisingh
2016-05-24 09:55
I think the first meeting was yesterday and unfortunately I could not attend so not sure. Perhaps @binhn @ghaskins @tamas can answer

tamas
2016-05-24 09:59
@binhn enumerated current activity on fabric. You are right, a roadmap toward features formulated in working groups and an update on progress online was the ideal outcome. We will have to get there. I am afraid not for this first meeting.

greg_not_so
2016-05-24 12:31
i was in the meeting yesterday and it may have been decided to be held biweekly

nickmelis
2016-05-24 12:33
is everyone able to join the meeting and listen?

sho
2016-05-24 12:41
has joined #general

pbottein
2016-05-24 13:16
has joined #general

cbf
2016-05-24 15:56
anyone may join any discussion

les.chasen
2016-05-24 15:57
has joined #general

nickmelis
2016-05-24 15:58
@cbf: thanks for the info

elli
2016-05-24 16:00
has joined #general

bramwelt
2016-05-24 16:24
has joined #general

rexxar
2016-05-24 16:46
has joined #general

coco
2016-05-24 17:15
has joined #general

bramvdbogaerde
2016-05-24 18:37
has joined #general

andreaturli
2016-05-24 19:47
has joined #general

andrew.keys
2016-05-24 21:06

myan
2016-05-25 00:38
has joined #general

agropper
2016-05-25 01:08
has joined #general

sangeeta
2016-05-25 03:38
has joined #general

jimmychen
2016-05-25 04:03
has joined #general

yajneshrai
2016-05-25 05:33
Hi, Can anybody tell me how to decrypt the encrypted information in block such as chaincodeID, payload, previousBlockHash etc?

petros_kavassalis
2016-05-25 07:02
has joined #general

hemyolin
2016-05-25 07:30
has joined #general

evan0675
2016-05-25 07:51
has joined #general

reube
2016-05-25 08:13
has joined #general

joseph
2016-05-25 10:48
I use the same chaincode name but I got this error

joseph
2016-05-25 10:48
10:42:23.102 [chaincode] func1 -> ERRO 048 [3778a2ec]Got error (error getting crypto encryptor ChaincodeIDs are different.) while decrypting. Sending ERROR

joseph
2016-05-25 10:48
Could any one give me an idea about it?

infra-red
2016-05-25 12:57
has joined #general

rabadiw
2016-05-25 13:03
has joined #general

anatoliy
2016-05-25 13:32
has joined #general

sandeep.sharma
2016-05-25 14:05
has joined #general

bc
2016-05-25 14:07
has joined #general

tykeal
2016-05-25 14:29
has joined #general

phildevops
2016-05-25 14:40
has joined #general

suryavb95
2016-05-25 15:04
has joined #general

rishabh1102
2016-05-25 15:06
has joined #general

amaurya
2016-05-25 17:32
has joined #general

mikezaccardo
2016-05-25 18:10
hey, just thought i’d share: today i successfully deployed a fabric cluster and ran the asset management demo live at the GlueCon keynote using the Apache Brooklyn blueprint (https://github.com/cloudsoft/brooklyn-hyperledger/tree/add-membersrvc)! people definitely seemed interested in the tech afterwards :slightly_smiling_face:

sheehan
2016-05-25 18:56
@mikezaccardo: nice! I was looking at all the related tweets on twitter a few min ago.

lfergus
2016-05-25 19:31
has joined #general

vinding
2016-05-25 21:16
@mikezaccardo: was it relatively straight forward? any tips for setting it up?

adolforafaelmartinez
2016-05-25 21:48
has joined #general

ddalu5
2016-05-25 22:23
has joined #general

tedy
2016-05-25 23:03
has joined #general

joseph
2016-05-26 03:19
I saved a state to world state: stub.PutState("admin", "abc") in deployment function.

joseph
2016-05-26 03:19
Then I invoked it stub.getState("admin")

joseph
2016-05-26 03:20
I got the error

joseph
2016-05-26 03:20
03:10:48.037 [chaincode] func1 -> ERRO 047 [057132f9]Got error (error getting crypto encryptor ChaincodeIDs are different.) while decrypting. Sending ERROR

joseph
2016-05-26 03:20
Could give me some ideas about the problem?

muralisr
2016-05-26 03:36
@joseph it means that chaincode ID of the deployment transaction does not match the chaincode ID associated with the current transaction

muralisr
2016-05-26 03:37
do you know the commands you used for the deploy transaction and the trans that causes this error ?

muralisr
2016-05-26 03:38
for some reason the chaincode ids dont match

joseph
2016-05-26 03:39
"{\"jsonrpc\":\"2.0\",\"method\":\"deploy\",\"params\":{\"type\":1,\"chaincodeID\":{\"name\":\"stock\",\"path\":\"http://github.com/chaincode-app-go/core\"},\"ctorMsg\":{\"function\":\"init\",\"args\":[\"hello_world\"]},\"secureContext\":\"jim\"},\"id\":1}" "{\"jsonrpc\":\"2.0\",\"result\":{\"status\":\"OK\",\"message\":\"stock\"},\"id\":1}" "{\"jsonrpc\":\"2.0\",\"method\":\"invoke\",\"params\":{\"type\":1,\"chaincodeID\":{\"name\":\"stock\",\"path\":\"http://github.com/chaincode-app-go/core\"},\"ctorMsg\":{\"function\":\"writeX\",\"args\":[\"read\"]},\"secureContext\":\"jim\"},\"id\":3}" "{\"jsonrpc\":\"2.0\",\"result\":{\"status\":\"OK\",\"message\":\"8b447e87-acbb-495c-b35a-5ccae4dae11c\"},\"id\":3}" "{\"jsonrpc\":\"2.0\",\"method\":\"query\",\"params\":{\"type\":1,\"chaincodeID\":{\"name\":\"stock\",\"path\":\"http://github.com/chaincode-app-go/core\"},\"ctorMsg\":{\"function\":\"readX\",\"args\":[\"read\"]},\"secureContext\":\"jim\"},\"id\":5}" "{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32003,\"message\":\"Query failure\",\"data\":\"Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for stock - LedgerError - ResourceNotFound: ledger: resource not found)\"},\"id\":5}"

joseph
2016-05-26 03:40
you see, I use the same chaincodeId for deployment, invocation and query

muralisr
2016-05-26 03:41
indeed

muralisr
2016-05-26 03:42
I see you are running in dev mode

muralisr
2016-05-26 03:42
which is ok

joseph
2016-05-26 03:42
yes

muralisr
2016-05-26 03:43
can you add a print statement and rebuild and try ?

muralisr
2016-05-26 03:44
I can give you the exact print statement if you can

joseph
2016-05-26 03:44
sure

muralisr
2016-05-26 03:45
cd core/crypto

muralisr
2016-05-26 03:45
edit validator_state.go

muralisr
2016-05-26 03:46
search for “ErrDifferentChaincodeID"

muralisr
2016-05-26 03:46
there should be two places. … put this following print before that error is returned

muralisr
2016-05-26 03:46
fmt.Printf("deployTx[%v], execTx[%v]\n", deployTx.ChaincodeID, executeTx.ChaincodeID)

muralisr
2016-05-26 03:47
you’d also have to add “fmt” to imports of course

joseph
2016-05-26 03:47
yes. I done.

muralisr
2016-05-26 03:47
rm -rf /var/hyperledger/*

muralisr
2016-05-26 03:47
start memservice

muralisr
2016-05-26 03:47
build peer

muralisr
2016-05-26 03:47
recreate the issue

joseph
2016-05-26 03:50
deployTx[[18 5 115 116 111 99 107]], execTx[[10 32 103 105 116 104 117 98 46 99 111 109 47 99 104 97 105 110 99 111 100 101 45 97 112 112 45 103 111 47 99 111 114 101 18 5 115 116 111 99 107]] 03:48:07.511 [chaincode] func1 -> ERRO 041 [b8bbf5ba]Got error (error getting crypto encryptor ChaincodeIDs are different.) while decrypting. Sending ERROR 03:48:07.512 [chaincode] processStream -> ERRO 042 [b8bbf5ba]Error handling message, ending stream: [b8bbf5ba-3fce-4406-befc-e4ee1fd8d566]Chaincode handler validator FSM cannot handle message (ERROR) with payload size (134) while in state: ready 03:48:08.200 [ledger] sendProducerBlockEvent -> ERRO 043 Error unmarshalling deployment transaction for block event: proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group 03:48:37.507 [crypto] CloseClient -> INFO 044 Closing client [jim]... 03:48:37.516 [rest] processChaincodeInvokeOrQuery -> ERRO 045 Error when querying chaincode: Error:Failed to execute transaction or query(Timeout expired while executing transaction) 03:48:37.516 [rest] ProcessChaincode -> INFO 046 REST sucessfully query chaincode: {"jsonrpc":"2.0","error":{"code":-32003,"message":"Query failure","data":"Error when querying chaincode: Error:Failed to execute transaction or query(Timeout expired while executing transaction)"},"id":5}

joseph
2016-05-26 03:51
it's peer logs.

muralisr
2016-05-26 03:54
few mins

joseph
2016-05-26 03:54
yup

muralisr
2016-05-26 03:57
the path param is left out of the deploy TX

muralisr
2016-05-26 03:58
but I see it in your JSO

muralisr
2016-05-26 03:58
JSON

muralisr
2016-05-26 03:58
are you using REST ?

joseph
2016-05-26 04:01
yes. I am using REST.

joseph
2016-05-26 04:04
you mean the path param was not in the deploy TX? I used the deploy statement: "{\"jsonrpc\":\"2.0\",\"method\":\"deploy\",\"params\":{\"type\":1,\"chaincodeID\":{\"name\":\"stock\",\"path\":\"http://github.com/chaincode-app-go/core\"},\"ctorMsg\":{\"function\":\"init\",\"args\":[\"hello_world\"]},\"secureContext\":\"jim\"},\"id\":1}"

muralisr
2016-05-26 04:05
right. I see it there

muralisr
2016-05-26 04:05
but I don’t see it in the deploy tx that was retrieved from the ledger

muralisr
2016-05-26 04:06
so not quite sure what’s happening

muralisr
2016-05-26 04:06
can you try the example from CLI ?

muralisr
2016-05-26 04:06
even before that...

muralisr
2016-05-26 04:06
can you try the exact same thing but in non dev mode ?

muralisr
2016-05-26 04:07
I think you’ll make progress

muralisr
2016-05-26 04:08
oh wait

muralisr
2016-05-26 04:08
try removing \"path\":\"http://github.com/chaincode-app-go/core\” from the invoke and query

joseph
2016-05-26 04:12
wow. It works now. :slightly_smiling_face:

muralisr
2016-05-26 04:12
:slightly_smiling_face:

joseph
2016-05-26 04:12
thank you so much.

joseph
2016-05-26 04:12
but when we should use or not use the path?

muralisr
2016-05-26 04:12
well

muralisr
2016-05-26 04:13
we need to debug this a bit..

muralisr
2016-05-26 04:13
in general, invoke and query should not have -p

muralisr
2016-05-26 04:14
deploy should

muralisr
2016-05-26 04:16
but we should not have the user figure that out…. part of the problem is the user mode which requires “-n” option on deploy

muralisr
2016-05-26 04:16
need to think thru this and probably debug (I think I came across this before) so we do the right thing automatically

muralisr
2016-05-26 04:17
but will have to do it tomorrow…er, later today :slightly_smiling_face:

joseph
2016-05-26 04:19
I got it.

joseph
2016-05-26 04:20
thank you again. :slightly_smiling_face:

muralisr
2016-05-26 04:20
sure thing. later :slightly_smiling_face:

manojpanda
2016-05-26 04:33
has joined #general

raymundl
2016-05-26 04:44
has joined #general

lexsys
2016-05-26 04:58
Hello! I am new to hyperledger and want to figure out how its parts fit together. There is description of API in protocol specification. Where is it implemented - REST service from `hyperledger/fabric` repo or `hyperledger/fabric-api`? How are these two related?

joseph
2016-05-26 04:59
hyperledger/fabric

lexsys
2016-05-26 05:01
ok. And what is `hyperledger/fabric-api`?

joseph
2016-05-26 05:02
it may became a client/SDK of the fabric in the future,

lexsys
2016-05-26 05:04
oh, I see! Thank you

lexsys
2016-05-26 05:05
Another question is about membership service. Does it issue and store ECerts and TCerts, or only verifies them based on root Cert and we need separate Cert management infrastructure?

nickmelis
2016-05-26 08:33
general question: I read something about events in HyperLedger, but there’s no API related to events

nickmelis
2016-05-26 08:33
is it something in the roadmap? Or it’s already out there?


nickmelis
2016-05-26 08:44
@mcrafols: I guess it doesn’t use the REST api, am I right?

mcrafols
2016-05-26 08:46
I have no clue how it works I just remembered this post:


nickmelis
2016-05-26 08:49
thanks, just wondering if I can implement something similar in Java...

nickmelis
2016-05-26 08:50
does anyone know more about this application?

jane
2016-05-26 12:20
has joined #general

tribbloid
2016-05-26 14:39
has joined #general

rjaquez
2016-05-26 14:48
has joined #general

tribbloid
2016-05-26 15:17
Can I ask a simple question? Is there a way to setup a Hyperledger fabric node on Amazon EC2 without building?

ghaskins
2016-05-26 15:27
@tribbloid: I don’t think there is today out of the can, but I see no reason you couldnt get it to work if you are willing to put the legwork in

ghaskins
2016-05-26 15:28
if you started with a trusty/14.04 AMI and ran the following scripts:



ghaskins
2016-05-26 15:29
(in that order)

ghaskins
2016-05-26 15:29
it will get you fairly close

tribbloid
2016-05-26 15:29
thank you!

tribbloid
2016-05-26 15:29
the first script setup the build environment

tribbloid
2016-05-26 15:29
the second compile

ghaskins
2016-05-26 15:29
let us know how it goes, i suspect this will be interesting to many folks going forward

tribbloid
2016-05-26 15:30
it will be great to make a public ami out of it

ghaskins
2016-05-26 15:30
well, the primary objective of both of those scripts is to get the dependencies installed

ghaskins
2016-05-26 15:30
but the second script does indeed compile the peer too

ghaskins
2016-05-26 15:30
but you can do that manually over and over after the deps are installed

tribbloid
2016-05-26 15:31
will try and get back to you in seconds

ghaskins
2016-05-26 15:31
those scripts are more or less what we execute to configure the vagrant environment, but its 99% ubuntu specific not vagrant specific

ghaskins
2016-05-26 15:31
heh, you’ve obviously never run those scripts before

ghaskins
2016-05-26 15:31
more like 30 minutes :wink:

ghaskins
2016-05-26 15:31
(the first one has to compile a bunch of stuff that isnt available in trusty)

ghaskins
2016-05-26 15:32
ultimately I would love to see a pipeline which automates not just vagrant/docker, but also AMI, GCE, Azure, etc

ghaskins
2016-05-26 15:32
but we arent there yet

tribbloid
2016-05-26 15:35
soory I mean will try in seconds and get back

ghaskins
2016-05-26 15:36
heh, i was just teasing, and also mentally preparing you that its going to take a while

ghaskins
2016-05-26 15:36
the first script in particular

ghaskins
2016-05-26 15:38
(for clarity, the reason there are two scripts is we break it up such that the first one results in an image we can reuse (e.g. a dockerhub or vagrant-box), and the second represents logic that we do dynamically on top

ghaskins
2016-05-26 15:39
so, the first script represents the closest to what might be a sensible AMI to publish

ghaskins
2016-05-26 15:40
if you end up really needing AMI support, a way to get this officially in the pipeline would be to add an AMI provisioner to https://github.com/hyperledger/fabric/blob/master/images/base/packer.json#L13


ghaskins
2016-05-26 15:41
you can follow the vagrant provisioner as a model

ghaskins
2016-05-26 15:42
patches welcome

tribbloid
2016-05-26 15:42
first script up and running

ghaskins
2016-05-26 15:42
awesome

tribbloid
2016-05-26 15:43
thanks a lot sir

ghaskins
2016-05-26 15:43
any time, good luck

ghaskins
2016-05-26 15:44
I just noticed I also had a common/init.sh too

ghaskins
2016-05-26 15:44
you _might_ need to call that before common/setup.sh

ghaskins
2016-05-26 15:44
YMMV

tribbloid
2016-05-26 15:56
I have an error:

tribbloid
2016-05-26 15:56
+ SRC_PATH=/tmp/node-v0.12.7-linux-x64.tar.gz + rm -f node-v0.12.7-linux-x64.tar.gz + wget --quiet https://nodejs.org/dist/v0.12.7/node-v0.12.7-linux-x64.tar.gz + cd /usr/local + sudo tar --strip-components 1 -xzf /tmp/node-v0.12.7-linux-x64.tar.gz tar (child): /tmp/node-v0.12.7-linux-x64.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now ubuntu@ip-172-31-11-24:~/git/fabric/images/base/scripts/common$ ls /tmp go1.6.linux-amd64.tar.gz.1 ubuntu@ip-172-31-11-24:~/git/fabric/images/base/scripts/common$ ^C ubuntu@ip-172-31-11-24:~/git/fabric/images/base/scripts/common$

tribbloid
2016-05-26 15:57
It turns out that wget doesn't specify target directory

ghaskins
2016-05-26 16:14
oh i have a bug fix for that, sorry

ghaskins
2016-05-26 16:14
i just ran into that yesterday

ghaskins
2016-05-26 16:15
if you use this branch, that should work


ghaskins
2016-05-26 16:15

ghaskins
2016-05-26 16:17
that became broken just very recently during some multi-arch support, but went unnoticed since we dont rebuild ./images/base often

tribbloid
2016-05-26 16:18
I'll use your repo

ghaskins
2016-05-26 16:19
sorry about that, I should have thought of it being I just hit it myself

tribbloid
2016-05-26 16:19
hope the script doesn't use other sourcecode, as your branch is several commits behind from upstream master

ghaskins
2016-05-26 16:19
it shouldnt, but it will probably merge cleanly if you want to pull master on top

ghaskins
2016-05-26 16:20
actually, you raise a good point though

ghaskins
2016-05-26 16:20
that branch is pointing to a new unreleased/untested base image

ghaskins
2016-05-26 16:20
you are better off cherry picking that one commit

ghaskins
2016-05-26 16:20
im still qualifying the 0.0.10 release right now

ghaskins
2016-05-26 16:21
otherwise, you run the risk of hitting something in 0.0.10 that might have nothing to do with your goals

tribbloid
2016-05-26 16:24
one extra suggestion:

tribbloid
2016-05-26 16:24
could you add this?

tribbloid
2016-05-26 16:24
sudo rm -R /opt/go

tribbloid
2016-05-26 16:24
I mean rm -R /opt/go

ghaskins
2016-05-26 16:26
in the base image script?

tribbloid
2016-05-26 16:27
yeah, so the mv command won't complain that the dir already exist if the script was interrupted before

ghaskins
2016-05-26 16:27
i see…I _could_ but it was really designed to provision clean systems

ghaskins
2016-05-26 16:28
so not sure it should be cluttered up that way

ghaskins
2016-05-26 16:28
i know what you are getting at though

ghaskins
2016-05-26 16:28
let me think about it

pal
2016-05-26 18:00
has joined #general

tribbloid
2016-05-26 18:07
ok first 2 script finished

tribbloid
2016-05-26 18:07
and AMI created

tribbloid
2016-05-26 18:16
I encountered the second error when running the setup script under devenv:

tribbloid
2016-05-26 18:16
Processing triggers for libc-bin (2.19-0ubuntu6.7) ... Processing triggers for ureadahead (0.100.0-16) ... docker stop/waiting docker start/running, process 11306 usermod: user 'vagrant' does not exist

tribbloid
2016-05-26 18:17
should I just create a new user?

atiwari
2016-05-26 18:43
has joined #general

eabailey
2016-05-26 18:48
has joined #general

atiwari
2016-05-26 18:57
Hi All, I am new here and trying lear the Fabric project. Looking for instruction to setup 2/3 node private/test network. Can any one point me to right documents?

ghaskins
2016-05-26 19:08
@tribbloid: you probably dont need to have the user be “vagrant” per se, thats just an artifact of the targeted use of that script originally

ghaskins
2016-05-26 19:09
I will say this though, whatever privilege was being conferred in that setup is probably something you want to replicate for whatever UID you get logged in as under EC2

tribbloid
2016-05-26 19:09
so which way is better? adding user or changing the script?

ghaskins
2016-05-26 19:14
whatever you prefer…if it were me, I wouldn’t want to confuse the EC2 environment with vagrant and would avoid flavoring it as such

ghaskins
2016-05-26 19:14
but I dont think its a big deal either way

sheehan
2016-05-26 19:29
@tribbloid: I haven’t tried it yet, but it seems the cloudsoft team have done some EC2 deployments via Apache Brooklyn https://github.com/cloudsoft/brooklyn-hyperledger/tree/add-membersrvc

tribbloid
2016-05-26 19:32
thanks a lot, the instruction says:

tribbloid
2016-05-26 19:32
If deploying to AWS You should use an up-to-date CentOS AMI

tribbloid
2016-05-26 19:32
which is far from the default Ubuntu-based vagrant image

tribbloid
2016-05-26 19:33
its hard to maintain the synchronisation between both environnment

tribbloid
2016-05-26 19:34
I would rather not taking the extra eisk

tribbloid
2016-05-26 19:34
risk

jphillips
2016-05-26 19:41
has joined #general

tribbloid
2016-05-26 19:54
I've added a new user and execute again, this time I got the following error information:

tribbloid
2016-05-26 19:54
./setup.sh: line 82: /hyperledger/scripts/provision/host.sh: No such file or directory

tribbloid
2016-05-26 19:54
this is the devenv/setup.sh

ghaskins
2016-05-26 20:00
i am not sure what your setup is, but the “/hyperledger” mount point is something vagrant creates which maps to the fabric tree

ghaskins
2016-05-26 20:01
so, in your AMI, you would either want to edit that path appropriately, or emulate the setup and have fabric.git available in the /hyperledger path as well

ghaskins
2016-05-26 20:01
either should work equally well.

tribbloid
2016-05-26 20:03
I see, sounds like a symbolic link can solve all the problem, let me try it and post any consequence

tribbloid
2016-05-26 20:03
hopefully we can edit the script to make it adaptive

ghaskins
2016-05-26 20:08
yeah, ive been slowly moving things out of ./devenv/setup.sh and into ./scripts/provision, with exactly that motivation

tribbloid
2016-05-26 20:08
building now after running this line:

tribbloid
2016-05-26 20:08
ln -s ~/git/fabric /hyperledger

ghaskins
2016-05-26 20:08
the things that remain in ./devenv would probably remain vagrant specific by design, but if we can capture all/most of the meat under scripts/provision then we can achieve the same effect

tribbloid
2016-05-26 20:09
why vagrant specific? so far all vagrant script are

tribbloid
2016-05-26 20:09
written for virtualbox provider

ghaskins
2016-05-26 20:10
well, to date we have three supported targets: vagrant, docker, and travis

tribbloid
2016-05-26 20:10
there are many more environment than this

ghaskins
2016-05-26 20:10
of those, ./images/base/scripts/common and ./scripts/provision are generic

tribbloid
2016-05-26 20:11
speaking of which, do you think this project:


tribbloid
2016-05-26 20:11
has more change to be accepted as canonical?

tribbloid
2016-05-26 20:11
since its written inn a language that is less environment demanding

ghaskins
2016-05-26 20:12
everything else, (e.g. [./devenv, ./images/base/scripts/vagrant] (vagrant), .travis.yml (travis), and [./images/base/scripts/docker, ./scripts/provision/docker] (docker) are specific to their target

ghaskins
2016-05-26 20:12
im trying to get the specific stuff as light as possible

ghaskins
2016-05-26 20:13
but I suspect there will always be some target specific logic _somewhere_ no matter how close we get, its generally irreducible

ghaskins
2016-05-26 20:14
regarding the link, i think this is what that became: https://github.com/hyperledger/fabric-api

ghaskins
2016-05-26 20:15
bottom line, we know/understand the platform support is a little too opinionated…we are working on that

ghaskins
2016-05-26 20:15
in the early days, we only supported x86/vagrant/virtualbox

ghaskins
2016-05-26 20:16
have since added docker, travis, and s390x, with more on the way

tribbloid
2016-05-26 20:23
encounter another error:

tribbloid
2016-05-26 20:23
./setup.sh: line 94: cd: /opt/gopath/src/github.com/hyperledger/fabric: No such file or directory

tribbloid
2016-05-26 20:24
another symbolic link?

tribbloid
2016-05-26 20:25
the gopath folder is empty at this point

ghaskins
2016-05-26 20:31
so, two things:

trinoy
2016-05-26 20:31
has joined #general

ghaskins
2016-05-26 20:31
1) you need to have the fabric available as $GOPATH/src/github.com/hyperledger/fabric

ghaskins
2016-05-26 20:31
2) you need to have $GOPATH/$GOROOT set appropriately

ghaskins
2016-05-26 20:32
i am assuming your have (2), and just need to set up (1)

tribbloid
2016-05-26 20:44
Sorry I though (1) is already handled by the first script?

tribbloid
2016-05-26 20:44
I've seen lots of script outputs using $GOPATH

ghaskins
2016-05-26 20:44
no, neither of those scripts will load the actual project code

tribbloid
2016-05-26 20:45
so how does it work in vagrant before?

ghaskins
2016-05-26 20:45
vagrant load its as part of devenv/Vagrantfile

ghaskins
2016-05-26 20:45
travis loads it in a similar way

ghaskins
2016-05-26 20:45
those tools all start with a git-checkout before the VM config starts

ghaskins
2016-05-26 20:46
your AMI is different, its more like a real box

ghaskins
2016-05-26 20:46
heres where vagrant is doing it


tribbloid
2016-05-26 20:46
I see, their images are already built with Go environment

tribbloid
2016-05-26 20:46
but AWS is not

ghaskins
2016-05-26 20:47
travis is, yes

ghaskins
2016-05-26 20:47
for vagrant, we do it in that script under ./images/base/scripts/common/setup.sh

tribbloid
2016-05-26 20:49
I've just run that before!

ghaskins
2016-05-26 20:49
thats what I thought

ghaskins
2016-05-26 20:49
so, you should have go installed

ghaskins
2016-05-26 20:49
note that you might have to logout/in to get the envvars though

ghaskins
2016-05-26 20:50
the script updates /etc/profile.d, but that would only be processed at login

tribbloid
2016-05-26 20:50
I have $GOPATH

ghaskins
2016-05-26 20:50
ok, cool

tribbloid
2016-05-26 20:50
ubuntu@ip-172-31-11-24:/opt/gopath$ echo $GOPATH /opt/gopath

tribbloid
2016-05-26 20:50
but its empty

ghaskins
2016-05-26 20:50
so now just make sure you have $GOPATH/src/github.com/hyperledger/fabric

tribbloid
2016-05-26 20:51
looks like something should be in ./images/base/scripts/common/setup.sh but was delegated to Vagrantfile

tribbloid
2016-05-26 20:51
the sync

ghaskins
2016-05-26 20:51
you can even just do “go get http://github.com/hyperledger/fabric"

ghaskins
2016-05-26 20:51
what part?

ghaskins
2016-05-26 20:52
but I assume you already have the tree local since you are accessing scripts, etc

tribbloid
2016-05-26 20:52
yes, its like a circular dependency

tribbloid
2016-05-26 20:53
to run the script I need git clone it to a local folder

tribbloid
2016-05-26 20:53
the script will create $GOPATH

tribbloid
2016-05-26 20:53
while assuming that I have cloned into the $GOPATH

ghaskins
2016-05-26 20:54
i understand, but theres not much you can really do about it

ghaskins
2016-05-26 20:54
most software doesnt try to help you install deps

ghaskins
2016-05-26 20:54
these scripts are, but as a result of using them, yes I suppose its a little circular

ghaskins
2016-05-26 20:54
you could chose not to use the scripts and do it by hand, but then its probably more work for you

ghaskins
2016-05-26 20:55
but bottom line, it was all designed to work with vagrant via “vagrant up”….anything else is emerging

tribbloid
2016-05-26 20:55
deps management is a very important part in both installation (e.g. apt-get) and compilation (e.g. maven, npm)

ghaskins
2016-05-26 20:55
i agree

ghaskins
2016-05-26 20:56
but even if you use something like maven, you still have to pull the pom first

ghaskins
2016-05-26 20:57
right now, the equivelent of “mvn build” is “vagrant up"

ghaskins
2016-05-26 20:57
it will build all the deps for you (short of installing vagrant/virtualbox, just like maven wont install maven)

ghaskins
2016-05-26 20:57
we need to do more than just vagrant, but its not quite there yet

tribbloid
2016-05-26 21:00
yeah, this is limited to local dev environment, the Vagrantfile confine everyone to launch a virtualbox with 4G memory, unable to scale up or down according to production demand.

ghaskins
2016-05-26 21:00
understood

ghaskins
2016-05-26 21:00
the project is young, thats just the state it is in right now

ghaskins
2016-05-26 21:00
patches welcome :slightly_smiling_face:

tribbloid
2016-05-26 21:02
it would be my pleasure

tribbloid
2016-05-26 21:03
but that's why I was asking if other candidates are likely to be accepted as well.

ghaskins
2016-05-26 21:04
you mean something in addition to hyperledger/fabric?

ghaskins
2016-05-26 21:04
have to step out, bbiab

tribbloid
2016-05-26 21:04
e.g. Sawtooth lake, and hlp-candidate written in Java/Scala

tribbloid
2016-05-26 21:05
not to fabric, but to hyperledger as a superproject

tribbloid
2016-05-26 21:05
eventually companies will reach a consensus platform-wise to minimize their effort

tribbloid
2016-05-26 21:07
and fabric is one of the 4 candiates

tribbloid
2016-05-26 21:08
ok, build finished with no error

tribbloid
2016-05-26 21:08
Removing intermediate container 1ccfab43c9eb Successfully built c9442e2e6291 cd peer; CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" go build make gotool.golint make[1]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric' go get http://github.com/golang/lint/golint make[1]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric' make gotool.govendor make[1]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric' go get http://github.com/kardianos/govendor make[1]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric' make gotool.goimports make[1]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric' go get http://golang.org/x/tools/cmd/goimports make[1]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric' make gotool.protoc-gen-go make[1]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric' mkdir -p /opt/gopath/src/github.com/golang/protobuf/ cp -r /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/golang/protobuf/ /opt/gopath/src/github.com/golang/ go install http://github.com/golang/protobuf/protoc-gen-go rm -rf /opt/gopath/src/github.com/golang/protobuf make[1]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric'

muralisr
2016-05-26 21:11
apologize for “noise” comments from me…. just deleted those :slightly_smiling_face:

atiwari
2016-05-26 21:25
@ghaskins: error while loading shared libraries: librocksdb.so.4.1: cannot open shared object file: No such file or directory

atiwari
2016-05-26 21:26
any idea?

atiwari
2016-05-26 21:26
I have installed rocksdb

atiwari
2016-05-26 21:30
never mind LD_LIBRARY_PATH was bad

cbf
2016-05-27 00:38
@tribbloid: hyperledger-incubator/hlp-candidate has been superceded and is now hyperledger/fabric-api and is actually part of the same incubating project as hyperledger/fabric

cbf
2016-05-27 00:39
there are two incubating projects presently, fabric and sawtooth lake. My hope would be that at some point these are synthesized into a single platform

bturek
2016-05-27 00:40
has joined #general

portante
2016-05-27 01:14
has joined #general

jessie.yeung
2016-05-27 02:17
has joined #general

yajneshrai
2016-05-27 07:46
Hi I'm trying to run asset_management.go chaincode. I get following error when the control encounters reading metadata line. adminCert, err := stub.GetCallerMetadata() Error I get: 07:35:29.478 [shim] DEBU : Peer address: 0.0.0.0:30303 07:35:29.482 [shim] DEBU : os.Args returns: [./asset_management] 07:35:29.486 [shim] DEBU : Registering.. sending REGISTER 07:35:29.491 [shim] DEBU : []Received message REGISTERED from shim 07:35:29.491 [shim] DEBU : []Handling ChaincodeMessage of type: REGISTERED(state :created) 07:35:29.491 [shim] DEBU : Received REGISTERED, ready for invocations 07:35:51.926 [shim] DEBU : [mycc]Received message INIT from shim 07:35:51.926 [shim] DEBU : [mycc]Handling ChaincodeMessage of type: INIT(state:e stablished) 07:35:51.927 [shim] DEBU : Entered state init 07:35:51.927 [shim] DEBU : [mycc]Received INIT, initializing chaincode 07:35:51.928 [asset_mgm] DEBU : Init Chaincode... ---------------- Start creation - Table ---------------- 07:35:51.929 [shim] DEBU : [mycc]Sending GET_STATE 07:35:51.931 [shim] DEBU : [mycc]Received message RESPONSE from shim 07:35:51.931 [shim] DEBU : [mycc]Handling ChaincodeMessage of type: RESPONSE(sta te:init) 07:35:51.932 [shim] DEBU : [mycc]before send 07:35:51.932 [shim] DEBU : [mycc]after send 07:35:51.932 [shim] DEBU : [mycc]Received RESPONSE, communicated (state:init) 07:35:51.932 [shim] DEBU : [mycc]GetState received payload RESPONSE 07:35:51.932 [shim] DEBU : [mycc]Inside putstate, isTransaction = true 07:35:51.932 [shim] DEBU : [mycc]Sending PUT_STATE 07:35:51.934 [shim] DEBU : [mycc]Received message RESPONSE from shim 07:35:51.934 [shim] DEBU : [mycc]Handling ChaincodeMessage of type: RESPONSE(sta te:init) 07:35:51.934 [shim] DEBU : [mycc]before send 07:35:51.935 [shim] DEBU : [mycc]after send 07:35:51.935 [shim] DEBU : [mycc]Received RESPONSE, communicated (state:init) 07:35:51.935 [shim] DEBU : [mycc]Received RESPONSE. Successfully updated state ---------------- End creation - Table ---------------- ---------------- Start Checking - Metadata ---------------- 07:35:51.936 [shim] DEBU : [mycc]Init failed. Sending ERROR 07:35:51.936 [shim] DEBU : [mycc]Move state message ERROR 07:35:51.936 [shim] DEBU : [mycc]Handling ChaincodeMessage of type: ERROR(state: init) 07:35:51.936 [shim] DEBU : [mycc]send state message ERROR Please let me know if any other parameters to be passed while deploying the chaincode via REST call

xavier
2016-05-27 10:01
has joined #general

imchanst
2016-05-27 10:09
has joined #general

cbf
2016-05-27 12:27
: for those of you that have joined (accepted an invite) the Hyperledger github org membership ( https://github.com/orgs/hyperledger/people ) if you haven’t done so already, please make your membership _public_. Github changed the policy a while back to be opt-in public. The problem though is that private members are not visible (duh) to the general public. So, while we have 94 of you (thanks!) that have joined as members, only 39 of you are visible. Please visit the link above and find yourself in the member list and toggle your membership visibility to ‘public’. Thanks!

cbf
2016-05-27 12:27
for those of you that have not joined, there’s the # channel

baohua
2016-05-27 12:29
@cbf i check the status, and confirm i’m public already~

baohua
2016-05-27 12:29
thanks for the reminder, maybe we can put it on the invitation policy.

bminchal
2016-05-27 14:35
has joined #general

mike.varley
2016-05-27 15:01
has joined #general

tribbloid
2016-05-27 15:37
Hey committers, I've encounter a bug:

tribbloid
2016-05-27 15:37
This is what I do:

tribbloid
2016-05-27 15:37
./peer node start

tribbloid
2016-05-27 15:37
./peer chaincode deploy -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}'

tribbloid
2016-05-27 15:37
then I get the stack trace:

tribbloid
2016-05-27 15:38
15:35:46.812 [main] serve -> INFO 014 Starting peer with id=name:"jdoe" , network id=dev, address=0.0.0.0:30303, discovery.rootnode=, validator=true 15:35:46.835 [rest] StartOpenchainRESTServer -> INFO 015 Initializing the REST service on 0.0.0.0:5000, TLS is disabled. panic: runtime error: index out of range goroutine 28 [running]: panic(0xd43b20, 0xc8200100d0) /opt/go/src/runtime/panic.go:464 +0x3e6 http://github.com/hyperledger/fabric/core/chaincode/platforms/golang.(*Platform).ValidateSpec(0x15439e8, 0xc82012d4f0, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/platforms/golang/platform.go:56 +0x494 http://github.com/hyperledger/fabric/core.CheckSpec(0xc82012d4f0, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/devops.go:266 +0x261 http://github.com/hyperledger/fabric/core.(*Devops).getChaincodeBytes(0xc8201a58c0, 0x7f6882509430, 0xc8201fc660, 0xc82012d4f0, 0x100, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/devops.go:93 +0x24d http://github.com/hyperledger/fabric/core.(*Devops).Deploy(0xc8201a58c0, 0x7f6882509430, 0xc8201fc660, 0xc82012d4f0, 0x0, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/devops.go:111 +0x78 http://github.com/hyperledger/fabric/protos._Devops_Deploy_Handler(0xde7b40, 0xc8201a58c0, 0x7f6882509430, 0xc8201fc660, 0xc8201fc750, 0x0, 0x0, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/protos/devops.pb.go:198 +0x132 http://github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc82020e4e0, 0x7f6882509240, 0xc8201fe750, 0xc820096300, 0xc8201dda40, 0x1504bb0, 0xc8201fc630, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:350 +0x847 http://github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).handleStream(0xc82020e4e0, 0x7f6882509240, 0xc8201fe750, 0xc820096300, 0xc8201fc630) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:467 +0x743 http://github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).Serve.func2.1.1(0xc82020e4e0, 0x7f6882509240, 0xc8201fe750, 0xc820096300, 0xc8201fc630, 0xc82011ec80) /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:278 +0x49 created by http://github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*Server).Serve.func2.1 /opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:280 +0x5ac

tribbloid
2016-05-27 15:39
So its conclusion is:

tribbloid
2016-05-27 15:39
'index out of range'

sheehan
2016-05-27 18:29
@tribbloid: Please open an issue. https://github.com/hyperledger/fabric/issues/new Thanks


joe-alewine
2016-05-27 20:30
has joined #general

jillt
2016-05-27 23:45
has joined #general

heshuguo
2016-05-28 01:55
has joined #general

mojovski
2016-05-28 11:28
has joined #general

hamidrj
2016-05-28 12:40
has joined #general

cypher
2016-05-29 06:40
has joined #general

hadoken
2016-05-29 18:47
has joined #general

mikeb
2016-05-29 22:43
has joined #general

mikeb
2016-05-29 22:45
hi there, was interested to see if we could untilize hyperledger as an alternative to openchain.

mikeb
2016-05-29 22:46
Or as an additional option. what is the roadmap looking like?

tony
2016-05-30 02:58
has joined #general

alverson
2016-05-30 03:57
has joined #general

pkulkark
2016-05-30 05:23
has joined #general

frankdietrich
2016-05-30 05:51
has joined #general

myesudas
2016-05-30 06:55
has joined #general

zuowang
2016-05-30 07:43
has joined #general

obo
2016-05-30 08:17
has joined #general

poly
2016-05-30 08:24
has joined #general

yajneshrai
2016-05-30 09:01
Hi, Does anyone have any idea about table creation and other related operations in chaincode?

yajneshrai
2016-05-30 09:01
I'm kinda stuck here with it

yajneshrai
2016-05-30 09:03
Do i have to pass any special arguments in REST call, as I'm not able to insert a row into the table

salamar
2016-05-30 09:12
has joined #general

petr
2016-05-30 09:31
has joined #general

alekhya102
2016-05-30 11:35
has joined #general

ghaskins
2016-05-30 12:28
@yajneshrai: can you be more specific about what you are trying to accomplish?

ghaskins
2016-05-30 12:28
the short answer about your REST call is “no, no special arguments"

ghaskins
2016-05-30 12:29
one thing to note, queries are read-only, so if you are trying to update rows in a query handler, that will not work

ghaskins
2016-05-30 12:29
you must use an invoke

kesavannb
2016-05-30 12:33
has joined #general

yunfeng
2016-05-30 12:59
has joined #general

amocanu
2016-05-30 14:29
has joined #general

amocanu
2016-05-30 14:32
vinn

dianfu
2016-05-30 14:33
has joined #general

amocanu
2016-05-30 14:33
vinnn

pdeegan
2016-05-30 16:14
has joined #general

tomoaki
2016-05-30 16:33
has joined #general

karkal
2016-05-30 18:44
has joined #general

bitjedi
2016-05-30 19:18
has joined #general

akohli
2016-05-30 21:00
has joined #general

joeyking
2016-05-30 22:29
has joined #general

zuowang
2016-05-31 00:34
Hi, is non-deterministic execution supported by Sieve consensus protocol implemented in fabric?

ghaskins
2016-05-31 02:15
sieve is implemented, and sieve _prevents_ non-deterministic execution…is that what you meant?

zuowang
2016-05-31 03:00
@ghaskins: I mean is probabilistic algorithms supported in chaincode?

zuowang
2016-05-31 03:02
@ghaskins: I saw in the sieve paper "Protocol Sieve, in the modular approach, has been developed for executing potentially non-deterministic "smart contracts” as applications for a blockchain built with BFT replication" Thank you for your reply!

ghaskins
2016-05-31 03:11
Im not sure what you mean by “probabilistic algorithms”, but I think you misinterpreted the the intent of sieve

ghaskins
2016-05-31 03:11
its not meant to _permit_ non deterministic smart-contracts, but rather to detect/mitigate them

ghaskins
2016-05-31 03:15
non determinism is the enemy of a consensus network, sieve aims to ensure non-determinism doesn’t slip in to the block chain.

ashishkel
2016-05-31 03:16
has joined #general

zuowang
2016-05-31 03:45
@ghaskins: can I access to access a random-number generator in chaincode? According to your reply the answer is NO!

murugandinesh
2016-05-31 06:02
has joined #general

mart0nix
2016-05-31 08:03
has joined #general

yajneshrai
2016-05-31 09:05
@ghaskins: thank you for your response! But I'm trying to insert a row using Invoke(), not Query(). My concern is, Do I have to send any metadata or certificate sort of arguments in REST call. Can a normal user insert a row into the table? Or has it to be an administrator?

ghaskins
2016-05-31 10:24
Each chaincode has its own private KV store, and each chaincode decides it's access policy. You could leave it wide open, but I suspect most applications will do some sort of ABAC

ghaskins
2016-05-31 10:37
@zuowang: short answer is "no". The long answer is right now the container is not very locked down so you could in fact access one. It's just a bad idea. Some consensus algorithms (like seive) will detect that you did this and reject your transactions. Others will fail to detect it but you will have a corrupted network. Either way, it's a negative outcome.

simon
2016-05-31 11:20
zuowang: why do you want access to random numbers?

roxanek
2016-05-31 11:57
has joined #general

asabau
2016-05-31 12:33
has joined #general

stelin
2016-05-31 13:03
has joined #general

kthomsen
2016-05-31 13:11
has joined #general

bfuentes
2016-05-31 13:29
I just would like to know if it could be possible to delete a block on Hyperledger ? For example if the block involves 2 participants, theses two particpants could agree to remove a block ("invalid chaincode" , "wrong transaction" for example).

bfuentes
2016-05-31 13:31
I am not sure at all that all blocks are linked all together with hashes like for Bitcoin. So if it is true, it could be done, right ?

ghaskins
2016-05-31 13:31
in short, I don’t think that should ever be allowed…you would want a compensating transaction instead

bfuentes
2016-05-31 13:33
in case of a transaction yes, why not. In case of a wrong chaincode deployed ?

bfuentes
2016-05-31 13:33
it should be purged

bfuentes
2016-05-31 13:34
no compensation for that

ghaskins
2016-05-31 13:34
the entire point is to build an immutable history, that mistake is part of your history

bfuentes
2016-05-31 13:35
well on a transaction point of view yes

bfuentes
2016-05-31 13:35
on chaincode deployed , not really

ghaskins
2016-05-31 13:35
yes, mistakes are undesirable/unfortunate, but not nearly as unfortunate as a blockchain that cannot prevent integrity violations

ghaskins
2016-05-31 13:35
chaincode deployments are just another type of transaction

bfuentes
2016-05-31 13:37
so old useless chaincodes still remains on the blockchain

bfuentes
2016-05-31 13:37
we cannot update their code

bfuentes
2016-05-31 13:38
we will have to add a new block and to point to this one ?

bfuentes
2016-05-31 13:38
am I right ?

ttaveira
2016-05-31 13:40
has joined #general

ghaskins
2016-05-31 13:44
to be clear, you cannot (by design) “update” the record of historical state…you can always propose new state to be added to the chain…new state can include new code

ghaskins
2016-05-31 13:45
blockchains are like snapshots of immutable data, you can only propose new snapshots not delete snapshots

ghaskins
2016-05-31 13:46
so I wouldnt classify it was “we cannot update their code"

ghaskins
2016-05-31 13:46
you can update a chaincode (or delete it, or add other chaincodes, etc) as a new state

ghaskins
2016-05-31 13:47
@bfuentes: does that make sense?

bfuentes
2016-05-31 13:50
@ghaskins: ok. Thank you for the explanation :slightly_smiling_face:

ghaskins
2016-05-31 13:50
any time

tdebresser
2016-05-31 13:54
has joined #general

elast
2016-05-31 15:28
has joined #general

randy_ibm
2016-05-31 16:13
has joined #general

louisdawson
2016-05-31 18:24
has joined #general

vietle
2016-05-31 19:53
has joined #general

sergii.pozharov
2016-05-31 20:27
has joined #general

jaskier
2016-05-31 21:10
has joined #general

downey
2016-05-31 22:25
has joined #general

jusrah
2016-05-31 23:53
has joined #general

hiptomas
2016-05-31 23:54
has joined #general

mikefrank
2016-06-01 01:15
has joined #general

randy
2016-06-01 02:06
has joined #general

zuowang
2016-06-01 02:44
@simon: I want to implement a feature that I can transfer 100$ to a group of people, while the amount of money each of them got is random.

tsamatech
2016-06-01 03:22
has joined #general

baohua
2016-06-01 03:35
hi, do we have plan on a new release recently? the 0.1 release is at Feb.

lfeagan
2016-06-01 04:22
@baohua: Are you wondering about the upcoming June GA or the further in the future "2.0" discussion?

baohua
2016-06-01 05:36
@lfeagan: yes, exactly. do we have official announce yet?

lfeagan
2016-06-01 06:11
@baohua: The GA has not yet happened. When we started this conversation it wasn’t even June in the USA. :slightly_smiling_face:

baohua
2016-06-01 06:12
yes, but there’s plan, right, can i find it some where?

lfeagan
2016-06-01 06:52
@baohua: No clue. My information comes from conversations with Sharon, Gari, and Sheehan.

baohua
2016-06-01 06:53
yes, i guess there may be some official announce, as this is actually a big news. a stable version is always been looking forward to

mart0nix
2016-06-01 06:55
hello

mart0nix
2016-06-01 06:55
I'm trying to better understand the querying mechanism and it's scalability

mart0nix
2016-06-01 06:56
can anyone shed some light on this topic?

lfeagan
2016-06-01 07:13
@mart0nix: What type of query are you trying to perform?

lfeagan
2016-06-01 07:13
@mart0nix

mart0nix
2016-06-01 07:15
say I have registered an asset that changes custody and ownership as it travels down a supply chain

mart0nix
2016-06-01 07:15
I want to be able to query based on things like serial number, manufecturer, timeframe, etc...

jb
2016-06-01 07:20
has joined #general

lfeagan
2016-06-01 07:22
@mart0nix: Ok, I understand Are the attributes you described, such as serial number and manufacturer, stored as part of the value when calling PutState?

mart0nix
2016-06-01 07:24
I get JSON documents with key-values that describe a transaction (change of custody, old owner, new owner, business step, etc...)

mart0nix
2016-06-01 07:25
I have experience with Ethereum where I would use the transaction event logs to log those values so that I can scan the blockchain for them later

mart0nix
2016-06-01 07:25
I'm not sure how PutState could be utilized in my example - is that using native storage or it somehow works with logs as well ?

mart0nix
2016-06-01 07:26
@lfeagan: I can chat you privately a full JSON example of the data I'm trying to store

lfeagan
2016-06-01 07:33
@mart0nix: I don’t think the answer I am going to give right now is going to be as satisfying as you might like, but you have "run into" the right person, as I am the "database guy" that has a proposal to address short-comings of the present implementation. I do want to help.

lfeagan
2016-06-01 07:34
@mart0nix: The PutState method is used when writing chaincode to save state to the ledger. Ultimately, this state gets saved into a RocksDB key-value store with a name of the form <chaincode-id>_<key>.

lfeagan
2016-06-01 07:35
@mart0nix: While this state can be queried, if you wanted to have an expression to pull out something from a JSON-value, that would not perform well today, as there are no secondary indexes (database terminology).

mart0nix
2016-06-01 07:37
@lfeagan: well I'm getting JSON documents from from my API but I don't want to store the data in JSON format on the blockchain

mart0nix
2016-06-01 07:38
I can store them as key-values but I need to encapsulate them somehow so that I know those are part of one single transaction

mart0nix
2016-06-01 07:38
does that make sense ?

lfeagan
2016-06-01 07:41
Yes, it does. I wish somehow the work I just started were magically done because I think it would address your issue nicely. We just started the wiki page for the proposed ledger storage architecture and capabilities: https://github.com/hyperledger/fabric/wiki/Next-Ledger-Architecture-Proposal

lfeagan
2016-06-01 07:44
I have a *very* rough prototype and design sketches. I will be adding details and having discussions to address issues such as the ones you bring up in the coming days/weeks.

mart0nix
2016-06-01 07:47
@lfeagan: I guess it would be awesome if one can store data on the chain in JSON-LD format and then use graph queries to get data back???

lfeagan
2016-06-01 07:56
@mart0nix: Yes. My proposal does not use JSON-LD at present. I store a compact pointer to the graph edge vertices as part of each transaction in the database. This helps to quickly traverse while inspecting the value(s) at each vertex.

mart0nix
2016-06-01 08:00
@lfeagan: any thoughts on using transaction event logs as a pseudo data layer ?

mart0nix
2016-06-01 08:00
I made some progress with that approach with Ethereum

mart0nix
2016-06-01 08:00
they are using bloom filters to store indexed event logs

mart0nix
2016-06-01 08:00
one can have as many event logs per transaction as needed

mart0nix
2016-06-01 08:01
and since one business transaction = one blockchain transaction

mart0nix
2016-06-01 08:01
I use the event logs to log key:values

mart0nix
2016-06-01 08:01
and the transaction itself as the container

lfeagan
2016-06-01 08:07
It isn’t a bad approach. And the new direction I am headed in is similar. For example, I also use the transaction as the container. I had an additional constraint to create a more cryptographically secure datastore, so that required some architectural fancy-footwork. I also wanted to create something that would work with WORM media, which was more of a personal pet-project to create something that would support some physical integrity protections as well.

mart0nix
2016-06-01 08:11
I see

mart0nix
2016-06-01 08:11
hyperledger DOES support event logs right ?

mart0nix
2016-06-01 08:12
and not only pub/sub for new ones but a client can scan older events as well ?

lfeagan
2016-06-01 08:26
Yes.

mart0nix
2016-06-01 08:31
awesome

mart0nix
2016-06-01 08:31
and is there something like getTransactionReceipt(trans_hash) which will also return all event logs produced by the transaction?

lfeagan
2016-06-01 08:35
Good question. I don’t know the answer.

mart0nix
2016-06-01 08:39
well if I can find the transaction protocol description, we may know the answer

mart0nix
2016-06-01 08:39
where can I find the transaction header specs ?

lfeagan
2016-06-01 08:45
Are you looking for the network protocol?

bitcoindevotee
2016-06-01 08:46
has joined #general

mdeubel
2016-06-01 08:47
has joined #general

lfeagan
2016-06-01 08:49
fabric/proto/fabric.proto is the protcol buffer spec for a transaction

mart0nix
2016-06-01 09:07
thanks @lfeagan - I will take a look

gl
2016-06-01 09:27
has joined #general

yukio_takagi
2016-06-01 10:08
has joined #general

subzer0
2016-06-01 10:41
has joined #general

nickposkitt
2016-06-01 13:31
has joined #general

sganesan
2016-06-01 13:49
has joined #general

ahsmirza
2016-06-01 14:08
has joined #general

vukolic
2016-06-01 14:43
@zuowang Down the road this may be possible, with the next consensus architecture (https://github.com/hyperledger/fabric/wiki/Next-Consensus-Architecture-Proposal), at some point, depending also on how you implement the chaincode

tobyproctor
2016-06-01 15:45
has joined #general

szlaci83
2016-06-01 16:21
has joined #general

lmclough
2016-06-01 16:41
has joined #general

mariondaly
2016-06-01 18:04
has joined #general

mirabuck
2016-06-01 18:19
has joined #general

bhgandhi
2016-06-01 23:01
has joined #general

ananthnadgir
2016-06-02 02:30
has joined #general

somnath
2016-06-02 03:54
has joined #general

chenhua
2016-06-02 03:59
has joined #general

xiaoyuhe
2016-06-02 04:30
has joined #general

elon
2016-06-02 04:33
has joined #general

shenmq
2016-06-02 05:33
has joined #general

allen_liang
2016-06-02 07:01
has joined #general

nmellal
2016-06-02 07:11
has joined #general

zsolt
2016-06-02 07:31

hupeng
2016-06-02 10:13
has joined #general

maciejziolkowski
2016-06-02 12:34
has joined #general


simon
2016-06-02 13:28
you're asking, can i use multiple machines and split the blockchain storage between them?

clyde_dcruz
2016-06-02 14:01
yes

karan
2016-06-02 14:09
When logging through REST, sending a POST request, I get an error: openchain endpoint not found. How can I debug please?

ramesh
2016-06-02 14:12
What is the endpoint you are giving?

karan
2016-06-02 14:18
registrar

karan
2016-06-02 14:19
on port 5000 (checked core.yaml)

wenting
2016-06-02 14:21
hi, is there a TSC gotomeeting today?

wenting
2016-06-02 14:22
sorry, wrong channel, i saw it was cancelled

karan
2016-06-02 14:22
@ramesh Just to mention, I was able to login using CLI for the same enrollId

ramesh
2016-06-02 14:32
I observed the same error message on POST response but to reproduce I have given `http://127.0.0.1:5000/regdistrar`

ramesh
2016-06-02 14:32
incorrect registrar

jeffrunhc
2016-06-02 14:58
has joined #general

pengel
2016-06-02 16:01
has joined #general

jay1
2016-06-02 16:04
has joined #general

jay1
2016-06-02 16:07
hello

imanjohari
2016-06-02 16:33
has joined #general

tribbloid
2016-06-02 18:06
I have turned to the bluemix version of fabric and stop trying to deploy on AWS EC2

tribbloid
2016-06-02 18:06
so far so good

tribbloid
2016-06-02 18:07
but now I have another problem trying to write chaincode extension:

tribbloid
2016-06-02 18:07
fabric/vendor has some dependency missing

tribbloid
2016-06-02 18:08
there is no fabric/vendor/github.com/tecbot/gorocksdb

tribbloid
2016-06-02 18:08
while its being referred in vendor.json, the actual directory and files are not there

tribbloid
2016-06-02 18:09
can it be that the vendor manager is smart enough to download it automatically

tribbloid
2016-06-02 18:09
but I haven't enable this feature yet?

tribbloid
2016-06-02 18:12
Also, in the only chaincode example

tribbloid
2016-06-02 18:12
some of the import also points to non-existing project files/dependencies:

tribbloid
2016-06-02 18:13
import ( "hyperledger/cci/appinit" "hyperledger/cci/org/hyperledger/chaincode/example02" "hyperledger/ccs" )

tribbloid
2016-06-02 18:14
cci is not a hyperledger project under https://github.com/hyperledger

tribbloid
2016-06-02 18:15
how do I download cci and test the example?

ghaskins
2016-06-02 18:33
@tribbloid: note that you are looking at the chaintool example. You probably meant to look at the standard examples here...


ghaskins
2016-06-02 18:38
Hyperledger/cci namespace is synthetic, that's why you can't find it

tribbloid
2016-06-02 18:56
Thanks a lot. You are right, I stumbled on chaintool which are not part of the main project. Problem solved

tribbloid
2016-06-02 18:57
Though I still need to find the gorocksdb vendor package

ghaskins
2016-06-02 19:08
ill see if I can put better documentation in place (thinking README.md files in the example folders) so that doesn’t happen again

ghaskins
2016-06-02 19:08
as far as gorocksdb, that sounds strange...

sslukito
2016-06-02 19:17
has joined #general

nepaliprem
2016-06-02 19:26
has joined #general

sugandhmehta
2016-06-02 20:45
has joined #general

mejiphun
2016-06-02 20:53
has joined #general

kpurvesh
2016-06-02 20:56
has joined #general

pj
2016-06-02 20:58
has joined #general

codascud
2016-06-03 01:50
Hi.. I started ./peer on a shell and executed the chaincode deploy command as described here: https://github.com/hyperledger/fabric/blob/master/docs/API/CoreAPI.md... Getting an error.. Any help to resolve this issue will be helpful. Thanks.. **Command** ./peer chaincode deploy -p http://github.com/hyperledger/fabric/blob/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go -c '{"Function":"init", "Args": ["a","100", "b", "200"]}’ **Error:** Error getting chaincode package bytes: Error getting code 'go get' failed with error: "exit status 1" package http://github.com/hyperledger/fabric/blob/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go: cannot find package "http://github.com/hyperledger/fabric/blob/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go" in any of: /usr/local/go/src/github.com/hyperledger/fabric/blob/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go (from $GOROOT) /home/<user>/gocode/_usercode_/817078751/src/github.com/hyperledger/fabric/blob/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go (from $GOPATH) /home/<user>/gocode/src/github.com/hyperledger/fabric/blob/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go

lawup2
2016-06-03 04:46
has joined #general

karan
2016-06-03 05:04
@ramesh: is there a typo with registrar as end point or problem with the functionality

oppo909
2016-06-03 05:10
has joined #general

chuck
2016-06-03 06:10
has joined #general

oppo909
2016-06-03 06:49
hi, can anyone point me to the discussion related to scalability?

theath
2016-06-03 09:53
has joined #general

hgabor
2016-06-03 10:19
hey

hgabor
2016-06-03 10:19
can anybody help meg with fabric-sdk?

mqshen
2016-06-03 10:21
?

hgabor
2016-06-03 10:24
I would like to ask about this part of the code: https://github.com/hyperledger/fabric/blob/master/sdk/node/src/hlc.ts

hgabor
2016-06-03 10:25
it seems that the logic here (e.g. the UUID generation) is a duplicate of the fabric internal logic (the Go code, devops, etc).

hgabor
2016-06-03 10:25
why?

karan
2016-06-03 11:17
Hi All...quick question, how can I set up the environment in debug mode for me to investigate the code step by step. Any existing documentation will be helpful.

a_
2016-06-03 11:29
has joined #general

a_
2016-06-03 11:30
hi everyone! a fintech CTO here, exploring hyperledger for next project

tilbert
2016-06-03 16:10
has joined #general

tilbert
2016-06-03 16:16
hi everyone - infosec professional exploring and would like to participate at development level with HL for ICS project focus on critical infrastructure (energy-util)

mdenavac
2016-06-03 16:27
has joined #general

sbanister
2016-06-03 16:33
has joined #general

tilbert
2016-06-03 16:37
is anyone experimenting w ICS and ledger Blockchain for storage, transport, security or other?

konradpabjan
2016-06-03 16:58
has joined #general

mmani99
2016-06-03 17:17
has joined #general

vinniefalco
2016-06-03 17:28
has joined #general

vinniefalco
2016-06-03 17:34
Greetings, Vinnie Falco from Ripple here. I'd like to offer our new open source library *Beast* for your perusal: https://github.com/vinniefalco/Beast its got C++/Boost implementations of the HTTP and WebSocket protocols which come up often in decentralized software. We plan on deploying this code for Ripple to replace our aging third party websocket implementation. Perhaps this code could be of use to hyperledger projects? I'm the principal architect so if you have questions or need support, ask away (preferably here: https://github.com/vinniefalco/Beast/issues) Thanks!

errrrk
2016-06-03 18:33
has joined #general

derekkinsman
2016-06-03 19:46
has joined #general

ronald.kozoman
2016-06-03 23:14
has joined #general

agur
2016-06-04 00:42
has joined #general

wwjimd
2016-06-04 05:05
has joined #general

snebucen
2016-06-04 13:40
has joined #general

jefferson.fuchs
2016-06-04 14:33
has joined #general

bfree
2016-06-04 17:36
has joined #general

starsheriff
2016-06-04 23:57
has joined #general

babakkia
2016-06-05 12:46
has joined #general

starsheriff
2016-06-05 15:09
Hei, Enthusiastic physicist and software developer here. Would like to build up knowledge in itsec and blockchain technology and looking for a promising open source project I can contribute to. Any thoughts how to get started?

jonathanlevi
2016-06-05 15:47

alex1mmm
2016-06-05 20:36
has joined #general

ali_kazmi
2016-06-05 23:57
has joined #general

pcen
2016-06-06 04:10
has joined #general

paulx
2016-06-06 05:40
Hi, trying to learn as much as possible in relation to Fabric. I've been using the sample applications that IBM have built to get up to speed. I notice that IBM haven't committed any changes to GitHub for a few weeks, are these built using the current version of the hyperledger fabric?

paulx
2016-06-06 05:41
Also on IBM's sample 'commercial paper' application, I have been running this on Bluemix which works ok. If I was to clone my current code base and config, and run another instance on my computer, another Bluemix account or simply another Bluemix region should these all bind together and act as peers in the network?

wawrzek
2016-06-06 08:54
has joined #general

nick.sorge
2016-06-06 09:15
has joined #general

paulx
2016-06-06 12:00
Just read IBM's documentation on Bluemix, their samples are definitely using hyperledger fabric

tysonite
2016-06-06 12:37
has joined #general

markparz
2016-06-06 13:59
Hi @paulx, I am not sure I follow your questions entirely…. When you are asking about updates from IBM, are you looking for updates on a particular application or are you talking about the fabric itself? If you are looking at the Fabric itself, IBM’s view over the last couple weeks has been stablization especially around PBFT. I have been posting in the technical-discuss channel every other week on what IBM’s focus areas are just as a head’s up and to invite any feedback that I can give the IBM team. However, that is just an IBM view, I would invite others to do the same as what I really want is more community collaboration, so any areas that the community feels should be focused on we could really focus on together and knock down some big items.

nashikkarh
2016-06-06 14:23
has joined #general

imguilherme
2016-06-06 14:55
has joined #general

mkwhite
2016-06-06 15:00
has joined #general

philippe
2016-06-06 15:12
has joined #general

akind
2016-06-06 15:38
has joined #general

andrey.ambisafe
2016-06-06 15:43
has joined #general

kpandey
2016-06-06 15:45
has joined #general

smcclos
2016-06-06 15:53
has joined #general

codascud
2016-06-06 16:41
I can create contract via CLI but cant get to the REST server.. The error I get is "This site can’t be reached”.. The URL i am hitting is: http://127.0.0.1:5000/… Below is the log from (./peer node start) command: 16:28:03.961 [rest] StartOpenchainRESTServer -> INFO 014 Initializing the REST service on 127.0.0.1:5000, TLS is disabled. 16:28:03.961 [main] serve -> INFO 015 Starting peer with id=name:"jdoe" , network id=dev, address=0.0.0.0:30303, discovery.rootnode=, validator=true

codascud
2016-06-06 16:42
I have manually installed all the components manually on AWS by going through the steps in “setupRHELonZ.sh” file

joseph
2016-06-06 16:48
who please tell me where the document of APIs that generated from the source code is? I saw it somewhere before.


joseph
2016-06-06 16:57
No. it isn't. It looks like APIs generated from source code with definitions of methods and their descriptions.

joseph
2016-06-06 16:58
I saw it before but I can not remember where it is.

msomborac
2016-06-06 17:01
has joined #general

joseph
2016-06-06 17:01
@codascud: I get it.


codascud
2016-06-06 17:07
@josephc: cool...

joseph
2016-06-06 17:07
Who could please tell me about the project https://github.com/hyperledger/fabric-api? Can we use it with the fabric and how to do that?

touatij
2016-06-06 17:10
has joined #general

abeyer10
2016-06-06 17:56
has joined #general

ivanz
2016-06-06 20:02
has joined #general

cpalmquist
2016-06-06 20:31
I'm curious if a review group for use cases?


cpalmquist
2016-06-06 21:24
@tbenzies: Thanks.

tbrunson
2016-06-06 21:57
has joined #general

jeremysevareid
2016-06-06 23:06

middleton
2016-06-07 01:55
@starsheriff: you can also take a look at the second incubated project: https://github.com/hyperledger/sawtooth-core. Docs published here: http://intelledger.github.io/

novoelementum
2016-06-07 04:54
has joined #general

gunavant
2016-06-07 05:18
has joined #general

maxi4
2016-06-07 05:38
has joined #general

paulx
2016-06-07 05:58
Hi, having some trouble interacting with IBM's sample commercial paper chaincode via the rest interface i'm trying to invoke the issueCommercialPaper code, but getting an error with the arguments { "jsonrpc": "2.0", "method": "invoke", "params": { "type": 1, "chaincodeID": { "name": "8a380bc9e656a56585aa469889724b2c6ac2f635a7631d9ea44b53f90514884e8ec74c36da88166c1aba522fe47cd61814e8d0df50010d4aee6e48f67ac8551c" }, "ctorMsg": { "function": "issueCommercialPaper", "args": [ { "ticker": "demo_paper", "par": 1000000, "qty": 3, "discount": 7.5, "maturity": 30, "owner": [], "issuer": "demo_account2", "issueDate": "1465274723625" } ] }, "secureContext": "user_type1_90afbcd1a8" }, "id": 3 } error message is "Error unmarshalling chaincode request payload: json: cannot unmarshal object into Go value of type string" i'm new to golang, so not sure where i am going wrong with the JSON format i can see in IBM's cp web application that they use a JSON.stringify function, but not sure why the REST API isn't accepting this format

zuowang
2016-06-07 07:06
The changes to existing state is not persisted but hold in StateDelta in memory. will the data be lost if all validting peers crashed? https://github.com/hyperledger/fabric/blob/master/core/ledger/statemgmt/state_delta.go

ibmamnt
2016-06-07 07:50
I guess if all peers crash during the process of transaction (may be during consensus), the data will not persist. I may be worth while to seperate peers to diffrent avaiability zones and diffrent data center (in case peers are hosted on cloud). I don't think data center crashes at the same time.

starsheriff
2016-06-07 08:09
@middleton: yes, just looked at it. didn't notice that it is written in Python (and didn't expect it actually). I'm quite fluent in Python since I maintain a large codebase here at my work so the entry might be easier than the fabric project. I'll follow the projects and see what I can do and what catches my attention.

starsheriff
2016-06-07 08:13
In general I'm still trying to get my head around on how the hyperledger project as a whole works and how pieces fit together. Intel brought in the sawtooth lake project, IBM and DAH the fabric codebase. Is there any bigger scheme for the hyperledger project as such or will it be a collection of more or less independent projects pushed by the respective supporters?

pros
2016-06-07 08:16
has joined #general

harisris
2016-06-07 09:38
has joined #general

hctang-astri
2016-06-07 09:39
has joined #general

cflam
2016-06-07 10:05
has joined #general

hgabor
2016-06-07 11:14
are there any tests for the event sending mechanism?

victorianordin
2016-06-07 11:21
has joined #general

aairom
2016-06-07 11:33
has joined #general

bakup
2016-06-07 12:05
has joined #general

karan
2016-06-07 12:06
@starsheriff: I share your views, we need some kind of roadmap which tells us where we are at the moment and where do we want to take this. Another thing, for us to build the community around this..we will need to simplify things a lot. For example...some kind of induction program for guys new to blockchain, go lang, etc. specific to HL where they can quickly come up the learning curve to enable them to contribute back to the project.

louiselotte
2016-06-07 12:25
has joined #general

karan
2016-06-07 12:34
Can someone tell me if I can use a golang debugger through an IDE like Atom to go through the fabric code step by step on a Vagrant set up

ghaskins
2016-06-07 12:36
@karan: I’ve successfully used delve (https://github.com/hyperledger/fabric/wiki/Go-Development-Portal#delve) for command-line/gdb style stepwise debugging...

ghaskins
2016-06-07 12:36
ive heard that others have been successful with IDE based as well, though I haven’t tried this myself

ghaskins
2016-06-07 12:37
im not sure if “step-wise debugging” or “IDE integration” was your primary concern

aamiyazaki
2016-06-07 12:39
has joined #general

kai.weller
2016-06-07 12:41
has joined #general

cbruguera
2016-06-07 12:44
has joined #general

simon
2016-06-07 12:47
karan: i don't think you'll be happy about the results - the code is full of parallelism and timeouts

cbruguera
2016-06-07 12:49
Hello people

cbruguera
2016-06-07 12:49
:slightly_smiling_face:

cbruguera
2016-06-07 12:52
Well, I have a question... I'm quite a blockchain newbie, but I'm researching into different technologies since I am building a platform for management of identities and KYC. I was told that IBM OBC was a good choice for us, and I'm barely at the beginning of my research... Is IBM OBC somehow "deprecated" now? Is HyperLedger fabric the thing I should be looking for? Am I getting it right?

dianfu
2016-06-07 12:54
Hi all, for the application level access control in ChainCode, the existing examples in hyperledger such as asset management make use of TCert to judge whether a user is the owner of an asset. While from the documentation, we know that TCert is a short-term certificate and a user will use different TCerts in different transactions. Is there any other way to identify the transaction call's identity or what’s the right way to identify the transaction caller’s identity in hyperledger? Will be appreciated for your reply!

simon
2016-06-07 13:00
best ask in #

karan
2016-06-07 13:09
@ghaskins: Step wise debugging is what I am looking for, objective is for me to understand how the code base is coming together for me to make sense of the whole thing

cbruguera
2016-06-07 13:10
:confused:

ghaskins
2016-06-07 13:10

karan
2016-06-07 13:13
@simon: :( will make an attempt, I am wanting to get my head around how various pieces fit together

simon
2016-06-07 13:14
let's chat in #

markparz
2016-06-07 13:28
@paulx: Hi, Paul, forgot to hit enter to respond to your other question. Right now you can’t hook in your external nodes to an internal IBM BlueMix Environment. Definitely a work item to add, remove nodes if is a great one if you have time :slightly_smiling_face:

starsheriff
2016-06-07 13:31
@karan: fully agree. I'm just set up my devenv yesterday for # and will try to dive into the code later. One thing i found is that the wiki system in github is quite confusing. There I found that # is more consise and structured on http://intelledger.github.io/

starsheriff
2016-06-07 13:31
but hey, it's really exciting. Hope to contribute soon...

dianfu
2016-06-07 13:37
@ghaskins: thanks a lot for your reply! Very helpful! What's the status of this feature? This feature is very useful!

ghaskins
2016-06-07 13:38
@dianfu: lets take it to #

kennyc
2016-06-07 14:27
has joined #general

ravids
2016-06-07 16:23
has joined #general

karan
2016-06-07 16:32
@starsheriff: I have not seen #, will check that out. Definitely exciting and I too am keen to build some apps and contribute.

middleton
2016-06-07 16:40
@cbruguera: @starsheriff was just asking a similar question. https://hyperledgerproject.slack.com/archives/general/p1465264555000048. You can find docs for Sawtooth here: http://intelledger.github.io/ and fabric here: https://github.com/hyperledger/fabric. @karan asked about the multiple projects... right now HyperLedger has 2 blockchain implementations in incubation. We want to learn from both implementations (and other contributions yet to be made) eventually getting to a code body of real value to the community.

cbruguera
2016-06-07 16:49
Thank you very much, @middleton !

pschnap
2016-06-07 17:11
has joined #general

nkunkel
2016-06-07 17:52
Question, I'm trying to write a chaincode using the examples in the Fabric repo. The init, invoke, and query functions are usually called via REST. Does anyone have an example showing how to give a response to the REST calls in the chaincode?

paulx
2016-06-07 21:15
Thanks @markparz , what about running multiple Blockchain services under the one Bluemix account? The reason I ask is that the current Bluemix service is great for demonstrating applications, but it doesn't really provide a distributed network. Work in progress I guess

ghaskins
2016-06-07 21:27
@nkunkel: I know that example02 has a response in its query operation

nkunkel
2016-06-07 21:31
So for instance this block: if err != nil { jsonResp := "{\"Error\":\"Failed to get state for " + A + "\"}" return nil, errors.New(jsonResp) }

nkunkel
2016-06-07 21:32
Just by returning it, I'll get jsonResp as a response in my client?

nkunkel
2016-06-07 21:33
What if I wanted to change the status code?

sincord
2016-06-07 22:02
has joined #general

sachikoy
2016-06-07 22:26
Question...How can we change the log level of REST APIs? It seems there is no setting in core.yaml.

ghaskins
2016-06-08 00:27
@nkunkel: note that both invoke() and query() return a [resp, error] tuple

ghaskins
2016-06-08 00:27
you can put whatever string you want in resp, and you can return any golang::errors object for error

ghaskins
2016-06-08 00:28
so, if you want to change the error, formulate whatever you want in the errors field….

hupeng
2016-06-08 03:30
Error: Error building chaincode: rpc error: code = 2 desc = "Registration to the Membership Service required? how to solve that problem

norbs
2016-06-08 04:12
has joined #general

nkunkel
2016-06-08 04:17
@ghaskins Thank you very much!

ankitkamra
2016-06-08 05:08
has joined #general

skybach
2016-06-08 06:36
has joined #general

sachikoy
2016-06-08 06:38
Oh, I found it. The following environment variable worked: -e CORE_LOGGING_LEVEL=rest=warning

zhuang.wei.ming
2016-06-08 06:39
has joined #general

mn
2016-06-08 07:17
has joined #general

egor
2016-06-08 07:55
has joined #general

sergei_mayorov
2016-06-08 08:13
has joined #general

ulysses
2016-06-08 09:49
has joined #general

mwhope
2016-06-08 09:52
has joined #general

robkle
2016-06-08 10:31
has joined #general

blocy.chainz
2016-06-08 10:32
has joined #general

nhrishi
2016-06-08 11:09
has joined #general

vadlogan
2016-06-08 11:27
has joined #general

paulx
2016-06-08 11:49
Hi, how is it that in IBM's Bluemix blockchain service, all of the payload is shown in clear text in the blockchain tab? when you query a block from the swagger API it is encrypted, but on their blockchain tab everything is decrypted

hexgunavant
2016-06-08 11:56
has joined #general

haoyangli
2016-06-08 12:52
has joined #general

dmholdren
2016-06-08 13:23
has joined #general

markparz
2016-06-08 13:52
@paulx

markparz
2016-06-08 13:52
Hi, no problem… you can run multiple networks under the same acct but you can’t link them at this time

slama
2016-06-08 13:56
has joined #general

bgottbe
2016-06-08 14:07
has joined #general

shireesh18
2016-06-08 15:36
has joined #general

emanuele123
2016-06-08 16:14
has joined #general

sunraycer
2016-06-08 18:13
has joined #general

wisnieff
2016-06-08 19:08
has joined #general

tony.colantonio
2016-06-08 20:28
has joined #general

mack
2016-06-08 21:14
has joined #general

jerop
2016-06-08 21:39
has joined #general

paulx
2016-06-08 21:56
Ok thanks @markparz , I can't see any REST API's that would enable you to bind an new peer to the network. The network API provides a list of current peers, but doesn't seem to allow you to bind new peers. What functions does the IBM Blockchain initiate the network with the two validating peers?

ghaskins
2016-06-08 21:59
@paulx: I think that support is only emerging, also note that this is not trivial on a permissioned network

paulx
2016-06-08 22:01
Thanks @ghaskins, yes I imagine that it is still a work in progress, just interested to see how IBM managed to get it to work. I imagine it's a discovery process whereby the config of the peers all point to an initial node and send a sync message to discover anything else on the network

ghaskins
2016-06-08 22:02
not quite, I think its all based on apriori configuration

ghaskins
2016-06-08 22:02
there is the notion of a “root” but that isn’t used in the same manner as you might expect in a permissionless network

paulx
2016-06-08 22:07
I guess what you're saying is that by no 'root' there is no dominate node, besides of course the first node that's created?

paulx
2016-06-08 22:20
@ghaskins: you mentioned that 'it's all based on appropriate configuration' - any suggestions on what specific config I need to setup to enable peers to connect? I've been basing all my learnings off IBM's sample apps on Bluemix , but guessing I should spin up my own local instance as it's probably easier to configure

tuand
2016-06-08 22:26
@paulx, take a look at the docs in https://github.com/hyperledger/fabric/tree/master/docs/dev-setup for various fabric setups

paulx
2016-06-08 22:36

horii
2016-06-09 00:50
has joined #general

sulejman
2016-06-09 01:01
has joined #general

tate
2016-06-09 02:26
has joined #general

dbrust
2016-06-09 03:41
has joined #general

ankitkamra
2016-06-09 04:11
Hi all :slightly_smiling_face: I am trying to setup hyperledger fabric network on my local machine by following below URL:- https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devnet-setup.md i want to run IBM CP-WEB demo with this network. As mentioned in tutorial i have modified mycreds.json of CP-WEB. But i am getting following error while running the app :- [ibc-js] Register - failure x3 : user_type1_lukas 500 ! looks like an error loading the chaincode, app will fail { name: 'register() error', code: 500, details: { Error: connect ECONNREFUSED 172.17.0.2:443 at Object.exports._errnoException (util.js:953:11) at exports._exceptionWithHostPort (util.js:976:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '172.17.0.2', port: 443 } } Please help me to resolve the problem.

ryokawawork
2016-06-09 04:43
has joined #general

baqer
2016-06-09 05:51
has joined #general

yanagis
2016-06-09 06:18
has joined #general

a_
2016-06-09 07:56
Anyone here from Amsterdam?

subir
2016-06-09 08:14
has joined #general

likaiwang
2016-06-09 08:14
has joined #general

hosmos
2016-06-09 10:27
has joined #general


tim.s
2016-06-09 11:59
has joined #general

starsheriff
2016-06-09 12:21
anyone from Oslo here? The Oslo Fintech week is currently running and I was wondering if anyone interested in the hyperledger project will be joining the after work session on Friday. http://oslofintech.no/

syclops
2016-06-09 13:21
has joined #general

harsha544
2016-06-09 14:25
has joined #general

kenrider
2016-06-09 17:31
has joined #general

chrisb
2016-06-09 18:32
has joined #general

jpark
2016-06-09 18:42
has joined #general

mapmeld
2016-06-09 19:28
has joined #general

tsuggie
2016-06-09 21:18
has joined #general

diaperwedger
2016-06-09 22:20
has joined #general

rnsam
2016-06-09 22:55
has joined #general

drichard
2016-06-09 23:13
has joined #general

nvlasov
2016-06-10 01:38
has joined #general

akp
2016-06-10 02:36
has joined #general

mizuki
2016-06-10 02:43
has joined #general

parth
2016-06-10 03:20
has joined #general

mrphilipp
2016-06-10 04:20
has joined #general

danmartines
2016-06-10 10:49
has joined #general

beyondns
2016-06-10 13:30
has joined #general

junjason
2016-06-10 15:00
has joined #general

jacek
2016-06-10 16:06
has joined #general

eykanal
2016-06-10 16:11
has joined #general

tony_ramirez
2016-06-10 16:54
has joined #general

johnkrz
2016-06-10 18:38
has joined #general

gabelev
2016-06-10 19:02
has joined #general

dhkim717
2016-06-10 20:48
after typing "make peer" then I tried "node status" but I have module.js:338 err;

dhkim717
2016-06-10 20:49
do you know what my problem is?

dhkim717
2016-06-10 20:49
vagrant@hyperledger-devenv:v0.0.9-216fb39:/opt/gopath/src/github.com/hyperledger/fabric$ node status module.js:338 throw err; ^ Error: Cannot find module '/opt/gopath/src/github.com/hyperledger/fabric/status' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Function.Module.runMain (module.js:501:10) at startup (node.js:129:16) at node.js:814:3 vagrant@hyperledger-devenv:v0.0.9-216fb39:/opt/gopath/src/github.com/hyperledger/fabric$

phoenix
2016-06-11 03:36
has joined #general

quang
2016-06-11 09:48
has joined #general

burnabybull
2016-06-11 10:25
has joined #general

codascud
2016-06-11 11:54
@dhkim717: command to see the node status is ]$ peer node status


abdelkrim
2016-06-11 12:45
has joined #general

kv1776
2016-06-11 13:36
has joined #general

clyde_dcruz
2016-06-11 16:16
I got this error when doing 'peer node start' with security , privacy on , I pulled the fabric code from github about an hour ago


garisingh
2016-06-11 16:47
@clyde_dcruz: posted answer in stackoverflow

garisingh
2016-06-11 17:44
@clyde_dcruz: looks like you are running an old version of the code. Updated my post in stackoverflow as well

clyde_dcruz
2016-06-11 17:50
. Thanks @garisingh ..that may be the issue here .


castlesb
2016-06-11 21:42
has joined #general

shannon
2016-06-12 02:13
has joined #general

bhupendra
2016-06-12 05:17
has joined #general

liwenchao
2016-06-12 11:16
has joined #general

ndossant
2016-06-12 11:53
has joined #general

mrshah
2016-06-12 13:53
@paulx: You can try running a peer and point it to one of the peers on bluemix as its root discovery node. Also use one of the validator (type 4, I think) credentials provided on the peer and point it to the CA (membership services) provided on bluemix. You will have to make your peer reachable from the internet and set the CORE_PEER_ADDRESS accordingly as other peers will have to communicate with it

mabu
2016-06-12 14:56
has joined #general

roderik
2016-06-12 16:57
has joined #general

ant
2016-06-12 19:04
has joined #general

shenfeizi
2016-06-13 01:30
has joined #general

v-dezadn
2016-06-13 03:04
has joined #general

leizh1984
2016-06-13 03:24
: Hello Guys, anyone knows currently how the ledger is synchronized between VP nodes and NVP nodes? I noticed if a VP node joint a cluster later than others, the height of the ledger is different with the others, and there is no ledger on NVP nodes at all?

kletkeman
2016-06-13 03:46
@leizh1984: The NVP has no ledger and no world state. It is essentially a gateway to the fabric for applications using gRPC or REST. It can also accept event subscriptions.

ulysses
2016-06-13 03:55
@leizh1984: To quote the fabric documentation: "Peers maintain an up-to-date copy of the blockchain, but in contradiction to validators, they do not execute transactions (a process also known as transaction validation)".

ulysses
2016-06-13 04:01
@leizh1984 Apparently, all the nodes (validators, peers) send out DISC_HELLO message whose payload is a Hellomessage object containing its endpoint. If the block height received upon DISC_HELLO is higher than the current block height of the peer, it immediately initiates the synchronization protocol to catch up with the network.

leizh1984
2016-06-13 04:06
@ulysses: well technical it should be like this, but the problem is in the environment I have, the ledger isn't sync as it should be, so I'm checking if it is just a direction but not achieved or there is something wrong with my setting. here is the network peer status:

leizh1984
2016-06-13 04:06
@ulysses: {"peers":[{"ID":{"name":"vp1"},"address":"172.16.27.22:30303","type":1,"pkiID":"TGHEX1gLNxSHb6Rte7XlyrPIM4BZLkPful5yLD+ARZg="},{"ID":{"name":"vp2"},"address":"172.16.27.23:30303","type":1,"pkiID":"48O7Db43Ikd4SQLbIlh+nrjwd07AnN2a678w/3pV1w0="},{"ID":{"name":"vp3"},"address":"172.16.27.24:30303","type":1,"pkiID":"WcE8nr01rMz4weBWH7l2ZHC+OAOl2vSvjIUUV4C/eT4="},{"ID":{"name":"nvp1"},"address":"172.16.27.235:30303","type":2,"pkiID":"A6S98X77yd4rdwhmhfcKHtrPRPshqXl4A3JhVY/Xbe8="},{"ID":{"name":"vp4"},"address":"172.16.31.97:30303","type":1,"pkiID":"qOze7OsdXgfrh1EHPhjx3LvkXzgH7hVF2VXshNvbtLA="},{"ID":{"name":"nvp0"},"address":"172.16.27.97:30303","type":2,"pkiID":"B4IFuwDxzm2G82ixEQa70dJ4GxXI8VB2sPACWdPiU5Q="},{"ID":{"name":"vp5"},"address":"172.16.31.98:30303","type":1,"pkiID":"TQplCiy0ZzaXkYPM1IlElQcwdUuy8Uh6vPqAl+RPe0g="},{"ID":{"name":"vp0"},"address":"172.16.27.21:30303","type":1,"pkiID":"fejSXMLo0mursXffZGtE8J4niYtYPa680HeS9d863Sg="}]}

leizh1984
2016-06-13 04:07
@ulysses: and the ledger: obcvp1 | success | rc=0 >> {"height":77,"currentBlockHash":"6O8+Mit+mK7D8DPXNPMTM0Qq3agTZJBTiBe1/Ai3lOlmiaGQHmOXN1tNQmU/6QJJyKm3YVCLYOyDlwGkBLOQqA==","previousBlockHash":"w11R+CWaARbpPeaQW27DsbO+zK6WhPGOpFTShXhkn9eukg1NPEYkPGSkSh3ZkXXbuhDzRvoNaxu6ZZ7mOmMXFg=="} % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 235 100 235 0 0 51614 0 --:--:-- --:--:-- --:--:-- 58750 obcvp2 | success | rc=0 >> {"height":77,"currentBlockHash":"6O8+Mit+mK7D8DPXNPMTM0Qq3agTZJBTiBe1/Ai3lOlmiaGQHmOXN1tNQmU/6QJJyKm3YVCLYOyDlwGkBLOQqA==","previousBlockHash":"w11R+CWaARbpPeaQW27DsbO+zK6WhPGOpFTShXhkn9eukg1NPEYkPGSkSh3ZkXXbuhDzRvoNaxu6ZZ7mOmMXFg=="} % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 235 100 235 0 0 49682 0 --:--:-- --:--:-- --:--:-- 58750 obcvp0 | success | rc=0 >> {"height":65,"currentBlockHash":"wjGEw9TBQy0lZcA40VpBdf4dnXpVswiR7ZSRyVF13A0N7drhlCdasieCRErHuI0HBqJCUdP3uqHnHu/nW6rEqw==","previousBlockHash":"9bAjQe+Aw9Cqy02frd3jSuDS+UIAJ67gZVy6b8KnHgCYLiE0GO8zPhWAYqmS0VS2Z/IXRcZJsehLC3eXRUUD3A=="} % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 235 100 235 0 0 49651 0 --:--:-- --:--:-- --:--:-- 58750 obcvp4 | success | rc=0 >> {"height":3,"currentBlockHash":"0lz9Pm0ytRRB/X8m5sS1sgo0tNJ10Ohz1KTiPpwq/7jQk5ZmtmgRVqMLUBoHGjXAg57mr9uglFBb5cP6lHm25A==","previousBlockHash":"NyuWmycQrAhBZSVHoWWIH9sptelXKYgj9WM1z3e00jJw1t+U7w7Is9thCv8sDoG7668j/Eu9mJomHLqBiMQeBw=="} % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 234 100 234 0 0 48831 0 --:--:-- --:--:-- --:--:-- 58500 obcvp3 | success | rc=0 >> {"height":64,"currentBlockHash":"Rro/pjfEjqakAEuVRnx2baGaLpFZuxnGklHlm/L/3zNN/2e94G1JKU90ZtSDI+S9A8e3eteV75EdkV5OmH+/sQ==","previousBlockHash":"OzzuPkqilxOg85rK7IxMgPleI7X9bORKC9Rei291zSZm9VNK158upK1DL6iZuCsfFweY0yMhLKR4YVcBIdqVAA=="} % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 235 100 235 0 0 46710 0 --:--:-- --:--:-- --:--:-- 58750 obcvp5 | success | rc=0 >> {"height":3,"currentBlockHash":"0lz9Pm0ytRRB/X8m5sS1sgo0tNJ10Ohz1KTiPpwq/7jQk5ZmtmgRVqMLUBoHGjXAg57mr9uglFBb5cP6lHm25A==","previousBlockHash":"NyuWmycQrAhBZSVHoWWIH9sptelXKYgj9WM1z3e00jJw1t+U7w7Is9thCv8sDoG7668j/Eu9mJomHLqBiMQeBw=="} % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 234 100 234 0 0 50376 0 --:--:-- --:--:-- --:--:-- 58500

leizh1984
2016-06-13 04:13
@ulysses: and about NVP, it only says it doesn't execute the code, according to glossary.md, the NVP should maintain a local copy of the ledger as well, Non Validating Node (Peer) Purpose: Constructs transactions and forwards them to validating nodes. Peer nodes keep a copy of all transaction records so that solution providers can query them locally. Key Roles: 1) Manages and maintains user certificates issued by the membership service 2) Constructs transactions and forwards them to validating nodes 3) Maintains a local copy of the ledger, and allows application owners to query information locally. Owned by: Solution Provider, Network Auditor

leizh1984
2016-06-13 04:14
@ulysses: even NVP is a gateway, it should be able to query the information of the ledger, if it doesn't have the ledger, the query can't be done either;

akhisud
2016-06-13 05:31
has joined #general

maheshpatil13
2016-06-13 05:38
has joined #general

kpatch
2016-06-13 06:33
has joined #general

yacovm
2016-06-13 06:53
@leizh1984: from what document are you quoting the "should maintain a local copy of the ledger" from?

yacovm
2016-06-13 06:53
basically what NVP does is simply forward requests to its VPs


xiawei
2016-06-13 07:13
has joined #general

romeokienzler
2016-06-13 07:19
Hi, anyone knows when Fabric V1 will be released more or less?

ssharma
2016-06-13 07:21
has joined #general

mangeshr
2016-06-13 08:05
has joined #general

hgabor
2016-06-13 08:18
hey

hgabor
2016-06-13 08:18
can anybody help me with behave tests running in CI?


hgabor
2016-06-13 08:19
I would like to get some more infomative output from this, I mean some specific errors etc..

ankitkamra
2016-06-13 09:32
Hi i am getting following error while using command "peer node start" 02:30:49.177 [crypto] main -> INFO 001 Log level recognized 'info', set to INFO Error: unknown command "node" for "peer" Run 'peer --help' for usage.

ankitkamra
2016-06-13 09:33
Hi :slightly_smiling_face: I am trying to setup hyperledger fabric network on my local machine by following below URL:- https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devnet-setup.md i want to run IBM CP-WEB demo with this network. As mentioned in tutorial i have modified mycreds.json of CP-WEB. But i am getting following error while running the app :- [ibc-js] Register - failure x3 : user_type1_lukas 500 ! looks like an error loading the chaincode, app will fail { name: 'register() error', code: 500, details: { Error: connect ECONNREFUSED 172.17.0.2:443 at Object.exports._errnoException (util.js:953:11) at exports._exceptionWithHostPort (util.js:976:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '172.17.0.2', port: 443 } } Please help me to resolve the problem.

sillytuna
2016-06-13 09:33
@ankitkamra: using ‘everyone’ notifies all people on the slack - can you try not to use it. Thanks!

bryan-huang
2016-06-13 09:35
@ankitkamra: the port number 443 looks strange: 172.17.0.2:443

ankitkamra
2016-06-13 09:39
@sillytuna: sorry for the same i will avoid to use 'everyone' thanks !

ankitkamra
2016-06-13 09:40
@bryan-huang: I have used 5000 port too in that case one of VP from two gets crash. can you please help me to resolve the same.

bryan-huang
2016-06-13 09:42
code: 'ECONNREFUSED’, seems the port cannot be connected, make sure the service was started, you can try telnet the ip port first

ankitkamra
2016-06-13 09:44
@bryan-huang: it is not listening on 443 port. so i changed that port to 5000 by default application runs for https but on 5000 port it is listening for http that's why peer gets crash

ankitkamra
2016-06-13 09:45

kurabayashi.terukazu
2016-06-13 09:49
has joined #general

bryan-huang
2016-06-13 09:49
Actually, I have deployed the cp-web on my own env, but it’s on the old OBC

bryan-huang
2016-06-13 09:50
I mean my env is the OBC

ankitkamra
2016-06-13 09:59
@bryan-huang: ohk thanks !!! :slightly_smiling_face:

sudeepta
2016-06-13 11:56
has joined #general

vaheandonians
2016-06-13 12:16
has joined #general

tgao
2016-06-13 12:28
has joined #general

aigars
2016-06-13 13:53
has joined #general

mgamanunes
2016-06-13 14:48
has joined #general

cliveb
2016-06-13 15:11
has joined #general

ncoup
2016-06-13 15:13
has joined #general

burnabybull
2016-06-13 15:18
There are currently two incubator projects under the Hyperledger umbrella: Fabric and Sawtooth Lake. They seem to be independent to each other and functionally somewhat overlapping. Can they be integrated together? Apologize if this is a silly question.

cbf
2016-06-13 15:28
correct

cbf
2016-06-13 15:29
as for integrating the two, I know that there are some looking and interested in seeing what that would entail - eg could we get POET running on the Fabric, or the PBFT running on STL

cbf
2016-06-13 15:29
nothing formal has been proposed as of yet

middleton
2016-06-13 15:49
@burnabybull: in addition to what @cbf mentioned, the business logic layers are also complementary... Fabric uses Chaincode in Dockers and Sawtooth uses Transaction Families deployed to the validators. Cross-pollinating those layers could also be interesting.

cbf
2016-06-13 15:50
+1 @middleton

vikasjakhar
2016-06-13 16:38
hi I have a specific question....Can the transactions be replicated to selective nodes only and not all the nodes.For example if Bank A and Bank B did a transaction the data is copied only to A and B's node and other Bank's node.

vikasjakhar
2016-06-13 16:38
The banks will not like their data to be shared with unrelated banks even if the data is encrypted

ghaskins
2016-06-13 16:46
@vikasjakhar: what you are describing is called “confidentiality” in Fabric parlance. Not sure about other projects

vikasjakhar
2016-06-13 16:58
@ghaskins: So it it possible in Fabric to replicate data to certain nodes only based on some rules ?

ghaskins
2016-06-13 16:59
yes, or at least it will be when the spec is realized

ghaskins
2016-06-13 16:59
confidentiality will allow you to set the scope on data/execution within the chain

vikasjakhar
2016-06-13 17:04
@ghaskinscan you point me to any documentation around confidentiality

jeremysevareid
2016-06-13 17:08
@ghaskinscan @vikasjakhar There's an architecture WG proposal that taps into some of this: https://github.com/hyperledger/fabric/wiki/Next-Consensus-Architecture-Proposal

jeremysevareid
2016-06-13 17:10
@ghaskinscan @vikasjakhar it's sometime referred to as selective disclosure in Identity WG meetings. Companies like zcash and iconic are interesting reference points.

sureshab
2016-06-13 17:35
has joined #general

jeremysevareid
2016-06-13 17:38
@vikasjakhar: Google has an initiative on this as well with a trust-no-one view - https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/44860.pdf

jonathanlevi
2016-06-13 18:47
@jeffgarratt: Can you please take a look at this: https://github.com/hyperledger/fabric/issues/1796

jonathanlevi
2016-06-13 18:47
Can we remove the `CORE_VM_ENDPOINT`? I'm happy to PR without it, but while we are at this, we might as well..

jonathanlevi
2016-06-13 18:49
I/we don't think that we use `- CORE_VM_ENDPOINT=http://172.17.0.1:2375` at the `membersrvc` end...

siddhi
2016-06-13 20:13
has joined #general

giaber
2016-06-13 21:16
has joined #general

zherliu
2016-06-13 22:45
has joined #general

arjhunthiagarajan
2016-06-14 00:16
has joined #general

kawatiya
2016-06-14 02:19
has joined #general

middleton
2016-06-14 02:50
Reminder *virtual* hackathon starting this wed. Two project concepts so far that you can probably sink your teeth in and learn/contribute something without spending full days.



yiqiang
2016-06-14 03:07
has joined #general

kaushik
2016-06-14 05:26
has joined #general

henry
2016-06-14 06:45
has joined #general

deeflorian
2016-06-14 09:24
has joined #general

venkat_reddy
2016-06-14 11:36
has joined #general

internity
2016-06-14 11:40
has joined #general

abdelkrim
2016-06-14 12:22
QUESTION: I am looking for the definition of the chaincode

thiruworkspace
2016-06-14 12:24
has joined #general

guyh
2016-06-14 12:24
has joined #general

venkat_reddy
2016-06-14 12:27
Me too - needs info on chaincode - is there a container which hosts all chaincodes ever submitted? But this container is not shown in the Architecture diagram

cbf
2016-06-14 12:29
@venkat_reddy: chaincode is stored in the blockchain for runtime - but the vision would be that there would be analog of dockerhub or npm for chaincode sharing/distribution

cbf
2016-06-14 12:29
right now, it’s git(hub)


cbf
2016-06-14 12:32
essentially it is what the fabric calls a smart contract

venkat_reddy
2016-06-14 12:36
@cbf: Thanks a lot for the pointers!. Yeah - I meant hosting of chaincode at runtime only. So I guess this is an enhancement to a standard blockchain (which typically contains only transactions). But my question is - will there be a daemon kind of service/container which always goes around all chaincodes, and executing them all the time?

cbf
2016-06-14 12:42
ah, no, if the container isn’t running when a transaction comes in, the peer (re)starts it

venkat_reddy
2016-06-14 12:49
Is there any language to express a SmartContract? For example, humans and courts can understand the contrasts written in English (well, legal English). How about smart Contracts?

cbf
2016-06-14 13:01
currently we support go as te chaincode language… there is a project underway to develop java shim and theoretically we can support any language or dsl

cbf
2016-06-14 13:02
there has been some discussion of use of contract standards such as legalxml

cbf
2016-06-14 13:02
or xbrl

venkat_reddy
2016-06-14 13:13
@cbf: Thanks again. May be some tempting language with just enough syntax (such as the XML standards you have mentioned) to describe a contract should be good enough, I think.

venkat_reddy
2016-06-14 13:16
So the chaincode is replicated across all validating nodes, and so all nodes will start executing it when a certain time-based trigger goes off within the contract? Apologies for my newbie questions!

venkat_reddy
2016-06-14 13:17
*/tempting/templating/

kostas
2016-06-14 13:19
@abdelkrim: a script that you install on the blockchain. the equivalent of a smart contract really.

abdelkrim
2016-06-14 13:23
@kostas: thanks!

burnabybull
2016-06-14 13:27
@cbf @middleton Thanks for your response. I now get a better understanding.

burnabybull
2016-06-14 13:31
@cbf @middleton Thanks for your response. I now get a better understanding.

ezhil
2016-06-14 13:36
has joined #general

prachaudhary
2016-06-14 13:41
has joined #general

pax
2016-06-14 13:48
has joined #general

vikasjakhar
2016-06-14 14:33
Hi..I am running the chaincode_example02

vikasjakhar
2016-06-14 14:33
The documentation says to register the chaincode with a validating peer

vikasjakhar
2016-06-14 14:33
OPENCHAIN_CHAINCODE_ID_NAME=mycc OPENCHAIN_PEER_ADDRESS=0.0.0.0:30303 ./chaincode_example02

vikasjakhar
2016-06-14 14:34
I have setup 2 validators. But the chaincode is only registered with 1st validator and all the request go to only 1 validator

vikasjakhar
2016-06-14 14:34
How can I make the requst go to both validators for consensus

muralisr
2016-06-14 14:42
@vikasjakhar: chaincode needs to be launched for each peer. The dev mode doc refers to one node config with “noops” consensus. If you are launching multiple nodes, in dev mode, you have to launch one instance of the chaincode per peer

muralisr
2016-06-14 14:42
also

muralisr
2016-06-14 14:42
I see you are useing “OPENCHAIN"

mikebrule
2016-06-14 14:42
has joined #general

muralisr
2016-06-14 14:43
suspect you are not on the hyperledger repo ?

vikasjakhar
2016-06-14 14:50
@muralisr: Hi..is there a documentation for installing multiple validators....

vikasjakhar
2016-06-14 14:51
Yes the documentation is from openchain...my repo is from hyperledger..

cbf
2016-06-14 14:51
@vikasjakhar: that documentation is dated; please see the docs in the hyperledger/fabric repo

vikasjakhar
2016-06-14 14:53
The hyperledger repo also has a similar command

vikasjakhar
2016-06-14 14:53
CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:30303 ./chaincode_example02

elisabetta
2016-06-14 14:53
has joined #general

vikasjakhar
2016-06-14 14:53
is there documentation for running and validating the chaincode using multiple validators

vikasjakhar
2016-06-14 14:56
Important question -> Is there any classroom training being held on Hyperledger ?

lhaskins
2016-06-14 14:58
_would be interested if there were_

vikasjakhar
2016-06-14 14:58
@cbf: Chris do you know of any training being held


paulfung
2016-06-14 15:00
has joined #general

yuki.k
2016-06-14 17:29
has joined #general

aslowey
2016-06-14 19:42
has joined #general

codascud
2016-06-14 20:18
I can call APIs via http://<server>:5000/network/peers via rest client.. works fine.. What is the link to swagger file? thanks in advance..

nnjiang
2016-06-14 20:52
has joined #general

joel_yaffe
2016-06-14 22:08
has joined #general

ibm_neeraja
2016-06-14 23:12
has joined #general

lennart
2016-06-15 01:36
has joined #general

stqc
2016-06-15 01:44
has joined #general

iamtanzil
2016-06-15 02:37
has joined #general

rthirupa
2016-06-15 04:12
has joined #general

zhangchao
2016-06-15 06:35
has joined #general

huhaiqing
2016-06-15 06:49
has joined #general

ashutosh_ibm
2016-06-15 07:13
has joined #general

x-steph
2016-06-15 12:23
has joined #general

mariusz
2016-06-15 13:27
has joined #general

yaodoctor
2016-06-15 13:34
has joined #general

yaodoctor
2016-06-15 13:35
hi guys

yaodoctor
2016-06-15 13:35
is there Chinese here?

grapebaba
2016-06-15 13:44
me here

singhvi
2016-06-15 14:52
Is hyperledger a platform or a software? As i understand ethereum and ripple are platforms for blockchains??

middleton
2016-06-15 14:54
hyperledger contains two incubated blockchain platforms

middleton
2016-06-15 14:56
you'll see sawtooth and fabric repos on github. General overview of hyperledger is at the wiki...


singhvi
2016-06-15 15:04
Thanks @middleton, also if you could help me with what different purpose do they serve.

middleton
2016-06-15 15:17
Sawtooth is a modular blockchain built for scalability and to support pluggable components at each layer, e.g. consensus. It has a few novel aspects including the default consensus (PoET) and the transaction family concept in the business logic layer (smart contracts if you like that term).

middleton
2016-06-15 15:23
Fabric is also modular and includes an experimental consensus (seive) and transaction logic deployed on chain executed in dockers (chaincode).


gengjh
2016-06-15 15:45
@yaodoctor: hi

gengjh
2016-06-15 16:01
This tool is really cool to help increase your productivity. https://www.zenhub.com/

markheinrich
2016-06-15 16:49
has joined #general

pschwarz
2016-06-15 17:25
has joined #general

agunde
2016-06-15 17:26
has joined #general

cbruguera
2016-06-15 18:14
Hello guys, I've been reading some of the Hyperldger Fabric documents. It looks really robust, but I don't see much talking about currencies or assets. I know fabric is designed as a _general_ purpose blockchain framework, but is it not a suitable choice for developing cryptocurrencies? What if I want to implement an incentivized blockchain network? Can Fabric provide such functionality? Is Sawtooth maybe a better choice?... What do you think?

kelly
2016-06-15 18:17
Fabric is for permissioned usages

kelly
2016-06-15 18:18
so not the best for open cryptocurrency

kelly
2016-06-15 18:18
@cbruguera: sawtooth does not currently have incentives, although an upcoming release will likely include them

kelly
2016-06-15 18:19
the 'marketplace' transaction family that runs on top of sawtooth allows for assets to be issued and exchanged

cbruguera
2016-06-15 18:26
Thank you @kelly !

cbruguera
2016-06-15 18:28
Then, a bit off-topic now, and please excuse me... Is there any other blockchain framework/platform on your mind where I can easily implement a network with native assets and incentivized protocol?

kelly
2016-06-15 18:36
maybe multichain?

kelly
2016-06-15 18:36

kostas
2016-06-15 18:39
@kelly: Multichain does native assets but I fail to see how there's an incentivized protocol there?

kelly
2016-06-15 18:39
afaik it's based off bitcoin

kelly
2016-06-15 18:39
so I assume that the 'mining reward' is still an option

kelly
2016-06-15 18:39
I've never used it though

kostas
2016-06-15 18:40
it's a bitcoin fork for a whitelisted set of participants without PoW and with a mining scheme called mining diversity

kostas
2016-06-15 18:40
there is no incentivized protocol

kelly
2016-06-15 18:41
ah gotcha

kelly
2016-06-15 18:41
what's that? multi-sig block signing?

kostas
2016-06-15 18:41
a simple round-robin scheme for who the leader is

kostas
2016-06-15 18:41
the thinking is that even if the next guy is a jerk and censors my transactions, eventually we'll switch to someone who doesn't

kelly
2016-06-15 18:42
gotcha

cbruguera
2016-06-15 18:52
Hey! Thank you very much for the answer. I'll check out that.

cbruguera
2016-06-15 18:57
Hey @kelly, I have one more question, and I hope you have the time to help me clear my mind a bit... I'll take it to #, if you don't mind :slightly_smiling_face:

kelly
2016-06-15 18:58
shoot

khv.prasad
2016-06-15 19:16
has joined #general

tangyu
2016-06-15 19:25
has joined #general

tdietter
2016-06-15 19:58
has joined #general

tdietter
2016-06-15 20:01
I'm trying to do a lab for Openblockchain to learn blockchain. I keep getting this error so I don't get the certs:

tdietter
2016-06-15 20:01
vp3_1 | 19:11:04.964 [rest] Register -> ERRO 054 Error on client login: rpc error: code = 2 desc = 'grpc: the client connection is closing'

tdietter
2016-06-15 20:01
Any ideas?

cbf
2016-06-15 20:14
openblockchain is deprecated. Have you tried the hyperledger fabric environment?

tuand
2016-06-15 20:14
turn debug logs on, there might be a more descriptive message ... usually, it's some kind of network config issue, not resolving hostname, wrong port, etc ...

tuand
2016-06-15 20:15
and as cbf mentioned, make sure you're using the code from http://github.com/hyperledger/fabric

tdietter
2016-06-15 20:31
okay

tdietter
2016-06-15 20:31
thanks

curiousstudent1026
2016-06-16 01:47
has joined #general

vishalvs
2016-06-16 05:54
has joined #general

silentspark
2016-06-16 06:11
has joined #general

hangliu
2016-06-16 06:49
has joined #general

nitesh
2016-06-16 07:28
has joined #general

sean
2016-06-16 08:28
has joined #general

viktor.nikolenko
2016-06-16 08:58
has joined #general

c0rwin
2016-06-16 11:58
has joined #general

sajz
2016-06-16 13:18
has joined #general

sajz
2016-06-16 14:26
Hi there!

middleton
2016-06-16 14:28
Howdy

middleton
2016-06-16 14:31
Welcome new comers to the community. We are in the midst of a virtual hackathon (wed-fri). If you are interested in participating you can see the projects being worked on here: https://docs.google.com/document/d/1ROq44KpxuelkOp8GpceFNcv8K6XfWdaOnknzBk73OMc/edit?pref=2&pli=1. And join the channels # and #.

cdetrio
2016-06-16 15:11
has joined #general

ricozhang
2016-06-16 19:56
has joined #general

kathy
2016-06-16 20:13
has joined #general

jomsdev
2016-06-16 22:21
has joined #general

darrenst
2016-06-16 22:40
has joined #general

darrenst
2016-06-16 22:42
Hi! :slightly_smiling_face:

cbf
2016-06-16 23:03
hi @darrenst

darrenst
2016-06-16 23:21
hey @cbf .. hows it going?

nkunkel
2016-06-16 23:22
interesting, the amount of people on here that are asking questions about openblockchain despite fabric being released quite a while back (I was one of them XD)

cbf
2016-06-17 00:22
indeed :grinning:

maria.m
2016-06-17 01:20
has joined #general

oafifi
2016-06-17 03:12
has joined #general

clyde_dcruz
2016-06-17 03:31
in the nodejs sdk , how can i decrypt the results of the query ?

clyde_dcruz
2016-06-17 03:31
tx.on('complete', function (results) { console.log('Results [%j]', results);

clyde_dcruz
2016-06-17 03:33
The console.log shows a message like :

clyde_dcruz
2016-06-17 03:33
Results ["7b22496e766f6963654944223a2269303031222c22436c69656e744944223a2269303031222c224e616d65223a224c656e6f766f2047726f7570204c74642e222c22416d6f756e74223a3130303030307d"]


blkchain
2016-06-17 06:04
has joined #general

welsmann
2016-06-17 07:24
has joined #general

huhaiqing
2016-06-17 07:33
hello, anybody can do us a favour? Is there any interface to get all the transaction data in hyperledger blockchain?

mark_lester
2016-06-17 07:45
has joined #general

mark_lester
2016-06-17 07:57
greetings. what is the scope of hyperledger ?. Is this essentially a blockchain project, or should/could it include related immutable technologies. I think "something else" should probably go somewhere else, but I have an overlapping problem space I think, so this may be the right place to discuss

mark_lester
2016-06-17 08:01
@middleton: hey dan, on scrolling up I guess that was for you. I'd love a quick chat when you have the time.

ylh
2016-06-17 08:31
has joined #general

garisingh
2016-06-17 11:29

santhoshr
2016-06-17 11:55
has joined #general

illya13
2016-06-17 12:03
has joined #general

middleton
2016-06-17 12:43
Hi @mark_lester feel free to DM me. In a nutshell though this is a blockchain project.

mark_lester
2016-06-17 12:54
Hey. yes, I get that. I'm just getting my head round the stuff you've got. I've written this https://concordatablog.wordpress.com/tech/, which has been fun, but I'd gladly ditch/refactor it with, well anything that I didnt have to look after :wink:. SO while I am makig this argument that the partes

mark_lester
2016-06-17 12:54
oops. well, I continue. the parties are quiet closely bound.

mark_lester
2016-06-17 12:56
anyway, I seem to have found myself up to my ears in this insurance biz, i may go back to writing wikitimetable which is much more worthwhile,

mark_lester
2016-06-17 13:00
I gotta go watch a football match. any feedback appreciated. be as harsh as you like

sanjeev.hegde
2016-06-17 13:48
has joined #general

joshvanderfalken
2016-06-17 14:46
has joined #general

jjosinsky
2016-06-17 16:55
has joined #general

mark_lester
2016-06-17 17:37
does/will sawtooth have a streams concept. I want a select group of parties to be able to findOrCreate a hash on a contract specific wallet, for those parties to be able to verify that all others have signed, and for external parties to also be able to verify that the entry has been signed. Is this a pattern you are working on or have.

scottallan
2016-06-17 17:49
has joined #general

amundson
2016-06-17 18:17
@mark_lester: within sawtooth, that would be implemented as a transaction family. in a transaction family, you define the transaction data and then validation and storage-update functions (is_valid/apply) to update the local store. I don't believe we have any transaction families as examples in which multiple participants sign an object; but generallly, you could have a transaction which created the object and subsequent transactions (from different participants) for signing it, and then a client application which could inspect local state (for external parties)

amundson
2016-06-17 18:19
@mark_lester: I just added a tutorial on transaction families to our docs - https://intelledger.github.io/ - which should help as an overview

mark_lester
2016-06-17 18:31
@amundson: thanks. a pre req is clearly to understand marketplace I guess

amundson
2016-06-17 18:37
@mark_lester: it is certainly the most complex/complete transaction family available currently. it may or may not be a good basis for what you want to accomplish, depending on whether the concepts in mktplace coorelate to your desired goals. the core concepts are also available sawtooth-arcade's tic-tac-toe example transaction family, without as much business logic

amundson
2016-06-17 18:39
(I used concepts twice there, first use was about business logic and the second use 'core concepts' was about transaction families)

hossein
2016-06-17 19:34
has joined #general

benlevin
2016-06-17 19:56
has joined #general

vjouenne
2016-06-17 20:53
has joined #general

mark_lester
2016-06-18 07:47
what has hyperledger got that is public that solves privacy of confidential data wrt distributed validation. is the DAH/elevence stuff referred to in elevence's mission statement public in anyway

itsosimpo
2016-06-18 07:51
has joined #general

mark_lester
2016-06-18 08:02
i assume obfuscation of wallet addresses is considered intractable. you just have to accept that your opponents will perform traffic analysis on their validations and at the least determine a map of your connectivity and relative growth

gredavis
2016-06-18 08:29
has joined #general

basav
2016-06-18 14:27
has joined #general

jrexlogic
2016-06-18 14:56
has joined #general

cbf
2016-06-18 15:10
everything in hyperledger is public… nothing up our sleeves, so to speak

cbf
2016-06-18 15:11
take a look at the new consensus wiki for where we are taking things that will help with confidentiality etc https://github.com/hyperledger/fabric/wiki/Next-Consensus-Architecture-Proposal

cbf
2016-06-18 15:12
@mark_lester: ^^

hkothama
2016-06-18 15:15
has joined #general

mark_lester
2016-06-18 15:28
hey @cbf , I am trying to get to the bottom of this I guess https://blog.ethereum.org/2016/01/15/privacy-on-the-blockchain/ . The system I built is essentially doing paragraph one of "stepping down". I'll try and absorb that doco, it looks pretty big. Ah, so the idea is that we use chaincodes and run a different consensus strategy, one that uses only contract members.

cbf
2016-06-18 15:29
correct

mark_lester
2016-06-18 15:29
is that theory or practice ?

mark_lester
2016-06-18 15:31
i.e is this road map, well, i will go try and work that out. thanks for the verification

oadiffghiehdv
2016-06-18 15:40
has joined #general

mark_lester
2016-06-18 15:45
is there any concept of negotiation of a contract. my input spec was that the insurers needed to cook up bespoke rules depending on stuff like sales tax in kentucky etc, and so they need to dynamically add and agree rules. indeed they need to agree what the fields and structure of the thing is. so we have a system where this contention is resolved socially ,e.g. two tried adding a field called Name at exactly the same time, or when the contract is in a "live" state to apply a value. One of them has to manually back off though in most cases there will have been access rules applied so only one party would be able to do it.

ganesh
2016-06-18 17:37
has joined #general

nikkotorcita
2016-06-19 02:44
has joined #general

buhrmi
2016-06-19 04:10
in real life u can always take a contract and rip it apart :smile:

buhrmi
2016-06-19 06:58
i'm doing some research... are there any efforts underway to create a blockchain that tries to appeal to governments (as in "ability to be government regulated")? does hyperledger try to?

yacovm
2016-06-19 07:00
you mean, a blockchain that can print money?

buhrmi
2016-06-19 07:46
yeah

nileshmaheshwari
2016-06-19 07:47
has joined #general

buhrmi
2016-06-19 07:59
let's print some money lol


buhrmi
2016-06-19 16:36
is it possible already to use javascript in chaincode? haven't been following the development so much

muralisr
2016-06-19 16:47
@buhrmi: not currently

greg_not_so
2016-06-19 17:24
@buhrmi: whoever will sue will do so in a court of law via filing a lawsuit and that process is very government regulated already, viz auctioning off bitcoins in Australia

buhrmi
2016-06-19 17:33
sue on what basis, for what kind of damages?

buhrmi
2016-06-19 17:37
if somebody sues without legal basis, the best thing is to just counter-sue for wasting time

greg_not_so
2016-06-19 19:01
@buhrmi suing is everyone's right whenever they feel harmed, the worst that can happen is that it will linger on the docket

yanzhi
2016-06-19 19:50
has joined #general

mikezaccardo
2016-06-19 20:19
hi! is anyone here planning to attend DockerCon this week? i will be demonstrating the asset management demo running on three clusters across three different data centers during this talk: http://sched.co/6CEw

ladd
2016-06-19 20:52
has joined #general


weiminggu
2016-06-19 23:55
has joined #general

jesse_zwd
2016-06-20 01:37
has joined #general

yiang
2016-06-20 03:13
has joined #general


tianzhong
2016-06-20 04:06
has joined #general

huhaiqing
2016-06-20 06:08
Use REST API likes GET host:port/transactions/f5978e82-6d8c-47d1-adec-f18b794f570e to get the transaction data, it returns json data likes below,

huhaiqing
2016-06-20 06:08
GET host:port/transactions/f5978e82-6d8c-47d1-adec-f18b794f570e

huhaiqing
2016-06-20 06:08
{ "type": 3, "chaincodeID": "EgRteWNj", "payload": "Ch4IARIGEgRteWNjGhIKBmludm9rZRIBYRIBYhICMTA=", "uuid": "f5978e82-6d8c-47d1-adec-f18b794f570e", "timestamp": { "seconds": 1453758316, "nanos": 206716775 }, "cert": "MIIB/zCCAYWgAwIBAgIBATAKBggqhkjOPQQDAzApMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMQwwCgYDVQQDEwN0Y2EwHhcNMTYwMTI1MjE0MTE3WhcNMTYwNDI0MjE0MTE3WjArMQswCQYDVQQGEwJVUzEMMAoGA1UEChMDSUJNMQ4wDAYDVQQDEwVsdWthczB2MBAGByqGSM49AgEGBSuBBAAiA2IABC/BBkt8izf6Ew8UDd62EdWFikJhyCPY5VO9Wxq9JVzt3D6nubx2jO5JdfWt49q8V1Aythia50MZEDpmKhtM6z7LHOU1RxuxdjcYDOvkNJo6pX144U4N1J8/D3A+97qZpKN/MH0wDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwDQYDVR0OBAYEBAECAwQwDwYDVR0jBAgwBoAEAQIDBDA9BgYqAwQFBgcBAf8EMABNbPHZ0e/2EToi0H8mkouuUDwurgBYuUB+vZfeMewBre3wXG0irzMtfwHlfECRDDAKBggqhkjOPQQDAwNoADBlAjAoote5zYFv91lHzpbEwTfJL/+r+CG7oMVFUFuoSlvBSCObK2bDIbNkW4VQ+ZC9GTsCMQC5GCgy2oZdHw/x7XYzG2BiqmRkLRTiCS7vYCVJXLivU65P984HopxW0cEqeFM9co0=", "signature": "MGUCMCIJaCT3YRsjXt4TzwfmD9hg9pxYnV13kWgf7e1hAW5Nar//05kFtpVlq83X+YtcmAIxAK0IQlCgS6nqQzZEGCLd9r7cg1AkQOT/RgoWB8zcaVjh3bCmgYHsoPAPgMsi3TJktg==" }

huhaiqing
2016-06-20 06:09
Anyone can tell me how to get the payload value from the payload hashKey 'Ch4IARIGEgRteWNjGhIKBmludm9rZRIBYRIBYhICMTA='?

huhaiqing
2016-06-20 06:09
Can we get the transaction detail from the payload hashkey?

huhaiqing
2016-06-20 06:10
Thanks in advance.

ibmdannywong
2016-06-20 06:35
has joined #general

ibmamnt
2016-06-20 06:46
@huhaiqing: Your transaction seems like: ```ycc invokeab10```

ibmamnt
2016-06-20 06:46
Decode the payload with base64 decoder.

mark_lester
2016-06-20 06:47
@singhvi: if this guy had been just a little more covert / less greedy he may have got away with it. who knows, but ether is now struggling to keep at 50% what it was on Friday. So sure, we need things to screw up so we know what to fix, but I dont think thats how everyone else sees it.

ibmamnt
2016-06-20 06:49
@huhaiqing: Recommend to use "od" (octal dump) since the payload itself is recorded in gRPC format. ```$ echo -n 'Ch4IARIGEgRteWNjGhIKBmludm9rZRIBYRIBYhICMTA=' | base64 -d | od -tx1c 0000000 0a 1e 08 01 12 06 12 04 6d 79 63 63 1a 12 0a 06 \n 036 \b 001 022 006 022 004 m y c c 032 022 \n 006 0000020 69 6e 76 6f 6b 65 12 01 61 12 01 62 12 02 31 30 i n v o k e 022 001 a 022 001 b 022 002 1 0 0000040```

huhaiqing
2016-06-20 06:49
thanks

ibmamnt
2016-06-20 06:49
For example, after "invoke" there is code 022 001

ibmamnt
2016-06-20 06:50
001 means there is 1 character, say "a", 002 means 2 bytes e.g. "10".

huhaiqing
2016-06-20 06:50
Do you know where to store the deployed chaincode?

ibmamnt
2016-06-20 06:53
@huhaiqing: Normally, chaincode (source code) is expected to be stored on http://github.com, but there is FAQ how to store it locally for the development purpose (or security reason not to want to store on http://github.com). Please see this FAQ: http://stackoverflow.com/questions/37433618/how-to-use-a-chaincode-thats-not-on-github

ibmdannywong
2016-06-20 06:54
@ibmamnt: this would be very informative when customer asked us about this.

ibmdannywong
2016-06-20 06:54
@ibmamnt: thank you

huhaiqing
2016-06-20 07:07
@ibmamnt: After the chaincode deployed to network, where to store the deployed chaincode? I think the http://github.com is the path to store the chaincode source code.

buhrmi
2016-06-20 07:20
is there a way to utilize the hyperledger blockchain to store just some random value attached to an address similar to this https://proofofexistence.com

buhrmi
2016-06-20 07:20
that's currently the use case that i'm after

ibmamnt
2016-06-20 07:34
@huhaiqing: If the peer runs with normal mode (i.e. without --peer-chaincodedev option), then "peer" process will spawn new container to run chaincode, and the new container will store the chaincode (source code) under $GOPATH folder, and build and execute it. If peer spawns the docker image it will come with the name similar to "dev-<peer-name>-<chaincode-id-name>. You can inspect this docker contaier with "docker exec". For example, you can run "ps -ef" command like: ```$ docker exec dev-vp0-ea192f54467d957e98a4973b74cb8093847deac9a362928fb07334ce096f9d851fb59027e79bdaa0f119d0585c2045a020424cedc312175f5d91f03e66c84c62 ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 07:27 ? 00:00:00 /opt/gopath/bin/ea192f54467d957e98a4973b74cb8093847deac9a362928fb07334ce096f9d851fb59027e79bdaa0f119d0585c2045a020424cedc312175f5d91f03e66c84c62 -peer.address=172.17.0.3:30303 root 13 0 0 07:27 ? 00:00:00 bash root 48 0 0 07:31 ? 00:00:00 ps -ef```

ibmamnt
2016-06-20 07:34
The chaincode runs with <chaincode-id-name> under /opt/gopath/bin with peer address option.

ibmamnt
2016-06-20 07:39
@buhrmi, The URL shown looks to me a document digest. Not random, but probably the document with digital signature.

yacovm
2016-06-20 07:43
Hi. I deployed example02 : ``` "chaincodeID":{ "path":"http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" } ``` and I query it and it returns ```{"jsonrpc":"2.0","result":{"status":"OK","message":"-884"},"id":1}``` but in the code[1] it should return a JSON that says: ``` "{\"Name\":\"" + A + "\",\"Amount\":\"" + string(Avalbytes) + "\"}" ``` [1] https://github.com/hyperledger/fabric/blob/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go#L175

yacovm
2016-06-20 07:44
Anyone knows what I didn't do right?

ibmamnt
2016-06-20 08:33
@yacovm. The chaincode print out message to stderr, so you need to inspect logs of chaincode docker running container. ```$ docker logs dev-vp0-ea192f54467d957e98a4973b74cb8093847deac9a362928fb07334ce096f9d851fb59027e79bdaa0f119d0585c2045a020424cedc312175f5d91f03e66c84c62 2>&1 | grep Amount Query Response:{"Name":"a","Amount":"49785"} Query Response:{"Name":"b","Amount":"50000"} Query Response:{"Name":"a","Amount":"51403"} Query Response:{"Name":"a","Amount":"51403"} Query Response:{"Name":"b","Amount":"50089"} ```

ibmamnt
2016-06-20 08:36
In rest interface or "peer chaincode query", it just returns array of bytes. (i.e. []bytes in golang).

jsank
2016-06-20 08:38
has joined #general

yacovm
2016-06-20 08:54
So, the "message" in the result is actually the array of bytes (evaluated as an int, I guess) ?

yacovm
2016-06-20 09:40
@ibmamnt: thanks It worked!

harish.munagapati
2016-06-20 09:40
has joined #general

desalt
2016-06-20 10:15
has joined #general

ashnur
2016-06-20 10:17
has joined #general

ashnur
2016-06-20 10:18
hi, i am trying to read up on fabric, where should I go for some kind of concise information?

yacovm
2016-06-20 11:04
what kind of information are you looking for?

ashnur
2016-06-20 11:05
yacovm: technical mostly. research papers instead of white papers

yacovm
2016-06-20 11:06
have you read the PBFT paper already?

ashnur
2016-06-20 11:06

yacovm
2016-06-20 11:06
yeah

ashnur
2016-06-20 11:07
not yet, it's in the queue

yacovm
2016-06-20 11:08
Sorry I don't know any research papers on blockchain itself. There are papers on adjacent topics, go to [1] and scroll down to the references [1] https://github.com/hyperledger/fabric/blob/master/docs/protocol-spec.md

ashnur
2016-06-20 11:09
yacovm: the general stuff like this PBFT paper I can find, I am more interested in stuff particularly about hyperledger or fabric (i wish i could even define what these two are, because an hour ago I thought I knew, but right now I am getting more and more confused :smile: )

ashnur
2016-06-20 11:10
the protocol spec link is good, thanks for that, i missed it

ashnur
2016-06-20 11:11

cbf
2016-06-20 11:32
@ashnur: what specifically are you seeking? high-level overview? user guide? operations guide? implementation details? Just curious (agree that docs need work!)

ashnur
2016-06-20 11:34
cbf: believe it or not, this was so far the closest to what i was expecting https://github.com/hyperledger/fabric/wiki/Fabric-Releases

ashnur
2016-06-20 11:34
:smile:

ashnur
2016-06-20 11:35
I was lost, could not see what is part of this and what is not, what is there, what is just considered. From here I think I can go forward

ashnur
2016-06-20 11:36
a similar list with ALL the features not just the key features would be even better, but I should not be dissatisfied :slightly_smiling_face:

cbf
2016-06-20 11:48
ah, well, we are just in the process of cutting the initial release (not a 1.0; just a first release to get the community used to the process etc)

cbf
2016-06-20 11:49
thanks for the feedback; it is certainly valuable

ashnur
2016-06-20 11:50
Oh, I just realized who you are :slightly_smiling_face:

ashnur
2016-06-20 11:54
cbf: btw, as feedback, when I was watching this https://www.youtube.com/watch?v=VeihC3EBSOg Are you not afraid that running this way forward we will miss some stuff that will cause issues in the future? I am very new to blockchain, (started reading up on it ~2 weeks ago), but it seems that there is relatively few people working on analysing these networks, most of the people are trying to write up POCs and actual products.

simon
2016-06-20 11:55
what do you mean by analyzing?

ashnur
2016-06-20 11:57
ugh, never before had to define that word, but fair enough. I mean that when you build a test network and see what happens, write up the parameters and the results and publish it

simon
2016-06-20 11:57
you mean on a technical level?

ashnur
2016-06-20 11:58
absolutely

simon
2016-06-20 11:58
what are you interested in specifically?

simon
2016-06-20 11:58
message patterns?

ashnur
2016-06-20 11:58
I am fairly sure there are people doing this actively, I just can't find it

simon
2016-06-20 11:58
scalability?

simon
2016-06-20 11:58
there is a lot of testing going on

ashnur
2016-06-20 11:59
that, and how networks respond to specific attacks

ashnur
2016-06-20 11:59
oh, i know everyone is testing :smile:, we are testing too

virajkamat
2016-06-20 11:59
has joined #general

simon
2016-06-20 12:00
ashishkel: well if you have specific attacks in mind, i'm happy to talk about them

ashnur
2016-06-20 12:00
this is the problem, as I said, I am very new to this field

virajkamat
2016-06-20 12:00
Hey need some help on docker compose.yml

virajkamat
2016-06-20 12:01
Is it possible to get 4 peers started with docker

simon
2016-06-20 12:01
with compose, yes

simon
2016-06-20 12:01
fabric does that in bddtests

virajkamat
2016-06-20 12:01
I was hoping to get some guidance on that

dmurray
2016-06-20 12:03
has joined #general

kayad
2016-06-20 12:23
has joined #general

bfuentes
2016-06-20 12:50
Do we have somewhere a technical document explaining the different parts of Hyperledger ?

bfuentes
2016-06-20 12:51
I mean not a simple .PPT but an architecture manual or something close

bfuentes
2016-06-20 12:58
I have a question behind this, is how Hyperledger manage transactions (i.e rollback between RockDB and the blockchain) ?

greg_not_so
2016-06-20 13:05
@bfuentes i like this one the most, but it may be claimed as proprietary at some point: https://new-console.ng.bluemix.net/docs/services/blockchain/ibmblockchain_overview.html

simon
2016-06-20 13:05
let's talk in #

greg_not_so
2016-06-20 13:06
@bfuentes i did propose not to be tied to RockDB, but i'm not sure if that was considered

greg_not_so
2016-06-20 13:07
@bfuentes i agree with @simon for you to jump over to # to get more detailed info

sebinbenjamin
2016-06-20 13:14
has joined #general

kevinstoodley
2016-06-20 14:26
has joined #general

mayurpabari
2016-06-20 15:26
has joined #general

dr_tes
2016-06-20 17:26
has joined #general

gbolo
2016-06-20 18:09
has joined #general

cloud.strife
2016-06-20 18:12
has joined #general

cloud.strife
2016-06-20 18:12
Hey All

cloud.strife
2016-06-20 18:13
is it possible to remove chaincode so that we can reduce the amount of docker containers, if the chaincode is no longer needed?

muralisr
2016-06-20 18:14
@cloud.strife: you can do “docker rm….” on the containers

muralisr
2016-06-20 18:15
there is no “destroy” symmetric to “deploy” currently

cloud.strife
2016-06-20 18:16
@muralisr: yes this will remve the containers, but will the hyperledger peer have issues trying to connect to it for whatever reason?

cloud.strife
2016-06-20 18:16
or as long as the chaincode is not in use, it will be OK?

muralisr
2016-06-20 18:17
on the next invoke/query, hyperledger will/should bring it up automatically

cloud.strife
2016-06-20 18:17
as in no request come in to invoke anything for that chaincode id

cloud.strife
2016-06-20 18:18
also what is the supported docker version? I see some errors in the docker logs: DEPRECATED: Setting host configuration options when the container starts is deprecated

cloud.strife
2016-06-20 18:19
@muralisr: Thanks for answer

huxd
2016-06-20 18:24
has joined #general

peterinwestend
2016-06-20 19:01
has joined #general

chris-martin
2016-06-20 19:02
has joined #general

eugenn
2016-06-20 19:30
has joined #general

nick.dawson
2016-06-20 20:56
has joined #general

binhn
2016-06-20 22:16
Announcing Hyperledger Fabric release v0.5-developer-preview https://github.com/hyperledger/fabric/wiki/Fabric-Releases

vlad
2016-06-20 22:58
has joined #general

njal26
2016-06-20 23:32
has joined #general

scottjohnson
2016-06-21 01:04
has joined #general

ibmamnt
2016-06-21 01:09
@binhn. Should we check out the branch ? > $ git checkout v0.5-developer-preview

buhrmi
2016-06-21 03:16
where do i submit a project proposal?

buhrmi
2016-06-21 03:26
i'm working on a proposal for public test ledger ... would be happy to get some help with it https://docs.google.com/document/d/1YQ69FXUXAhw30LlJ4t5RFG4KxsCkvpu1oqpgqBZVr14/edit?usp=sharing


lawrencemah
2016-06-21 04:05
has joined #general

buhrmi
2016-06-21 05:50
please add yourselves as sponsor if you can help in any shape or form or can throw in some resources

nkuchelar
2016-06-21 09:16
has joined #general

ashnur
2016-06-21 13:01
Is there a page with technical requirements for hyperledger? I found this one, but it's very high level: https://github.com/hyperledger/hyperledger/wiki/Requirements-WG

petern
2016-06-21 13:04
has joined #general

petern
2016-06-21 13:05
would writing a messaging app be feasible using hyperledger fabric?

alberthristov
2016-06-21 13:06
has joined #general

simon
2016-06-21 13:18
peter: if you want to store all messages forever, sure

kostas
2016-06-21 13:23
why would you want to write a messaging app though? heard that before and it never made sense

datice
2016-06-21 13:45
has joined #general

skotha
2016-06-21 14:13
has joined #general

satmakur
2016-06-21 14:30
has joined #general

sandro.cacciamani
2016-06-21 15:44
has joined #general

ericmvaughn
2016-06-21 15:46
has joined #general

gauravm24
2016-06-21 16:39
has joined #general

gustavo_ruhena
2016-06-21 16:53
has joined #general

singhvi
2016-06-21 17:36
@kostas DARPA is interested in building a messaging app backed by blockchain. For secure messaging.

hart.montgomery
2016-06-21 18:38
You could probably write a secure messaging app with good privacy/anonymity properties using a blockchain, but it would come at the expense of a huge amount of (compared to normal messaging services) extra data storage requirements.

hsukhwa
2016-06-21 19:01
has joined #general

kostas
2016-06-21 19:42
@singhvi: Is there a link to this? It still sounds like a terrible idea. Use a blockchain as a registry to record your endpoint and find the other party's endpoint, and then chat directly, sure; that makes sense.

tilbert
2016-06-21 20:30
@kostas aye considering performance being mildly an issue - try signal then pile on Blockchain overhead - gonna be slow

tilbert
2016-06-21 20:31
@kostas maintaining state would also complicate things

manudc
2016-06-21 20:33
has joined #general

garisingh
2016-06-21 21:51
@kostas - the idea from DARPA is kinda interesting - "messaging" may be the wrong term as it is not so much a true chat app (at least the proposal I read). More of a secret distributed message exchange

kostas
2016-06-21 21:52
ah, a dropbox then

garisingh
2016-06-21 21:52
yeah - the modern version of the blind drop from the cold war era :wink:

garisingh
2016-06-21 21:53
well that is the best they could hope for

garisingh
2016-06-21 21:53
else they you just use something like whisper systems

cbf
2016-06-21 21:57
isn’t that sort of what ethereum is?

kostas
2016-06-21 21:58
Ethereum's Whisper was what I had in mind when I wrote this: https://hyperledgerproject.slack.com/archives/general/p1466538166000470

cbf
2016-06-21 21:58
y

kostas
2016-06-21 21:58
or Telehash

cbf
2016-06-21 21:58
at one point a couple years back,, I actually read that as a use case

cbf
2016-06-21 22:00
you don’t even need to store the messages… no state need be maintained

cbf
2016-06-21 22:00
though it could be

tribbloid
2016-06-21 23:18
Hi everybody can I ask a very simple question?

tribbloid
2016-06-21 23:18
How to create a new user in Hyperledger fabric?

tribbloid
2016-06-21 23:18
I just tried the enrollment API:

tribbloid
2016-06-21 23:19
HTTP POST https://.....http://blockchain.ibm.com:443/registrar { "enrollId": "new_user", "enrollSecret": "random_password" }

tribbloid
2016-06-21 23:19
and I got this:

tribbloid
2016-06-21 23:19
HTTP/1.1 401 Unauthorized { "Error" : "rpc error: code = 13 desc = 'server closed the stream without sending trailers'" }

tribbloid
2016-06-21 23:20
It looks more complex than I expected, involves offline configuration and pluggable proof-of-identity components

tribbloid
2016-06-21 23:21
can anyone point me to the right artifact?

codascud
2016-06-21 23:37
@tribbloid: you can add new uaer in fabric/membersrc/membersrv.yaml file...

codascud
2016-06-21 23:37
you will have to start the membersrv service too...

codascud
2016-06-21 23:37
compile instructions are in core/Makefile

codascud
2016-06-21 23:37
i think its ]$ make membersrv

tribbloid
2016-06-22 00:17
Thanks a lot, I'll try but I don't know if its possible on IBM bluemix blockchain service

2600
2016-06-22 01:41
has joined #general

codascud
2016-06-22 02:02
@tribbloid: is new_user in dashboard -> Service Credentials file? Can you try a user defined inser user[] section and verify if /registrar returns OK…

codascud
2016-06-22 02:02
you may add new users in this file on Bluemix and should work… i personally have not tried it though...

gbucknel
2016-06-22 02:05
has joined #general

vaibhav92
2016-06-22 02:37
has joined #general

kenny
2016-06-22 03:06
has joined #general

satishchhatpar
2016-06-22 06:58
has joined #general

ffcs
2016-06-22 08:22
has joined #general

buhrmi
2016-06-22 08:36
I need around 15 billion dollars to buy a company so I can tell its employees to leave me alone.

buhrmi
2016-06-22 08:37
or 1.5 trillion yen

ashnur
2016-06-22 09:06
:)))

ashnur
2016-06-22 09:06
which one

venkat
2016-06-22 09:13
has joined #general

venkat
2016-06-22 09:17
I want to contribute to coding tasks. What are some area that need urgent help? I'm good with Golang, NodeJS, databases. Ofcourse I'm even better with Java, but I guess there is not much going on wth Java here.

simon
2016-06-22 09:18
do you have a working development setup?

venkat
2016-06-22 09:19
Yep, and ran all sandbox tests too. All fine

simon
2016-06-22 09:20
perfect. there is a long list of issues if you want to get your hands dirty :slightly_smiling_face:

venkat
2016-06-22 09:23
Looks like github issues page is not being used. Is there any other issue tracking?

venkat
2016-06-22 09:23
Oops, github page does have issues

venkat
2016-06-22 09:24
I was using some filter earlier

venkat
2016-06-22 09:26
But how do I pick one?

kostas
2016-06-22 09:34
you can pick whichever one you want

kostas
2016-06-22 09:34
you may want to post a comment on the issue to let others know you're working on it

buhrmi
2016-06-22 09:47
@ashnur: NTT Data

buhrmi
2016-06-22 09:47
lol

ashnur
2016-06-22 10:03
gotcha :smile:

buhrmi
2016-06-22 10:07
upper management thought its a good idea to hire them, and now I'm reviewing documents that specify functionnames like "class GNE02W03Function implements GNE02W03Interface..." and upper management believes that it is good code even though it's cancer and death

simon
2016-06-22 10:11
parachute out

ashnur
2016-06-22 10:13
that looks like good generated code

buhrmi
2016-06-22 10:15
yeah but its not generated...

buhrmi
2016-06-22 10:15
was the first thing i asked

simon
2016-06-22 10:18
there are a lot of bad programmers

buhrmi
2016-06-22 10:23
yeah well not everybody went to university and shit. if u start programming very late you just don't know any better. and the guys who write that code are all in a dev sweatshop in china

buhrmi
2016-06-22 10:24
if the code that they produce gonna work in the end, i don't care... but if upper management expects me to maintain that stuff later ... parachute lol

adizere
2016-06-22 11:33
has joined #general

simonloader
2016-06-22 12:39
has joined #general

sheehan
2016-06-22 13:11
@venkat: For the Fabric project, there’s a help wanted tag you can look at if you’re trying to find an issue to work on. https://github.com/hyperledger/fabric/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22 For Java work, I believe the Java chaincode shim will show up in a PR soonish. https://docs.google.com/document/d/1ZBRO0X6OAQXKaq3_SjIgZ6uQ_eSFyglex-h2eQ8-H_o/edit

htyagi
2016-06-22 13:18
has joined #general

mihaig
2016-06-22 14:30
has joined #general

vikasjakhar
2016-06-22 15:24
Hi..i copied the chaincode_example02 and gave it a different name called mytest

vikasjakhar
2016-06-22 15:25
When i deploy mytest to peer i get an error Path to chaincode does not exist:http://github.com/hyperledger/fabric/examples/chaincode/go/mytest

sj
2016-06-22 15:29
has joined #general

simon
2016-06-22 15:32
vikasjakhar: is the source available in all peers?

vikasjakhar
2016-06-22 15:34
There's only one validating peer where i am trying ti deploy...is there a path on peer that i need to check if the source is available

vikasjakhar
2016-06-22 15:35
On the peer

simon
2016-06-22 15:36
i think in its go path

vikasjakhar
2016-06-22 15:37
Very confusing... chaincode_example02 works fine but it's copy mytest does not work

vikasjakhar
2016-06-22 15:37
In the same examples directory

muralisr
2016-06-22 15:45
@vikasjakhar: are you running the peer in docker or directly on your vagrant

vikasjakhar
2016-06-22 15:47
Hi Murali ..Peer is running in vagrant

muralisr
2016-06-22 15:48
ok. if you were running peer in docker you may had to build the image again but if you running directly in command line, you shouldn’t have to

venkat
2016-06-22 15:49
@sheehan: Thanks for the nice pointers.

muralisr
2016-06-22 15:50
@vikasjakhar: are you running peer with —peer-chaincodedev ?

vikasjakhar
2016-06-22 15:50
No...should I

muralisr
2016-06-22 15:51
just checking that’s all

muralisr
2016-06-22 15:51
ls $GOPATH/src/github.com/hyperledger/fabric/examples/chaincode/go/mytest

vikasjakhar
2016-06-22 15:52
Yes that is correct path

muralisr
2016-06-22 15:53
can you paste the command line commands for the peer and deploy ?

vikasjakhar
2016-06-22 15:53
Will do it in some time.

muralisr
2016-06-22 15:53
ok

vikasjakhar
2016-06-22 15:54
It's same as running chaincode_example02

vikasjakhar
2016-06-22 15:54
Except instead of chaincode_example02 replaced by mytest

mvankempen
2016-06-22 15:56
has joined #general

aish
2016-06-22 16:05
has joined #general

sri44
2016-06-22 16:13
has joined #general

greg.fitzpatrick
2016-06-22 16:19
has joined #general

rick
2016-06-22 18:33
has joined #general

joshhus
2016-06-22 19:31
Proposed URL for the new hyperledger/fabric/docs display: ( http://hyperledger-fabric.readhthedocs.io ) not built yet, just a URL proposal.

brendan
2016-06-22 19:38
has joined #general

bensor
2016-06-22 19:42
has joined #general

remkohdev
2016-06-22 19:45
has joined #general

manjeet
2016-06-22 19:47
has joined #general

claytonsims
2016-06-22 21:45
has joined #general

raravindakshan
2016-06-22 22:46
has joined #general

sanchezl
2016-06-23 00:47
has joined #general

dave.enyeart
2016-06-23 01:46
has joined #general

harrisob
2016-06-23 02:04
has joined #general

ethdun
2016-06-23 03:41
has joined #general

jagdeeshs
2016-06-23 06:51
has joined #general

budiwiyono
2016-06-23 07:01
has joined #general

amerkez
2016-06-23 07:14
has joined #general

dayu
2016-06-23 08:45
Is there a limit of block size in Hyperledger? We know that is 1MB in Bitcoin. Thanks

ibmamnt
2016-06-23 09:06
I'm also curious about size limitation. I'd like to see the wiki page for possible limitations to understand the architecture better. As for the size of block, it may be 64MB, since this is hard coded in google's protocol buffer impl. > static const int kDefaultTotalBytesLimit = 64 << 20; // 64MB

ibmamnt
2016-06-23 09:10
By the way, size of block varies, depending on consensus model. In case of noops, the max number of transaction per block is 500.

ibmamnt
2016-06-23 09:11
> consensus/noops/config.yml > block: > # Number of transactions per block. Must be > 0. Set to 1 for testing > size: 500

ibmamnt
2016-06-23 09:13
In case of pbft, the default value is "2" in batch mode. I guess this is a kind of trade off of consensus speed and block creation.

nickitastic90
2016-06-23 10:02
has joined #general

alexander.yanakiev
2016-06-23 10:13
has joined #general

mariwade
2016-06-23 11:30
has joined #general

nguyennhatquang
2016-06-23 12:07
has joined #general

skarim
2016-06-23 12:57
has joined #general

hutchig
2016-06-23 13:10
has joined #general

goatwizard
2016-06-23 13:24
has joined #general

clessor
2016-06-23 13:34
@ibmamnt dumb question, but is there a difference with fabric versus sawtooth Lake? Im just getting started here...

cbf
2016-06-23 13:48
@clessor: stl is python and fabric is go;-) j/k

clessor
2016-06-23 13:49
:flushed: THANKS!!

codascud
2016-06-23 13:50
@clessor: stl has PoET as its consensus algo… Hyper right now has pbft and noops

simon
2016-06-23 13:52
noops is no consensus algorithm

cbf
2016-06-23 13:52
I think one major difference is how the two deal with permission. Fabric is primarily designed to handle a permissioned network of peers, where STL supports permissionless. Also, STL has innovated around consensus and created POET (proof of elapsed time) where Fabric is focused on PBFT and a derivative we call Sieve

cbf
2016-06-23 13:53
we also have different approaches for 'smart conteacts'

codascud
2016-06-23 13:53
@simon: correct… just mentioning...

cbf
2016-06-23 13:53
note that the two are not in competition... this is not a bake off, but we are looking for synergies between top level projects

codascud
2016-06-23 13:55
@cbf: In case I want to use PoET (which is written in Python) in Hyperledger, does it mean I will have to rewrite it in go using Hyper using Consensus Framework?

codascud
2016-06-23 13:55
Or is there a way I can call consensus algo written in other languages form go?

ghaskins
2016-06-23 13:59
@codascud: the consensus portion is abstracted to a degree, though the focus has been on alternate golang based impls….im sure with some extra work that could be extended to something external

ghaskins
2016-06-23 14:00
for instance, I think in many cases, the interface is message based and using protobufs, both of which are conducive to language neutrality

ghaskins
2016-06-23 14:00
but im sure there would be a few challenges as this was not the design goal

clessor
2016-06-23 14:04
good info. Im sure if I RTFM its there but this helps. So are there different block size, transaction limitations?

codascud
2016-06-23 14:15
@ghaskins: got it..thanks.. certainly a message based approach will be useful… Just out of curiosity how does the validating peers on the same network talk to each other in Hyperledger?

ghaskins
2016-06-23 14:15
grpc over tcp

codascud
2016-06-23 14:15
thanks..

amundson
2016-06-23 14:16
@codascud: hyperledger is the umbrella project, which contains fabric and sawtooth. PoET is in sawtooth and thus, you can already use "hyperledger" with PoET. But I think what you mean above is integrating PoET with fabric, not hyperledger.

walid
2016-06-23 14:22
has joined #general

codascud
2016-06-23 14:27
@amundson: yes… correct.. thanks for pointing out...

andrey
2016-06-23 14:41
has joined #general

vidal007
2016-06-23 19:23
has joined #general

jasra79
2016-06-23 20:00
has joined #general

kostas
2016-06-23 22:04
@cbf: Just in case you know - are there plans to upgrade this Slack to the paid version? We've already reached the free tier limit (10K messages) and cannot go back to retrieve earlier conversations. This is a problem...

ry
2016-06-23 23:09
kostas: I looked into it and the pricing is $6.67 per user per month. right now we have something like 1500 users.

kostas
2016-06-23 23:10
@ry: Are you suggesting that's a no?

ry
2016-06-23 23:11
@kostas: the discussion died shortly thereafter. We could approach Slack and ask for an exception, but that is well above my level.

kostas
2016-06-23 23:15
Understood. At any rate, we have a problem in the sense that we're using this tool to exchange valuable technical info that we cannot retrieve after a while. The powers that be can always respond with "deal with it", but I hope that someone understands that this is a problem and is looking into ways to fix. (Whether that means paying for the service, or switching to an alternative, I do not know.)

leninmehedy
2016-06-23 23:26
has joined #general

marcie
2016-06-23 23:26
has joined #general

cbf
2016-06-24 00:47
we should hold most technical discussions via email or in issues and prs

cbf
2016-06-24 00:47
As @ry noted we don't have budget for the number of users

gengjh
2016-06-24 01:26
maybe we need find a way to archive the history and move them into some other place which is easy to search.


gengjh
2016-06-24 01:26

ry
2016-06-24 01:30
@gengjh: A lot of LF projects use IRC for stuff like this. The advantage of slack is rich clients and ease of onboarding. The downsides are as kostas noted, and public search, as you noted

gengjh
2016-06-24 01:38
IRC is a good choice, but very difficult to connect from China when I was in IBM CDL. not sure if there is any improvement now.

ry
2016-06-24 02:05
gengjh: looking at today’s TSC notes, I see there is an official IRC channel IRC: #hyperledger on http://freenode.net (has Meetbot)

gengjh
2016-06-24 02:09
:+1:

junzhuang
2016-06-24 02:36
has joined #general

celder
2016-06-24 12:15
has joined #general

middleton
2016-06-24 13:16
Oh no. More channels to manage. :open_mouth:

simon
2016-06-24 13:39
lol

simon
2016-06-24 13:39
official irc?

simon
2016-06-24 13:39
i thought slack was official?

simon
2016-06-24 13:39
communication mismanagement

simon
2016-06-24 13:39
what would be useful is to have a mail-to-slack gateway for the hyperledger mailinglists

wlahti
2016-06-24 14:12
has joined #general


cdaughtr
2016-06-24 14:33
has joined #general

sebastian.hassinger
2016-06-24 16:57
has joined #general

jeffgarratt
2016-06-24 19:12
is there a reason '@here' has been disabled?

jeffgarratt
2016-06-24 19:13
seems to neuter the capability of slack

boydjohnson
2016-06-24 21:38
has joined #general

shparikh
2016-06-24 23:17
has joined #general

cbf
2016-06-24 23:54
@jeffgarratt: it was being abused you can tag individuals just cannot spam everyone

greg_not_so
2016-06-25 00:59
@george i glanced at it and it looked interesting just like this did: https://www.ubs.com/microsites/blockchain-report/en/home.html

lobinhojr
2016-06-25 01:52
has joined #general

bhavarora17
2016-06-25 04:05
has joined #general

kurihei
2016-06-25 08:19
has joined #general

freedomhero
2016-06-25 08:29
has joined #general

schmitsky
2016-06-25 10:02
has joined #general

venkat
2016-06-25 12:50
What exactly is a chaincode? A smart contract or an interactive web application? By smart contract, I mean an agreement between multiple parties, that executes transactions (asset transfers) autoamtically based on events over a span of time. A web application is similar to an online flight booking system. So which one is chaincode?

kostas
2016-06-25 12:52
A chaincode is a smart contract, aka logic/script that you install on the blockchain.

venkat
2016-06-25 12:56
Can it be a backend (business logic) for an interactive web application?

venkat
2016-06-25 12:57
supporting CRUD for some business objects?

kostas
2016-06-25 12:57
Although, to go back to your example -- theoretically nothing could prevent you from writing an online flight booking system using a chaincode... (It really doesn't make sense. I'm just saying it's technically feasible.) Isn't an online flight booking system an agreement between Delta and you that if you pay them $200 they will give you a ticket to fly to New York? In that sense, you are giving them a token and you get a token back in return. Delta could add tokens (new available tickets) to the chaincode periodically, and you could retrieve them by giving to the contract the tokens that it asks for in exchange.

kostas
2016-06-25 12:58
^^ See comment above.

kostas
2016-06-25 12:58
What you need to ask yourself though is not whether you can do something on a blockchain, but *why*. For instance, it doesn't make any sense for Delta to set such a system up.

venkat
2016-06-25 13:01
But what about the blockchain as application platform? Ethereum and HL might be seen as one. And the chaincode sports full-fledged programming support, not just minimal templates for contracts

kostas
2016-06-25 13:02
This answers the "can it be done" part. It doesn't answer the "why should it be done" part.

venkat
2016-06-25 13:03
People are assuming that they can move applications onto blockchains

kostas
2016-06-25 13:04
For some applications it may make sense, for others it most definitely doesn't.

venkat
2016-06-25 13:05
You mean contract-focussed application? which are not latency sensitive and doesn't care about scalability?

kostas
2016-06-25 13:05
I do not understand the meaning of a contract-focused application. Too vague.

kostas
2016-06-25 13:06
With you on the lack of latency sensitivities.

venkat
2016-06-25 13:06
An application that simply manages contracts (cease and run) for a domain

venkat
2016-06-25 13:06
^create

kostas
2016-06-25 13:06
Too broad of a definition.

kostas
2016-06-25 13:07
It might be the right definition, but you cannot get a blanket statement on whether it makes sense to transfer all of these applications within that domain to a blockchain-based system.

kostas
2016-06-25 13:07
It all depends on the context, which is particular to the application.

venkat
2016-06-25 13:09
What are some good examples of business applications that can mostly run on blockchain (HL)?

kostas
2016-06-25 13:10

venkat
2016-06-25 13:13
Does HL aims support similar use cases or its goals are inline with those use cases?

venkat
2016-06-25 13:13
Thanks for link. It seems to be very good!

jskerhut
2016-06-25 14:20
has joined #general

venkat
2016-06-25 16:11
@kostas: I think none of the four use cases discussed in Gideon's article relates to smart contract, in the sense of submitting code to blockchain for automated execution

kostas
2016-06-25 16:11
Did I suggest otherwise?

kostas
2016-06-25 16:12
(IIRC, Gideon's against smart contracts in general. But you can certainly use them if you think they make sense.)

venkat
2016-06-25 16:14
Ofcourse, you only said that it could be a good starting place, which means you didn't say it relates to smart contracts.

venkat
2016-06-25 16:15
Since I kind of digested those plain blockchain usecases, how do I go about learning about HL use cases (smart contracts) in a real business world?

kostas
2016-06-25 16:16
That's a good question. It's been a long time since I read it, but maybe this could be a starting point: https://github.com/hyperledger/fabric/blob/master/docs/biz/usecases.md

venkat
2016-06-25 16:21
Hmm... that page mentions smart contract only once, and chaincode thrice. Let's hope it really sheds light on smart contract-based use cases

kostas
2016-06-25 16:21
Might not. Caveat emptor and all that.

muralisr
2016-06-25 16:25
@kostas: you might have been looking for this page ? https://github.com/hyperledger/hyperledger/wiki/Use-Cases

kostas
2016-06-25 16:26
Thank you, that does look like a better fit. (Haven't read it though.)

chris
2016-06-25 16:30
has joined #general

venkat
2016-06-25 16:31
That wiki ref by @muralisr seem to have more number use cases, but I'm finding it very difficult to find pages (from that list) which relate to chaincode and smart contracts


chris
2016-06-25 16:31
hello, world

venkat
2016-06-25 16:32
That page, for example, talks about contracts, but they seem very different than something to be implemented by chaincode

muralisr
2016-06-25 16:39
@venkat chaincodes are more implementation detail of those higher level use cases. I wouldn’t look for 1-1 mapping between the use-cases and chaincode. Some of the use cases go into details of what problem the blockchain approach will solve and from those details will emerge the implementation of various parts of the stack right from the “application” layer on top to the “chaincode”.

venkat
2016-06-25 16:45
Thanks @muralisr. Does that mean there is no 1:1 mapping between smart contracts and chaincodes? If yes, is a smart contract to be implemented by a collection of chaincodes?

venkat
2016-06-25 16:46
Just trying to understand the structure and relations between Application, Smart Contract and Chaincode

muralisr
2016-06-25 16:51
Sure. Chaincode is truly an implementation artefact while a smart contract - in my view at least - a higher level construct. VERY loosely, I’d think of “smart contract is to chaincode” what "DB app is to stored procedure” ? In some cases DB app IS the stored proc but in most bigger and more abstract

muralisr
2016-06-25 16:53
I’d hasten to add all the above is “in a manner of speaking”

amundson
2016-06-25 16:56
the relationship is similar to that between sawtooth's transaction families and smart contracts as well (transaction families as a detail of how one would create smart contract implementations)

jamie.steiner
2016-06-25 16:56
are there any documented examples of chaincode?

venkat
2016-06-25 17:04
I'm seeing entire applications being built out of a single chaincode by exposing all CRUD operations through Invoke, on the domain objects (types, structs). Is this pattern intended?

muralisr
2016-06-25 17:05
@jamie.steiner: there are some examples under https://github.com/hyperledger/fabric/tree/master/examples. Hopefully will be more in future

muralisr
2016-06-25 17:06
@venkat: you mean a monolithic all-contained app directly in the chaincode - basically a client/server topology ?

venkat
2016-06-25 17:13
Yes. thats where I'm having trouble seeing a smart contract in there.

venkat
2016-06-25 17:14
Then I thought HL is an application platform

venkat
2016-06-25 17:14
which justifies the case

venkat
2016-06-25 17:16
and chaincode is THE application?

middleton
2016-06-25 17:21
HL is a family of distributed ledger technologies. When you are looking at Frabric, the Chaincode is your transaction logic. An app in my mind would be something like a client submitting transactions onto the ledger.

venkat
2016-06-25 17:26
If client is submitting transactions into the ledger, what else is chaincode doing?

middleton
2016-06-25 17:27
processing the transactions

venkat
2016-06-25 17:28
Isn't that processing done by peers in a generic way? For example, a bitcoin client submits transactions. No chiancode needed to process them.

middleton
2016-06-25 17:28
[client]---submit tx-->[chaincode]--run tx rules-->[ledger]--commit result--|

middleton
2016-06-25 17:29
in bitcoin utxo ~ chaincode.

venkat
2016-06-25 17:30
so chaincode defines the output of a transaction. Is that about right?

venkat
2016-06-25 17:33
In other words, can we say that bitcoin system has a single in-built chaincode operation (transfer money)?

middleton
2016-06-25 17:37
sure :slightly_smiling_face:

middleton
2016-06-25 17:37
bitcoin is very tightly coupled

middleton
2016-06-25 17:38
fabric and sawtooth have modularized concepts so the division between layers is more clear. This is intended to promote pluggable features.

middleton
2016-06-25 17:38
If for example UTXO is insufficient you can use chaincode, or if proof of work isn't the right fit then plug in PoET.

venkat
2016-06-25 17:39
Sorry - haven't explored sawtooth yet. Mind telling its role, in brief?

middleton
2016-06-25 17:41
Sawtooth is another ledger platform.

middleton
2016-06-25 17:41
Its architecture is roughly client --> transaction family --> validator

middleton
2016-06-25 17:42
The marketplace client and marketplace transaction family give example transaction behavior running on top of the core validator (i.e. miner) which is running a consensus algorithm called Proof of Elapsed Time.

middleton
2016-06-25 17:42
There's a tutorial here: http://intelledger.github.io/

venkat
2016-06-25 17:44
The PoET sounds really nice, atleast from environmental view point. Will read about the other things you said.

middleton
2016-06-25 17:44
cool

venkat
2016-06-25 17:45
Thanks for bearing with my noob questions :wink:

jamie.steiner
2016-06-25 17:49
PoET - that's the one that requires trusted, vendor specific hardware, right?

amundson
2016-06-25 18:50
@jamie.steiner: it does use a TEE (such as SGX) - https://intelledger.github.io/introduction.html#proof-of-elapsed-time-poet

middleton
2016-06-25 19:43
All good questions @venkat :)

jamie.steiner
2016-06-25 19:50
@middleton: about pluggability - I don't really get the statement that "If for example UTXO is insufficient you can use chaincode" - it seems like these are orthogonal concepts, if chaincode is, roughly speaking, smart contracts (ie. user deployable, event driven logic).

middleton
2016-06-25 20:26
Hi @jamie.steiner. I mean they are different rule sets for authoring txn logic. I'm less familiar with chain code, but with sawtooth txn families there's no reason you couldn't make a UTXO family. In fact that sounds like kind of a fun project.

adrian_cortez
2016-06-25 20:53
has joined #general

jcheung0
2016-06-25 22:53
has joined #general

james.buckett
2016-06-26 00:17
has joined #general

ying.mao
2016-06-26 02:23
has joined #general

venkat
2016-06-26 03:25
hello everyone :slightly_smiling_face:

venkat
2016-06-26 03:26
Just got one more nagging question to ask ..

venkat
2016-06-26 03:26
If multiple business entities are using the shared ledger, does that also mean they share the chaincodes as well?

venkat
2016-06-26 03:27
Or is it that, the chain codes are specific to and owned by the businesses which created them?

buhrmi
2016-06-26 04:15
i've been looking for documentation about that too but unable to find any. I think currently the only way to find out is understanding the source code

venkat
2016-06-26 04:23
@buhrmi: I saw there are vey knowledgeable and helpful people on this forum. May be they are not logged in because it is weekend. Not sure how much we can learn by exploring source code.

venkat
2016-06-26 04:24
There is some documenting, but I think it is in development stage

tapman
2016-06-26 05:01
has joined #general

jasonlai
2016-06-26 05:06
has joined #general

buhrmi
2016-06-26 07:28
@venkat: you're talking about the shared ledger, which one are you talking about? is there already a shared ledger online?

joequant
2016-06-26 10:35
code question, if someone is online.....

joequant
2016-06-26 10:35
ping?

ravi.sarkar
2016-06-26 17:37
has joined #general

sri_narayanan
2016-06-26 21:16
has joined #general

sstone
2016-06-27 00:38
has joined #general

james.buckett
2016-06-27 03:14
Hello Everyone has anyone deployed Hyperledger into Kubernetes with success ? and be willing to share the manifest files ?

dkoh666
2016-06-27 03:30
has joined #general

bgorman
2016-06-27 05:16
has joined #general

venkat
2016-06-27 05:57
@buhrmi: : I'm talking about some prototypical designs for applications to run on hyperledger. I'm trying to understand the best practice in terms of structural composition of application using chain codes and smart contracts. Is that one-to-many between apps and chain codes and between app and contracts? How does a smart contract map to a chain code? one-tomany or one-to-one?

buhrmi
2016-06-27 06:01
hmm ... is there a "database schema" of the fabric ledger somewhere

pradeep_g
2016-06-27 06:01
has joined #general

venkat
2016-06-27 06:07
from the answers I got, it seems that a smart contract is implemented by a set of transaction types (or families) and an application is something that invokes a set of transactions over time.

venkat
2016-06-27 06:08
And that a transaction type (or types) is implemented by a chaincode

venkat
2016-06-27 06:13
What's still missing in my understanding is the composition and aggregation (or overlap) across these 3 terms (contract, app, chaincode). Whether same chaincode can support multiple apps and contracts, and whether a contract is fully contained inside and app etc.

ashnur
2016-06-27 08:35
Is there anyone in charge of the docs?

buhrmi
2016-06-27 08:42
for fabric? i think @binhn .... but i only assume so cause he's been modifying them on github

ashnur
2016-06-27 08:49
cool, thanks

intrepidhk
2016-06-27 09:31
has joined #general

intrepidhk
2016-06-27 09:57
I'm assuming it's supposed to be like a modern "enigma" messaging application not for "chatting" per se but to send critical messages.


kakarlapudi1
2016-06-27 10:23
has joined #general

saurabh
2016-06-27 11:46
has joined #general

yongkook
2016-06-27 13:08
has joined #general

hdaly
2016-06-27 13:23
has joined #general

ravi.malladi
2016-06-27 13:44
has joined #general

cloud.strife
2016-06-27 14:14
hey all

cloud.strife
2016-06-27 14:15
I am trying to deploy hyperledger peers in docker multihost overlay

cloud.strife
2016-06-27 14:15
the validating peers can talk fine to eachother, however the chaincode containers cannot talk back to peers

cloud.strife
2016-06-27 14:16
anyone having this issue?

ejstutz
2016-06-27 14:46
has joined #general

garisingh
2016-06-27 15:02
@cloud.strife - take a look at the `vm.docker.hostConfig` section of `core.yaml`. You'll need to supply the correct network config in order for the chaincode containers to join the overlay network

jamie.steiner
2016-06-27 17:08
Still trying to wrap my mind around chain code - is it code that can be deployed, by users, into the blockchain, in order to extend a given blockchain's functionality, or is it better described as a set of transaction definitions and validation logic. I guess the main difference I am wondering about is whether you can deploy chain code to the blockchain, on the fly - like ethereum smart contracts.

simon
2016-06-27 17:11
yes you can

codascud
2016-06-27 17:11
@jamie.steiner: yes, you can write smart contracts in chaincode

codascud
2016-06-27 17:12
@jamie.steiner: What do you mean by “set of transaction definitions and validation logic”?


codascud
2016-06-27 17:13
examples of cc ^^

jamie.steiner
2016-06-27 17:14
upthread, there was a description as "different rule sets for authoring txn logic." - the above is how I would paraphrase that

skamireddi
2016-06-27 17:18
has joined #general

jamie.steiner
2016-06-27 17:19
Ive read through the examples, and, while I can't claim to understand them fully, my question is more around how chaincode gets deployed, than what it is. In ethereum, a smart contract is represented by bytecode, and any user can author brand new contracts and deploy them. The byte code for that contract is recorded in the ethereum blockchain, and is executed by miners. I'm wondering if chain code works the same way - ie. can a user, or validating node, author chain code, and inform other nodes that now it exists, and update the blockchain with this new business logic that will, henceforth, be executed by the other validating nodes.

simon
2016-06-27 17:20
yes, exactly the same

jamie.steiner
2016-06-27 17:20
if so, how is it transmitted - I doubt formatted golang is the way to do it

simon
2016-06-27 17:20
just in docker containers

garisingh
2016-06-27 17:20
@jamie.steiner - basically yes - this is called a "deploy" transaction

simon
2016-06-27 17:21
@jamie.steiner: why do doubt that?

garisingh
2016-06-27 17:21
basically, the code is packaged up in a portable Docker tar.gz file which is distributed to all of the nodes and deployed a a container

garisingh
2016-06-27 17:22

jamie.steiner
2016-06-27 17:23
hmm, ok. interesting.

jamie.steiner
2016-06-27 17:24
thanks - I will need to dig deeper, i see

jamie.steiner
2016-06-27 17:25
it means that the validating node must have access to a go compiler

jamie.steiner
2016-06-27 17:27
how is the chaincode sandboxed from the host OS?

simon
2016-06-27 17:27
well it is in the docker container, but that's it

simon
2016-06-27 17:27
i opened an issue about sandboxing long ago

jamie.steiner
2016-06-27 17:29
is chaincode restricted in anyway, or can it be arbitrary golang?

codascud
2016-06-27 17:33
@jamie.steiner: I wont say “restrictive” rather it requires implementing the chaincode interfaces...


nsubrahm
2016-06-27 17:39
has joined #general

jamie.steiner
2016-06-27 17:41
is fabric chaincode pretty much the same as IBM Bluemix chaincode?

codascud
2016-06-27 17:41
yes

garisingh
2016-06-27 17:44
exactly the same. We use fabric for Bluemix

garisingh
2016-06-27 17:45
we just (attempt) to take away the pain of you needing to stand up your own network and give you a cool dashboard (full disclosure my team owns the BMX blockchain service so pardon the pseudo-marketing)

jamie.steiner
2016-06-27 17:50
not marketing - im glad for the comparison

greg_not_so
2016-06-27 17:59
has anyone registered BMX trademark yet? i couldn't find it here: https://new-console.ng.bluemix.net/docs/navigation/notices.html but i would recommend it if it's available for registration

vikasjakhar
2016-06-27 18:06
I have a question....does thr endorsement policy have to be static or can the chaincode choose the endorsers dynamically based on the data in the transaction?

nsubrahm
2016-06-27 18:14
Why does HL not have PoW algorithm?

jamie.steiner
2016-06-27 18:32
for example, chaincode, either in fabric, or in IBM Bluemix is not prevented from running things using `os/exec`

garisingh
2016-06-27 18:41
correct - chaincode can (although it shouldn't) do anything you can do in Go within a Docker container

ghaskins
2016-06-27 18:45
This will eventually be locked down, I imagine, at least within the constraints of what Docker is able to do

muralisr
2016-06-27 18:46
@vikasjakhar: so the question is about in the next generation consensus, can transactions against chaincodes be dyamically be directed towards a set of endorsers ?

muralisr
2016-06-27 18:50
by “dynamically” - different transactions to the same chaincode be endorsed by different set of endorsers ?

vikasjakhar
2016-06-27 19:06
@muralisr that is correct. Our requirement is to have endorsers dynamically selected based on transaction data

danielssribeiro
2016-06-27 19:33
has joined #general

zac
2016-06-27 19:45
has joined #general

mikej
2016-06-27 19:48
has joined #general

cbl
2016-06-27 21:23
has joined #general

jeffprestes
2016-06-27 21:24
has joined #general

ewuehler
2016-06-27 22:03
has joined #general

pcasaretto
2016-06-28 00:38
has joined #general

pshah
2016-06-28 00:47
has joined #general

buhrmi
2016-06-28 01:18
maybe every transaction should be run in a VM

buhrmi
2016-06-28 01:19
ethereum does that, right?

cloud.strife
2016-06-28 02:35
@garisingh: Thanks, I found that section. However it seems to still put the cc containers in `host` network mode. How do I ensure that the core.yaml is being loaded? Is there an ENV variable for this setting? I can confirm that all ENV variables I have set work properly. Is there a full list of ENV variables that I can view that pertain to different options in the core.yaml?

cloud.strife
2016-06-28 02:42
```root@vp1:/go/src/github.com/hyperledger/fabric# grep NetworkMode peer/core.yaml # NetworkMode Sets the networking mode for the container. Supported standard values are: `host`(default),`bridge`,`ipvlan`,`none` NetworkMode: hlnet```

cloud.strife
2016-06-28 02:43
``` docker network inspect host [ { "Name": "host", "Id": "0a6dbc72cdbe81ec167de4c85bfd49175444fb4d67e7d5eaa7a978d2cb023f50", "Scope": "local", "Driver": "host", "IPAM": { "Driver": "default", "Options": null, "Config": [] }, "Containers": { "2eef268fad91774f3745c65037faa566365b4748eba02448524bcc4ac3a5ac5f": { "Name": "dev-vp0-a5389f7dfb9efae379900a41db1503fea2199fe400272b61ac5fe7bd0c6b97cf10ce3aa8dd00cd7626ce02f18accc7e5f2059dae6eb0786838042958352b89fb", "EndpointID": "19ca8863e03c135ba7608c7a6d47e1ad9928012b87fa82475e9a654e70ea6406", "MacAddress": "", "IPv4Address": "", "IPv6Address": "" }, "7b4d8484e3ea1024b48bf3fe41dfa53c50507540a70c8e0f45a499c4c6e96d38": { "Name": "dev-vp3-a5389f7dfb9efae379900a41db1503fea2199fe400272b61ac5fe7bd0c6b97cf10ce3aa8dd00cd7626ce02f18accc7e5f2059dae6eb0786838042958352b89fb", "EndpointID": "04db8ab8e22bd6091a55864812bf99d7850baff3289527659639a0bf8b3a0d8e", "MacAddress": "", "IPv4Address": "", "IPv6Address": "" }, "a292ced665e5dd41426873578f48711b40831884930c9548cfccfadfd89dd326": { "Name": "dev-vp2-a5389f7dfb9efae379900a41db1503fea2199fe400272b61ac5fe7bd0c6b97cf10ce3aa8dd00cd7626ce02f18accc7e5f2059dae6eb0786838042958352b89fb", "EndpointID": "b194205b08e6b4f4b25308044f59ffd0746c966db4decd6cd7ca45800a6593eb", "MacAddress": "", "IPv4Address": "", "IPv6Address": "" }, "f08ebe6a940cf143bb2647bf4e9c7b2c01133dfc7c2f2143c8c62436ee0dec55": { "Name": "dev-vp1-a5389f7dfb9efae379900a41db1503fea2199fe400272b61ac5fe7bd0c6b97cf10ce3aa8dd00cd7626ce02f18accc7e5f2059dae6eb0786838042958352b89fb", "EndpointID": "30a371df047e30d0e50f8743ee112cc447a97d01e0de3062e18a3c2dab166eb3", "MacAddress": "", "IPv4Address": "", "IPv6Address": "" } }, "Options": {} } ] ```

cloud.strife
2016-06-28 02:44
all 4 validating peers apear fine on the overlay hlnet

cloud.strife
2016-06-28 03:18
I tried setting ENV CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE

cloud.strife
2016-06-28 03:18
but it did not work :slightly_smiling_face:

lt.tsai
2016-06-28 03:52
has joined #general

vmishra
2016-06-28 04:58
has joined #general

peterlundgren
2016-06-28 06:48
has joined #general

pavel
2016-06-28 06:52
has joined #general

jamie.steiner
2016-06-28 06:57
is each piece of chaincode executed in it's own docker container?

danayelx
2016-06-28 07:04
has joined #general

navin
2016-06-28 07:05
has joined #general

danayelx
2016-06-28 07:05
is there a blockchain viewer for hyper ledger akin to the one used in bitcoin?

danayelx
2016-06-28 07:05
I have a two node network and would like to be able to visualize my transactions

danayelx
2016-06-28 07:06
also, is there a good tutorial on how states works within the hyper ledger context?

buhrmi
2016-06-28 08:10
@jamie.steiner: i don't think so, lol

hychuang
2016-06-28 08:11
has joined #general


venkat
2016-06-28 08:19
I assume the outer oval is connecting different organisations (CCP, CSD etc)

buhrmi
2016-06-28 08:19
i think the outer oval has no meaning whatsoever

venkat
2016-06-28 08:20
oh, ok

buhrmi
2016-06-28 08:20
don't think it means "connection" ... probably just to group organizations visually

venkat
2016-06-28 08:20
And we have the users on the left (developer, network operator etc)

venkat
2016-06-28 08:20
which org do these guys belong to?

buhrmi
2016-06-28 08:21
actually i don't know. is this bluemix specific?

venkat
2016-06-28 08:21
Yeah. it looks like that

venkat
2016-06-28 08:21
And the nodes in the inner oval

venkat
2016-06-28 08:22
who owns and who provisioned them?

venkat
2016-06-28 08:22
The biggest question is -

buhrmi
2016-06-28 08:22
haha they are owned by whoever

venkat
2016-06-28 08:22
When I Create a network and a blockchain app/service

venkat
2016-06-28 08:23
the monitoring dashboard shows my nodes only

venkat
2016-06-28 08:23
as if the entire blockchain is only visible to me.

buhrmi
2016-06-28 08:23
the monitoring dasboard of bluemix?

venkat
2016-06-28 08:23
Then where is this shared ledger?

venkat
2016-06-28 08:23
Yes

buhrmi
2016-06-28 08:23
there is no shared ledger yet

venkat
2016-06-28 08:24
No shared ledger yet??:face_with_rolling_eyes:

buhrmi
2016-06-28 08:25
no .... i want to set up a "test network" but i don't have time / money

venkat
2016-06-28 08:26
So - it is just for you. nothing is shared?

buhrmi
2016-06-28 08:27
also, in the current version of "chaincode" - as far as i understand - it's easy to write malicious contracts that could take down the entire system. so opening up a shared ledger might not be a smart move at this time

venkat
2016-06-28 08:27
But that is the whole point of fabric, right? The Great Distributed Shared Ledger ???

buhrmi
2016-06-28 08:28
yeah i think when you create a blockchain using bluemix, you are using the certificate authority bluemix provides. so only u can use it

buhrmi
2016-06-28 08:28
well, eventually, yes ... it's just not ready yet

venkat
2016-06-28 08:29
Then I could as well use a EC2 elastic cluster with a replicated database such as mongodb, and that is just as good as fabric or better?

buhrmi
2016-06-28 08:31
ha

buhrmi
2016-06-28 08:32
yeah currently i don't know a good usecase for using blockchain created within bluemix

buhrmi
2016-06-28 08:32
it's a good playground for fabric

buhrmi
2016-06-28 08:32
to try it out before it - some time - might or might not evolve into the great ledger

venkat
2016-06-28 08:32
Got it. We can test chaincodes

buhrmi
2016-06-28 08:32
yes

venkat
2016-06-28 08:35
Even outside bluemix, who among the participant parties, creates chain codes and apps?

venkat
2016-06-28 08:36
for a shared workflow, for example

venkat
2016-06-28 08:36
may be a supply-chain case

buhrmi
2016-06-28 08:37
the answer would be "everybody who wants to"

venkat
2016-06-28 08:38
But it needs to be the same code for everybody

venkat
2016-06-28 08:38
because they all are sharing workflow and shame ledger data

buhrmi
2016-06-28 08:39
currently there is something called membersrvc involved, against which the potential users need to authorize against before being able to deploy chaincode

buhrmi
2016-06-28 08:39
yeah of course, every node should run the same code

venkat
2016-06-28 08:41
may be they will have a shared Git repo and commits go by majority vote?

jamie.steiner
2016-06-28 08:42
2/3 majority, of course..

buhrmi
2016-06-28 08:42
are you talking about the code for the blockchain or the chaincodes?

venkat
2016-06-28 08:42
chaincodes

buhrmi
2016-06-28 08:43
chaincodes are deployed via transactions ... so you submit a transaction to the blockchain saying "hey i wanna deploy this chaincode" and it gets deployed.

buhrmi
2016-06-28 08:44
no need for a shared git repo

buhrmi
2016-06-28 08:44
it will be "your personal" chaincode

venkat
2016-06-28 08:44
but what I was saying is there are multiple business partners who are participating in a business activity such as supply chain.

venkat
2016-06-28 08:45
and this activity will be defined by a set of chain codes which need to be agreed upon by all the participants

buhrmi
2016-06-28 08:45
yes ... the deployed chaincodes should be browsable

buhrmi
2016-06-28 08:45
and viewable

buhrmi
2016-06-28 08:45
and hopefully understandable

venkat
2016-06-28 08:46
And nobody should control the chaincodes

venkat
2016-06-28 08:46
as a authority

buhrmi
2016-06-28 08:46
that's the goal

venkat
2016-06-28 08:46
I mean modifications to the chaincode

buhrmi
2016-06-28 08:47
yes

venkat
2016-06-28 08:47
In that case we need a shared repo for the chaincode to reside

buhrmi
2016-06-28 08:47
currently it's not possible to change the chaincode after it has been deployed. somebody wanted this as a feature but i don't think its a good idea

venkat
2016-06-28 08:48
Ok - but what happens before deployment? I guess they all agree on a chaincode

venkat
2016-06-28 08:48
or a set of them

buhrmi
2016-06-28 08:49
no u can just deploy whatever ... what *should* be done instead is create a viewer (webapp or something) that can browse and view deployed chaincodes

buhrmi
2016-06-28 08:50
if somebody doesn't like your chaincode, they'll just won't interact with it haha

venkat
2016-06-28 08:51
Ah - ok

venkat
2016-06-28 08:51
so participants can pick chain codes to include into their apps

buhrmi
2016-06-28 08:52
that's as far as i understand it

venkat
2016-06-28 08:52
But it doesn't serve the use case of creating a contract or business activity which has some specific structure and flow.

venkat
2016-06-28 08:53
Choosing of chain codes shouldn't be left to the choice of participants

venkat
2016-06-28 08:54
Different orgs may have different apps and different chain codes, but they should all run in sync with each other

buhrmi
2016-06-28 08:54
i don't know, it might be that other people's chaincodes gonna be publicly callable

buhrmi
2016-06-28 08:54
don't know the plan for that

venkat
2016-06-28 08:54
yeah - things are in flux - don't know how it works on Ethereum

venkat
2016-06-28 08:56
Both Ethereum and Fabric should demonstrate a simple use case inovolving multiple businesses participating in a shared business activity through a shared ledger

buhrmi
2016-06-28 08:58
yeah i brought that up on the mailinglist

buhrmi
2016-06-28 08:59
it has sparked a private conversation with the hyperledger executive director but no conclusion on that yet

unixer
2016-06-28 08:59
has joined #general

navin
2016-06-28 09:16
Hi buhrmi.. Im new to this blockcahin.. can you please help with relevant documents or pdf anything


navin
2016-06-28 09:17
Thankyou very much ashnur:)

ashnur
2016-06-28 09:17
yw :slightly_smiling_face:

ashnur
2016-06-28 09:17
I am new too, but I realized that is the best place to start, has quite a good overview and gives an ordering too

buhrmi
2016-06-28 09:18
@navin: i think this is the best tutorial currently https://github.com/IBM-Blockchain/marbles/blob/master/tutorial_part1.md

navin
2016-06-28 09:18
Yeah some of my suggested to join and it is very help full

navin
2016-06-28 09:18
Thanks mates:)

buhrmi
2016-06-28 09:18
just note that this is using the bluemix authorization/membersrvc thingy which the shared ledger probalbly not gonna use

navin
2016-06-28 09:19
Okay buhrmi..Thank you very much ..Ill go through

ashnur
2016-06-28 09:20
yeah, but you can just use the devenv too, right?

buhrmi
2016-06-28 09:21
yeah

ashnur
2016-06-28 09:21
i just wish i knew what `peer node status` actually does :smile:

ashnur
2016-06-28 09:22
that is where i am stuck with my devenv right now

buhrmi
2016-06-28 09:28
i'm pretty sure it does..... something

buhrmi
2016-06-28 09:28
lol

ashnur
2016-06-28 09:30
:disappointed:

venkat
2016-06-28 09:40
how do we monitor the fabric network? Say, how many peers are still active etc.

venkat
2016-06-28 09:43
The REST API doesn't seem to be enough for monitoring

venkat
2016-06-28 09:43
only blockchain height is available through REST


karthik
2016-06-28 09:48
@venkat: Please refer to this REST endpoint

venkat
2016-06-28 10:01
ha - how did I miss this :open_mouth:

venkat
2016-06-28 10:01
Thanks @karthik

venkat
2016-06-28 10:01
So, that makes two metrics - block height and peers

venkat
2016-06-28 10:04
@karthik - does that Endpoint (network/peers) return all peers or just the ones known to the peer we are talking to?

karthik
2016-06-28 10:05
If you are a peer and connected to a network, this endpoint will list all the participating peers in that network.

venkat
2016-06-28 10:05
The docs say -

venkat
2016-06-28 10:05
The /network/peers endpoint returns a list of all existing network connections for the target peer node

venkat
2016-06-28 10:09
So, it could be just the ones known to the peer that is processing the REST request

simon
2016-06-28 10:09
the peers form a full mesh

venkat
2016-06-28 10:10
oh - does every peer connect to every other?

simon
2016-06-28 10:11
that's what i said

venkat
2016-06-28 10:12
Why would a peer maintain a connection to every other peer in a possibly large network? Is there some functionality which requires that?

simon
2016-06-28 10:13
the network is fixed size, and with the current algorithm, not very large

simon
2016-06-28 10:15
for a large network, you will have to develop a different consensus algorithm

venkat
2016-06-28 10:16
I thought blockchain design benefits more from larger network than a small fixed sized one.

venkat
2016-06-28 10:16
Still the question of why should a peer connect to every other peer is not answered

simon
2016-06-28 10:16
because that's how PBFT works

venkat
2016-06-28 10:17
Ah ...

venkat
2016-06-28 10:18
But it could pose limitation on the size of network, then

simon
2016-06-28 10:18
it will, yes

venkat
2016-06-28 10:19
what is th max size?

simon
2016-06-28 10:19
for every block, every node needs to send and receive 2N messages

simon
2016-06-28 10:19
we don't know what a realistic upper bound is

simon
2016-06-28 10:20
it depends on your interconnect

simon
2016-06-28 10:20
and the size of your batches

simon
2016-06-28 10:20
i.e. the frequency

karthik
2016-06-28 10:21
@simon: is it for every transaction every node send and receive 2N messages or is it for every block?

simon
2016-06-28 10:21
i said block

venkat
2016-06-28 10:22
So it is 2*N*N messages per block?

venkat
2016-06-28 10:23
for all nodes

simon
2016-06-28 10:24
yes

venkat
2016-06-28 10:24
2 = one receive and one send, i guess

simon
2016-06-28 10:24
no, the protocol is two rounds

venkat
2016-06-28 10:24
or confirm, may be

simon
2016-06-28 10:24
you receive 2 and send 2

venkat
2016-06-28 10:24
Got it

simon
2016-06-28 10:24
i guess currently it is receive 3 and send 2

venkat
2016-06-28 10:25
oh

venkat
2016-06-28 10:30
So it is 2 rounds, and in each round we have 2+3 = 5 messages (10 msgs total). Did I bloat up the numbers ?:slightly_smiling_face:

venkat
2016-06-28 10:31
Guess - I need t read more on PBFT

simon
2016-06-28 10:33
yes you did

venkat
2016-06-28 10:37
Let me try again. for every block, every node sends 2N messages and receives 3N messages. Is that about right?

simon
2016-06-28 10:40
yes

simon
2016-06-28 10:40
well, one node needs to send another N messages

buhrmi
2016-06-28 10:40
math is hard

simon
2016-06-28 10:40
or it doesn't add up

simon
2016-06-28 10:41
but really, N is the important part

simon
2016-06-28 10:41
not the small integer multiplier

buhrmi
2016-06-28 10:42
is there any consensus algorithm that has been developed for a dynamic network of large number of Nodes

buhrmi
2016-06-28 10:43
the ones i've found assume a fixed sized network where every node is known to all other nodes

simon
2016-06-28 10:46
well there is stellar and ripple

buhrmi
2016-06-28 10:48
right ... maybe port that one to hyperledger

simon
2016-06-28 10:49
go ahead

buhrmi
2016-06-28 10:49
but ...

simon
2016-06-28 10:49
but?

buhrmi
2016-06-28 10:50
afaik they also depend on a set of nodes defined in the config file for consensus

simon
2016-06-28 10:51
so?

buhrmi
2016-06-28 10:51
i don't know lol

buhrmi
2016-06-28 10:51
game of thrones season final was awesome

navin
2016-06-28 11:31
@buhrmi: Sad part is we should be waiting till next year:joy:

navin
2016-06-28 11:32
since how long you are working on this hyperledger?

buhrmi
2016-06-28 11:44
i'm not working on it at all

ashnur
2016-06-28 11:50
what are you doing with it then? :smile:

buhrmi
2016-06-28 11:52
i'm trying to identify the missing parts that need to be created/fixed so we can set up a shared ledger

buhrmi
2016-06-28 11:52
without central authority

buhrmi
2016-06-28 11:52
or certificate authority

simon
2016-06-28 11:53
i think you need to think about some fundamental properties and guarantees then

buhrmi
2016-06-28 11:53
yeah...

simon
2016-06-28 11:53
did you read satoshi's paper?

buhrmi
2016-06-28 11:54
no

simon
2016-06-28 11:54
ok

buhrmi
2016-06-28 11:54
doing it now

buhrmi
2016-06-28 12:16
mkay done

simon
2016-06-28 12:17
did you understand it?

buhrmi
2016-06-28 12:17
yeah well its just the bitcoin blockchain explained

buhrmi
2016-06-28 12:18
im thinking that instead of using proof-of-work to decide which transactions go into a block, maybe we can implement Raft

buhrmi
2016-06-28 12:19
but i don't know if thats efficient for a large number of nodes

buhrmi
2016-06-28 12:20
or stellar consensus protocol

buhrmi
2016-06-28 12:21
might be the way to go after all

simon
2016-06-28 12:21
did you understand incentivation?

buhrmi
2016-06-28 12:23
yeah

jamie.steiner
2016-06-28 12:23

buhrmi
2016-06-28 12:26
@jamie.steiner: woah brainfreeze

simon
2016-06-28 12:28
my point is that unless you understand incentivation and possibly game theory, whatever you build most likely will quickly be exploited for things you don't want

buhrmi
2016-06-28 12:31
i understand

simon
2016-06-28 12:32
so if you want an open ledger, you need to work on incentivation

buhrmi
2016-06-28 12:32
unless exploitation is part of the game

simon
2016-06-28 12:33
what do you mean by that?

buhrmi
2016-06-28 12:34
i mean that it might be fun building a system and then watch people exploiting it

buhrmi
2016-06-28 12:34
and then punch them in the face

simon
2016-06-28 12:34
i can't take you seriously

buhrmi
2016-06-28 12:35
that's okay lol

buhrmi
2016-06-28 12:38
i might be high

buhrmi
2016-06-28 12:39
@jamie.steiner: i think i'll actually try to implement that algorithm

jamie.steiner
2016-06-28 12:45
was thinking the same

buhrmi
2016-06-28 13:01
im not good with Golang, tho

ibmdannywong
2016-06-28 13:14
@simon: following the discussion between you and @venkat about the no. of message to send, i would like to clarify... I saw this statement, For every block, every node sends 2N messages and receives 3N messages. Then I saw this afterward well, one node needs to send another N messages So, in total, it is 3N messages sent and 3N messages received?

ibmdannywong
2016-06-28 13:15
where N = No. of Validating Nodes

simon
2016-06-28 13:15
no, i was wrong

simon
2016-06-28 13:15
so what happens is that first a request is broadcast (receive_count=1)

simon
2016-06-28 13:16
the primary then broadcasts a pre-prepare (receive_count=2)

simon
2016-06-28 13:16
then all replicas other than the primary broadcast a prepare (receive_count=2+N-1-1=N)

simon
2016-06-28 13:16
then all replicas broadcast a commit (receive_count=2N-1)

simon
2016-06-28 13:17
likewise, all replicas send 2N-2 messages, except for the originator, which sends 3N-3 messages

ibmdannywong
2016-06-28 13:20
Yes, right.

ibmdannywong
2016-06-28 13:20
Take me some minutes to think over your illustrations..

simon
2016-06-28 13:20
with batch it is a bit different, but close enough

ibmdannywong
2016-06-28 13:23
primary = originator?

ibmdannywong
2016-06-28 13:24
sorry for being a n00b...

simon
2016-06-28 13:27
no

simon
2016-06-28 13:27
primary is primary

ashnur
2016-06-28 13:29
this is PBFT?

simon
2016-06-28 13:29
yes

ashnur
2016-06-28 13:30
i see myself in the future having these questions :smile:

ibmdannywong
2016-06-28 13:30
@ashnur

ibmdannywong
2016-06-28 13:30
yes

ibmdannywong
2016-06-28 13:30
lol

ibmdannywong
2016-06-28 13:30
Thanks Simon

ibmdannywong
2016-06-28 13:31
it clarifies a lot!

buhrmi
2016-06-28 13:35
is primary something like the leader?

simon
2016-06-28 13:36
what leader


ashnur
2016-06-28 13:37
@simon: like Paxos has a leader, I am guessing

simon
2016-06-28 13:38
sure

ibmdannywong
2016-06-28 13:38
https://github.com/hyperledger/fabric/blob/master/docs/protocol-spec.md#fabric The Sieve protocol uses core PBFT to agree on whether to accept or discard a request. Execution of requests to Sieve is coordinated by a leader, which maps to the current PBFT primary (leveraging innerCPI.viewchange notification from core PBFT) . Upon a new request, the leader will instruct all replicas to tentatively execute the request.

jamie.steiner
2016-06-28 13:52
Is the output/result of request execution subject to consensus prior to final commitment into the blockchain/ledger/database?

simon
2016-06-28 13:53
no

simon
2016-06-28 13:53
not at the moment

middleton
2016-06-28 13:53
I believe PBFT is order N^2 messages.

simon
2016-06-28 13:54
middleton: yes, if every node sends order N messages, overall it is order N^2

jamie.steiner
2016-06-28 13:54
do you believe consensus on results is required?

simon
2016-06-28 13:55
yes

simon
2016-06-28 13:55
especially with languages like go

simon
2016-06-28 13:56
for the chaincode, i mean

jamie.steiner
2016-06-28 13:57
it seems like it would be required to me also, though I'm not sure I understand why it would have much to do with the choice of languages.

simon
2016-06-28 13:58
well if you have a deterministic language, then the result is the same everywhere

jamie.steiner
2016-06-28 13:59
sure, but a byzantine node could execute some other code. The result, or at least the final state of the ledger should be agreed upon in a BFT manner before final committment.

simon
2016-06-28 14:00
pbft can tolerate a byzantine node

simon
2016-06-28 14:00
so it doesn't matter

middleton
2016-06-28 14:01
PBFT can handle a byzantine node in a "practical" way. :wink:

jamie.steiner
2016-06-28 14:03
perhaps I am missing something. I thought I understood the process thusly: 1) chaincode is invoked 2) the invocation is subject to consensus, if it is agreed, 3) the nodes execute the code that was called, producing some results which get committed my point was that it seems necessary to have a 4th step - the results (or at least the final state of the ledger, resulting from all transactions) are subject to consensus, before commitment

jamie.steiner
2016-06-28 14:06
although, I suppose, if a byzantine node executes some other code, and ends up with a different new ledger state as a result, this will prevent it from being part of the next round of consensus. or at least it does not provide a way to impose it's incorrect state on other nodes

cloud.strife
2016-06-28 14:07
hey all

cloud.strife
2016-06-28 14:08
Is there a list of all ENV variables we can use to manipulate core.yaml options?

yacovm
2016-06-28 14:08
maybe grep "viper.Get" or something like that

cloud.strife
2016-06-28 14:08
also I was unable to get force chaincode containers onto overlay network despite explicitly configuring it in core.yaml

yacovm
2016-06-28 14:08
don't remember the exact method

yacovm
2016-06-28 14:09
otherwise it's the fully qualified config name in uppercase

cloud.strife
2016-06-28 14:11
I set `NetworkMode: hlnet` in core.yaml. but the hyperledger ignores this and creates the conatiners in the default host network mode

cloud.strife
2016-06-28 14:11
hlnet is the name of the overlay network I created

cloud.strife
2016-06-28 14:12
@yacovm: would this var make sense? CORE_VM_DOCKER_HOSTCONFIG_NETWORKMODE

satya
2016-06-28 14:13
has joined #general

cloud.strife
2016-06-28 14:13
any help with this would be greatly appreciated

yacovm
2016-06-28 14:14
yep

yacovm
2016-06-28 14:15
for each indentation, it's a _

ibmdannywong
2016-06-28 14:19
@cloud.strife: this var --> worth to try...

cloud.strife
2016-06-28 14:22
ibm-paulsquires: I tried this var already. I have docker on debug and I see the following: level=debug msg="form data: {\"LogConfig\":{},\"NetworkMode\":\"host\",\"RestartPolicy\":{}}"

cloud.strife
2016-06-28 14:23
so the validating peer is essentially ignoring this option. Can anyone confirm that it actually works?

cloud.strife
2016-06-28 14:23
I am using master code as of yesterday

peterinwestend
2016-06-28 14:33
@peterinwestend set the channel topic: My fervent hope is that everyone is in a good mood today:) I need to speak to anyone at IBM ... ahem ...Can't find the right person to upgrade to enterprise block chain 4 node. Poor humble client who has a meeting in a week

ashnur
2016-06-28 14:43
:smile:

buhrmi
2016-06-28 15:01
looks like Hashgraph gonna be the next big thing after blockchain?

simon
2016-06-28 15:02
it's something else?

buhrmi
2016-06-28 15:03
hmm yeah. but probably not the next big thing, but rather something that goes hand-in-hand with it

buhrmi
2016-06-28 15:03
hashgraph consensus

kostas
2016-06-28 15:12
Still going through their paper (so far no flags have been raised in my head, but I'm not even halfway through) http://www.swirlds.com/wp-content/uploads/2016/06/SWIRLDS-TR-2016-01.pdf

buhrmi
2016-06-28 15:13
they already registered http://hashgraph.com and http://hashgraph.org

buhrmi
2016-06-28 15:13
they're doing it :slightly_smiling_face:

buhrmi
2016-06-28 15:16
yeah the paper is awesome. hypetrain choo choo

kelly
2016-06-28 15:36
@buhrmi - the consensus mechanism for # allows for large validator populations

kelly
2016-06-28 15:37
it also allows for dynamic membership

kelly
2016-06-28 15:37
it is very similar to nakamoto/dmms consensus, but it requires a intel processor with SGX instead of a mining chip

kelly
2016-06-28 15:38

buhrmi
2016-06-28 15:38
i already went through it the day it was announced

kelly
2016-06-28 15:40
let us know if you have any questions - may offer what you are looking for

ibmdannywong
2016-06-28 15:42
@kelly

ibmdannywong
2016-06-28 15:42
nice

buhrmi
2016-06-28 15:44
yeah idk... many hard problems become trivial if you assume a trusted execution environment

kelly
2016-06-28 15:51
@buhrmi: we also have an implementation of the ripple/stellar algorithim


kelly
2016-06-28 15:52
it's undergoing some changes now - so not sure its 100% functional as we have been focusing on POET

kelly
2016-06-28 15:53
but may be a good place to get started if you are looking for large populations and dynamic membershi

kelly
2016-06-28 15:53
p

ibmdannywong
2016-06-28 15:53
large population = large groups of validating nodes?

kelly
2016-06-28 15:53
yes

ibmdannywong
2016-06-28 15:54
by "large", can help to illustrate a bit? 100+? 500+?

ibmdannywong
2016-06-28 15:54
just curious

buhrmi
2016-06-28 15:54
can't get off the hashgraph hypetrain

buhrmi
2016-06-28 15:54
it's the partytrain

kelly
2016-06-28 15:54
I haven't experimented with the quorum consensus, PoET has done 1000+

kelly
2016-06-28 15:55
but I'll ask someone on the team

ibmdannywong
2016-06-28 15:55
@buhrmi: Good sharing on the hashgraph, will take a deep look tmw... too many words for 0:00

ibmdannywong
2016-06-28 15:55
@kelly: just to have a gut feeling

ibmdannywong
2016-06-28 15:58
goodnight guys... keep reading from 1500 till 0000, brain exploded

ry
2016-06-28 15:58
@ry set the channel topic: Discuss the Hyperledger Project

lei
2016-06-28 16:27
has joined #general

lei
2016-06-28 16:30
Hi, every one, good to join you here

lei
2016-06-28 16:31
I just had a fantastic meet up in Beijing for Brian representing hyperledger

ry
2016-06-28 16:34
welcome aboard

lei
2016-06-28 16:39
actually I participate a non profit project on tracking supply chain on community forest timber(small title concession timber) in Congo basin countries, Cameroon, Congo republic, Gabon support by IIED, I would like some part of this project realized by blockchain and hope someone in this community will be interested in this project

lei
2016-06-28 16:40
thanks @ry

lei
2016-06-28 16:42
this project is for 3 years 2016-2018, hope get some technical advices from you

lei
2016-06-28 16:48
@brianbehlendorf Bravo for the sharing in Bejing::clap:

jamie.steiner
2016-06-28 17:12
@kelly: @buhrmi - trusted execution environment is great when you want to be sure your machine is working as you want. It's not so good when you want to prove to a third party that your machine is working as they expect.

kelly
2016-06-28 17:14
@jamie.steiner: if you trust the hardware, things like intel SGX allow for remote attestation

kelly
2016-06-28 17:15
the TEE can generate a certificate that details which computation it ran, and the output

kelly
2016-06-28 17:16
it is signed by the TEE with a hardware based key that _theoretically_ can't be extracted

jamie.steiner
2016-06-28 17:28
if you believe the hardware implementation is secure, you still have a PKI web of trust model for key security. I guess that's the theoretical part

kostas
2016-06-28 17:31
@kelly: do you have, or do you plan to post a document describing how you "adapted" the Stellar/Ripple protocol for your Quorum Voting consensus implementation?

tribbloid
2016-06-28 17:48
Can I ask a simple question? How to get the chaincode name from chaincode URL without deployment?

mickhalsband
2016-06-28 17:49
has joined #general

jsaulman-hyperledger
2016-06-28 18:00
has joined #general

bzndirtrider
2016-06-28 18:08
has joined #general

patriciaassis
2016-06-28 18:40
has joined #general

define
2016-06-28 20:14
has joined #general

define
2016-06-28 20:17
@kostas: I believe documenting the Quorum Voting Consensus mechanism is on our short-list

kostas
2016-06-28 20:20
@define: Sweet, I am looking forward to it. I have attempted to decode the Stellar protocol a couple of times, but it always gets a bit over my head. I have feeling there's a lot of hand-waving going on in the protocol, but maybe I'm wrong. Please post here when it's ready so that I can have a look. Thanks!

ghaskins
2016-06-28 20:54
@kostas: I agree with you on that

ghaskins
2016-06-28 20:54
I think the Ripple model is generally more applicable

bdecamp
2016-06-28 21:25
has joined #general

define
2016-06-28 21:27
@kostas: i think the difficulty with stellar is that your network has to have the property of quorum intersection despite all your ill behaved nodes ... not sure how you practically guarantee that (without devolving into something not far removed from PBFT). If you want to dig a bit deeper into the stellar white paper, i found this to be a useful overview: https://www.youtube.com/watch?v=vmwnhZmEZjc

kostas
2016-06-28 21:30
> not sure how you practically ensure that

kostas
2016-06-28 21:30
@define: (Thanks for the link first of all.) To me, that's the million-dollar question. And it seems to me that the authors are basically going ¯\_(ツ)_/¯ over this issue

kostas
2016-06-28 21:31
I remember reading an HN thread about it and this comment struck a chord with me: https://news.ycombinator.com/item?id=9342348

define
2016-06-28 21:32
right

kostas
2016-06-28 21:33
This is why I'm waiting for Sawtooth Lake's document describing their thinking behind applying the Stellar protocol. I'm really curious to see how they dealt with such issues. (Copying @cca who _may_ be interested in this.)

define
2016-06-28 21:34
awesome!

kostas
2016-06-28 21:36
@define: are you involved in the quorum voting effort?

define
2016-06-28 21:37
yes

kelly
2016-06-28 21:43
@cmickeyb: has also worked on stellar implementation, I think he is out on vacation now though

shadedjon
2016-06-28 21:49
has joined #general

shadedjon
2016-06-28 21:49
Hello

kelly
2016-06-28 21:50
hello

shadedjon
2016-06-28 21:51
How much traction has hyperledger gotten?

kelly
2016-06-28 21:56
as measured by?

shadedjon
2016-06-28 21:57
is it understood how it's going to work?

shadedjon
2016-06-28 21:58
I guess I just don't understand the point of it?

shadedjon
2016-06-28 22:00
is it different in scope and focus from https://interledger.org/

bjmccart
2016-06-28 22:00
has joined #general

kwlee
2016-06-29 02:09
has joined #general

mario
2016-06-29 02:17
has joined #general

buhrmi
2016-06-29 02:58
i hope it can become "the great ledger" where everybody can submit transactions to without a central authority or root certificate

buhrmi
2016-06-29 02:58
but before that happens, there needs to be a better consensus implementation and the chaincodes should be run in some kind of VM so that they can't take down an entire host system lol

danayelx
2016-06-29 03:00
do you guys have a source to that story?

danayelx
2016-06-29 03:00
i would like to see how it happened

danayelx
2016-06-29 03:00
and replicate the scenario

buhrmi
2016-06-29 03:09
no i just made this up

ibmdannywong
2016-06-29 03:20
From my understanding, the chaincode is executed in a secured container in bluemix, it provides certain level of isolation

buhrmi
2016-06-29 03:21
anyone here who has worked on chaincode isolation and can shed some light on it? what works, what doesnt... with golang

buhrmi
2016-06-29 03:22
obviously we can't all pay for bluemix if we wanna run a node (even though IBM would probably like that)

danayelx
2016-06-29 03:24
you can just spin off your own network

danayelx
2016-06-29 03:24
download the code and test it

danayelx
2016-06-29 03:24
everything is executed within containers

danayelx
2016-06-29 03:24
isolated

bgorman
2016-06-29 03:27
@buhrmi I'm having a play around with hyperledger now and it looks like each chaincode gets run in its own Docker container

bgorman
2016-06-29 03:28
each of my (4) peers seem to have a chaincode app container, as well as their own container... for a total of 8 containers

jcarrivick
2016-06-29 03:28
has joined #general

bgorman
2016-06-29 03:29
Greeting @jcarrivick

buhrmi
2016-06-29 03:32
@bgorman: thats cool

danayelx
2016-06-29 04:00
where did you get that info? from syslog?

nkunkel
2016-06-29 04:29
You can check the peer logs and see them spin up the containers.

nkunkel
2016-06-29 04:29
They're usually tagged with [Docker somethingsomething]

oustar
2016-06-29 05:10
has joined #general

bgorman
2016-06-29 05:13
I'm just running `docker ps -a` and looking at what's there

buhrmi
2016-06-29 05:20
does a new container get created when u deploy another contract?

ashishkel
2016-06-29 05:25
@buhrmi: u meant the docker container rite?

buhrmi
2016-06-29 05:25
yeah

ashishkel
2016-06-29 05:26
that is my understanding also

bgorman
2016-06-29 05:27
yes, the docker container labels are of the format <networkID>-<nodeID>-<chaincodeID>

ashishkel
2016-06-29 05:27
@bgorman: if i understood correctly, u have setup 4 peers, and then in each peer u hav deployed one chain code each ?

bgorman
2016-06-29 05:27
so each contract gets its own chaincode ID and it's own container on each network/node

bgorman
2016-06-29 05:28
@ashishkel: I have four peers and I deployed two chaincodes, which were distributed amongst the peers

ashishkel
2016-06-29 05:29
so the other two peer also picked up the same chain code? and created a docker container to execute the same..?

bgorman
2016-06-29 05:29
so 2x4 containers for chain codes, 1x4 containers for the peer hosts and a few other containers for things like fabric-baseimage

bgorman
2016-06-29 05:29
@ashishkel: yes

jamie.steiner
2016-06-29 05:30
wait, so each chaincode *is* deployed in it's own container?

bgorman
2016-06-29 05:30
I could have the peers on other machines, but I'm doing this all in the one vagrant VM

ashishkel
2016-06-29 05:30
@bgorman , same here.. I m also doing in one single vagrant vm

ashishkel
2016-06-29 05:32
@jamie.steiner , thats what I have seen..

bgorman
2016-06-29 05:34
It looks like each chaincode runs in its own VM and is interacted with by its owning peer only through REST calls

ashishkel
2016-06-29 05:35
are u sure about the REST calls?

ashishkel
2016-06-29 05:36
u mean the chaincode <-> peer interaction is thru REST. ? are u sure about this?

bgorman
2016-06-29 05:36
pretty sure

ashishkel
2016-06-29 05:36
cos I read something like the gRPC .. which was a bit different..

ashishkel
2016-06-29 05:36
some messaging protocol used by google on its microservices.. which was more like faster in communicating..

bgorman
2016-06-29 05:37
I think gRPC is between peers

buhrmi
2016-06-29 05:37
so what if there are millions of chaincodes

buhrmi
2016-06-29 05:37
each peer has millions of docker containers?

jamie.steiner
2016-06-29 05:37
exactly

bgorman
2016-06-29 05:38

bgorman
2016-06-29 05:39

jamie.steiner
2016-06-29 05:42
maybe JSON is client <-> peer and gRPC is peer <-> chaincode?

bgorman
2016-06-29 05:45
could be :slightly_smiling_face:

ashishkel
2016-06-29 05:47
the way i understood is, for a peer to interact with a chaincode, they hv developed a SHIM layer.. which has a set of APIs in go language, nd uses this protocol buffer based Message structure ( proto3 is the standard name)

ashishkel
2016-06-29 05:48
and for any of us, i mean the client apps, to interact with the chaincode, there is this REST interface and CLI interface

ashishkel
2016-06-29 05:49
nd @bgorman , that openblockchain link you have given,

ashishkel
2016-06-29 05:49
that is uptodate?

bgorman
2016-06-29 05:49
I don't know sorry. I'm still trying to get this all straight in my own head :slightly_smiling_face:

ashishkel
2016-06-29 05:50
cos i also heard that those folks merged and formed the hyperledger repo.

ashishkel
2016-06-29 05:50
nd they maintain the latest in this .. https://github.com/hyperledger/fabric/

ashishkel
2016-06-29 05:50

bgorman
2016-06-29 05:50
that seems true Notice: This repository has been moved to the Linux Foundation's Hyperledger project.

bgorman
2016-06-29 05:51
cheers, I'll read that one instead

ashishkel
2016-06-29 05:51
nd this current one is buzzing with activity..

ashishkel
2016-06-29 05:51
yea :slightly_smiling_face:

fjk
2016-06-29 06:35
Actually wanted to know about the security features of HL which makes it stand out compared to may be ethereum? What would be that trump card other than the obvious that HL is a permissioned ledger taking in mind a a huge inflow of transactional data as an inflow to the ledger?

lyriarte
2016-06-29 09:36
has joined #general

rascal
2016-06-29 09:37
has joined #general

g_alexander
2016-06-29 10:46
has joined #general

dudagv
2016-06-29 12:20
has joined #general

pierreneo
2016-06-29 13:05
has joined #general

skwatra
2016-06-29 15:10
has joined #general

iko
2016-06-29 16:49
has joined #general

oluwalata
2016-06-29 18:03
has joined #general

nhsmith
2016-06-29 20:12
has joined #general

andrew_tharp
2016-06-29 20:48
has joined #general

yanglei
2016-06-29 21:04
has joined #general

chiahong
2016-06-29 21:12
has joined #general

taim
2016-06-29 22:20
has joined #general

atulkc
2016-06-29 22:33
has joined #general

atulkc
2016-06-29 22:36
We have just started playing around with hyperledger and have some basic question on deploying chaincode on fabric: If we have to deploy our own chaincode, does it need to be in public github repo? We looked at stack overflow (http://stackoverflow.com/questions/37433618/how-to-use-a-chaincode-thats-not-on-github) and that answer seem to cover dev scenarios but we are interested in knowing if chaincode can be deployed without having to rebuild the validating peers and/or host the chaincode in public github repo?

danayelx
2016-06-29 22:41
you can push any chaincoide you have

danayelx
2016-06-29 22:41
just need to pass absolute path

danayelx
2016-06-29 22:41
are you running your own instance of hyperledger?

danayelx
2016-06-29 22:41

danayelx
2016-06-29 22:42
if you follow the tutorial you will realize that http://github.com/hyperledger/fabric/peer/yourfolderwiththecc is a a path on your local machine

danayelx
2016-06-29 22:42
not a path in github

atulkc
2016-06-29 22:47
our validating peer is not running on the same machine where the new chaincode is...would it still be able to pick up the chaincode from the client machine where the chaincode is located (machine that is issuing deploy command)

leochu
2016-06-29 22:47
has joined #general

nkunkel
2016-06-30 00:02
Yes, I believe so.

bgorman
2016-06-30 01:00
@atulkc: after the "deploy" command the chaincode actually gets embedded into the blockchain and distributed amongst the peers

danayelx
2016-06-30 01:53
@atulkc: To clarify, per hyperledger’s github page: The IBM Bluemix IBM Blockchain service currently requires that chaincode to be in a GitHub repository. Therefore, if you don't already have a GitHub account, you should get one.

danayelx
2016-06-30 01:54
that means that if you are using bluemix then def need to host your code within github

danayelx
2016-06-30 01:54

alexho
2016-06-30 02:01
has joined #general

jcarrivick
2016-06-30 02:09
Thanks @danayelx that's a really helpful page

danayelx
2016-06-30 02:13
@jcarrivick: yw


danayelx
2016-06-30 02:49
well, that is the whole point of promoting certain tech, the more people adopt it, the more itll be worth it

danayelx
2016-06-30 02:49
hence early bitcoin adopters benefited the most from it taking off

danayelx
2016-06-30 02:50
sometimes it feels like a pyramid scheme

danayelx
2016-06-30 02:50
haha

atulkc
2016-06-30 02:50
Thanks @danayelx I was trying to host my chain code in a private repo on github but that did not work but public github repo works.

danayelx
2016-06-30 02:50
@atulkc: np, it gets confusing sometimes

atulkc
2016-06-30 02:51
Yes...was hoping that like ethereum I could just upload my smart contracts aka chain code to block chain instead of hosting it in public repo

runoverspace
2016-06-30 04:07
has joined #general

joeb
2016-06-30 06:50
has joined #general

bgorman
2016-06-30 07:30
@atulkc: are you using BlueMix?


thetradinghall
2016-06-30 08:00
has joined #general


cbf
2016-06-30 12:13
@atulkc: bluemix currently requires this, but that is temporary. Fabric can support other means of uploading chaincode that don't require a public github repo

lbonniot
2016-06-30 12:47
has joined #general

bsparks3pr
2016-06-30 14:44
@cbf, did you receive my email regarding use case vs. function matrix in exit criteria? If so, thoughts?

mikej
2016-06-30 14:56
I'm not sure where to ask this: How sandboxed is the chaincode runtime? Does the runtime _enforce_ that query chaincode functions cannot actually write anything?

kostas
2016-06-30 14:57
@mikej: #

mikej
2016-06-30 14:59
THanks.

wkulhanek
2016-06-30 15:27
has joined #general

jonathanlevi
2016-06-30 15:50
Good morning, David Kravitz's slides on *Hyperledger Fabric - Membership Services* from the Identity WG session are available in #. You are welcome to join. Questions/comments/suggestions/discussions/... welcome!

cbf
2016-06-30 15:58
@bsparks3pr: likely but technically on pto this week; will look on my return

venkat
2016-06-30 16:18
hello folks

venkat
2016-06-30 16:19
Is hyper ledger fabric production ready?

venkat
2016-06-30 16:19
I mean - can I take the current code and start building serious apps over it?

bsparks3pr
2016-06-30 16:23
@cbf: ok thanks, good weekend!

findthomas
2016-06-30 16:54
has joined #general

paypaltaurean
2016-06-30 16:56
has joined #general

akshay.maniyar
2016-06-30 17:15
has joined #general

justin.white
2016-06-30 18:43
has joined #general

sstone1
2016-06-30 19:16
has joined #general

atulkc
2016-06-30 20:36
@cbf thanks...i am not using bluemix but trying to deploy hyperledger fabric in our cloud infrastructure and deploy code chain

jonathanlevi
2016-06-30 20:58
@venkat: it really depends on the/your definition of serious apps...

jonathanlevi
2016-06-30 20:58
Fabric is still at the `Incubation` stage (see the docs/wiki for definitions)

jonathanlevi
2016-06-30 21:00
There is a dev-preview tag from a few weeks ago, there are issues on various platforms (ongoing development to stabilize the zLinux build, for example) and some of the underlying components are moving relatively rapidly. HOWEVER,

jonathanlevi
2016-06-30 21:06
I believe that you should start developing against/with it, and if it's a serious application that requires loads of testing/trying/scaling, etc... the sooner you start developing, the better. I clearly don't know enough about what you are trying to do, but in general, a PoC/Mockup will give you a much better sense as for its readiness for your specific needs [And will allow you to ask us many more questions! ;-)]. There are a few companies/developers that are doing this these days already... I can tell you this.

atulkc
2016-06-30 21:14
@cbf what are the other means to uploading chaincode to Fabric besides rebuilding the peer binary with the chaincode embedded?

evicent
2016-06-30 21:53
has joined #general

ghaskins
2016-07-01 00:31
@atulkc: to be clear, you do not ever need to rebuild the peer binary to deploy chaincode

atulkc
2016-07-01 00:34
@ghaskins: that was one of the options proposed in stack overflow...however, I am still unclear on how to deploy chaincode that is not on public github repo. Lets say I want to deploy something from private repo. Since deploy codechain uses `go get` I think it is kind of forcing me to have my chaincode in public github repo unless somehow peer gets the creds for private github repo

ghaskins
2016-07-01 00:37
The shortest answer I can offer is to use member.deploy() from the node sdk

ghaskins
2016-07-01 00:38
No peer binary rebuilds, no GitHub necessary

ghaskins
2016-07-01 00:39
I'm not sure what was said on stack overflow but it sounds like misinformation

atulkc
2016-07-01 00:41
thanks @ghaskins it sounds like I need to use node sdk rather than `peer` cli or REST api...i was told about node sdk on #memerbship-services channel as well

ghaskins
2016-07-01 00:42
People (including myself) have been confused about peers, clients, and the rest api. But at no time was it ever necessary to rebuild the peer and the SDK exposes a more obvious path forward (even though both offer the same basic mechanism under the hood)

atulkc
2016-07-01 00:43
i think the stack overflow answer was mentioning it in context of dev setup...where you put the chaincode under `fabric/examples/go/chaincode/` and then rebuild the peer image...

atulkc
2016-07-01 00:44
but that might be just that...dev env only...

atulkc
2016-07-01 00:45
when I tried deploying from private github repo with `peer` cli then deployment failed because `go get` couldn't get the files...once I used public repo it worked....

ghaskins
2016-07-01 00:50
yeah, the confusing thing is that the REST api is only meant to be used as an extension of your client to an NVP

ghaskins
2016-07-01 00:50
if you think of it as an entry point to the network, the way it behaves doesnt make sense

ghaskins
2016-07-01 00:50
to that point, it only makes sense if you have a client+NVP running on the same machine

ghaskins
2016-07-01 00:51
in which case, the deployment that references a local file is logical

ghaskins
2016-07-01 00:51
The SDK collapses the NVP function into your nodejs process, which is more natural

ghaskins
2016-07-01 00:52
but regardless, even with the client+rest+nvp model, you still do not need to rebuild the peer binary

atulkc
2016-07-01 00:55
oh ok, got your point about rebuilding peer binary. i will explore the node sdk further.

jonathanlevi
2016-07-01 01:24
@atulkc: the simplest is probably to use the (public) github for now... btw, I like to view the node/sdk as one 'reference implementation' (potentially, one of many). It might be easier to start at a higher level (without building).

jonathanlevi
2016-07-01 01:25
Happy to look at a use-case or an (updated) example code, btw.


quixoticblink
2016-07-01 01:30
has joined #general

dinghaiyang
2016-07-01 04:57
has joined #general

dinghaiyang
2016-07-01 04:59
Hi, everyone, we had a online meeting about the fabric membership service design at noon east time. Could anyone tell me where is the summary of the meeting please?

dinghaiyang
2016-07-01 05:00
the meeting was held on Wendesday

jonathanlevi
2016-07-01 05:06
@dinghaiyang: Check out #

jonathanlevi
2016-07-01 05:07
I uploaded the WG's slides there. No summary, mainly discussions around what we can already do, where we want to be etc...

dinghaiyang
2016-07-01 05:08
@jonathanlevi: Thanks!

jonathanlevi
2016-07-01 05:08
(Is this what you were looking for?)

yyamashita
2016-07-01 05:12
has joined #general

dinghaiyang
2016-07-01 05:12
@jonathanlevi: yes , it is! Thanks. I was with Christopher Allen during the meeting. Could you tell me where to find the meeting information? I'd like to join regularly

dinghaiyang
2016-07-01 05:13
I forget to ask Christopher, sorry

jonathanlevi
2016-07-01 05:32
@dinghaiyang Yes, of course. There was one part of the Identity WG session. There are regular Identity WG sessions regularly, not necessarily about Membership Services (see the # channel for the regular sessions/schedule/etc. ). In a few weeks we should have another session by David - I will also post details in the # channel about the next Identity WG session about *Membership Services*, closer to the date/when the date is set.

cbluck
2016-07-01 06:03
has joined #general

g_alexander
2016-07-01 08:17
I have some query on Hyperledger Tables and World state (stub.CreateTable(…), stub.PutState(…)) 1) When the table creates, will it create into all other nodes in the network? 2) Is the tables and world state persists in RockDB or any other system file? 3) Will the table or state of the table add to block when any state changes in table columns or only world state will be add to the block? 4) Is the tables part of world state ?

kurokuro
2016-07-01 08:32
has joined #general

garisingh
2016-07-01 10:37
@g_alexander: 1) Tables are actually created by chaincode. Assuming you do the table creation in the "init()" method of chaincode, then when the chaincode is deployed to all the nodes the tables will be created. If you chose to create the tables at first use the same would hold true. Chaincode execution is what "creates" the tables 2) Yes - RocksDB persists world state. Tables are just a layer created on top of the standard K/V structure of RocksDB 3) Blocks contain transactions and transactions are basically the "instructions" which tell the peer which chaincode / function to execute using the parameters passed in the invoke. A "block" is created after the execution of the transaction(s) (number of transactions per block is configurable) and each block contains a hash of the world state after all of its contained transactions have executed 4) I think 3) above answers this as well

htcardone
2016-07-01 11:12
has joined #general

g_alexander
2016-07-01 11:18
that means hash of the world state contains the table values and the old status of the table row can be taken from the old block ?

simon
2016-07-01 11:59
no

g_alexander
2016-07-01 12:03
u mean the old status of the table row CAN NOT be taken from the old block ?

g_alexander
2016-07-01 12:30
Also as per protocol specification 3.2.1.4 Transaction Execution When chaincodes execute, they may modify the world state. The hash of the world state is then recorded in the block. 1) If the table rows status also be part of the world state, then table row should be recorded in the block. a. Why it should not be taken from the block? b. How it will works for Audit Support? 2) Audit Support is there in current version or is it in the feature enhancement?

simon
2016-07-01 12:35
i don't understand your question

simon
2016-07-01 12:35
the block doesn't contain the wold state, but the hash of the world state

akoptelov
2016-07-01 12:47
Hi everybody

akoptelov
2016-07-01 12:48
I have a question from our potential partner, they ask about crypto algorithms that are used in fabric and if it's possible to 'plug-in' other algorithms.

elli
2016-07-01 13:13
Hi, not yet. There is an issue for making cryplo libraries pluggable, but it has not been addressed yet.

soullibre
2016-07-01 13:22
has joined #general

thomas.leplus
2016-07-01 13:34
has joined #general

akoptelov
2016-07-01 14:00
@elli thanks a lot.

sherryxia
2016-07-01 14:25
has joined #general

sunsay00
2016-07-01 21:17
has joined #general

shun
2016-07-01 21:56
has joined #general

gengjh
2016-07-02 01:04
@akoptelov: our customer has the similar requirement as it. We are working on the design and will contribute back to community.

xianghangmi
2016-07-02 02:29
has joined #general

charles
2016-07-02 02:50
has joined #general

junli
2016-07-02 05:38
has joined #general

kakoni
2016-07-02 13:26
has joined #general

louisw
2016-07-03 03:32
has joined #general

anand_fast
2016-07-03 09:27
has joined #general

jp
2016-07-03 11:45
has joined #general

jamesv84
2016-07-03 20:48
has joined #general

buhrmi
2016-07-04 02:45
:chipmunk:

adaml
2016-07-04 03:15
has joined #general

bgorman
2016-07-04 03:55
Does anyone understand why invocations that are invalid get committed to a block? E.g. if I invoke on a non-existent chaincode ID, it shows up in a block

dinesh_rivankar
2016-07-04 04:37
has joined #general

james.buckett
2016-07-04 05:50
Why does the environment variable CORE_PEER_ADDRESSAUTODETECT have to be set to true when starting the peer, or else, chaincode handler could not process any messages

bgorman
2016-07-04 05:52
@james.buckett: have you set the peer's address and listenAddress separately? I think they may be related

bgorman
2016-07-04 05:52
[btw hi, not spoken to you in ages :slightly_smiling_face: ]

james.buckett
2016-07-04 05:53
Yes I have set - name: CORE_PEER_ADDRESS value: "svc-hl-vp1.default.svc.cluster.local:30303" for each VP

james.buckett
2016-07-04 05:53
I am trying to put the fabric into Kubernetes behind services

bgorman
2016-07-04 06:09
@james.buckett: perhaps set CORE_PEER_ADDRESS to an IP address instead of a hostname (e.g. 1.2.3.4:30303)

sachikoy
2016-07-04 11:59
Hi, some documents on GitHub says that a non-validating peer maintains local copy of the ledger. However, by observing the behavior of NVPs, it seems they don’t maintain ledger data. Is it intended, or just a matter of out-dated documents? https://github.com/hyperledger/fabric/blob/03c751fcc72b3a9c89985b1c4c290233a6871995/docs/glossary.md

ashnur
2016-07-04 12:00
what is the relationship between ibm-blockchain-js and the fabric node sdk?

simon
2016-07-04 12:02
sachikoy: i don't think people really use NVP

simon
2016-07-04 12:03
sachikoy: i believe that the idea was to have NVP as "read only" peers, but i don't know of any specific support for that

sachikoy
2016-07-04 12:08
@simon Thank you for your prompt reply. That explains. I think we should update documents because they are misleading.

simon
2016-07-04 12:08
i agree

sachikoy
2016-07-04 12:09
should I submit an issue?

simon
2016-07-04 12:10
yes please

sachikoy
2016-07-04 12:10
@simon, will do.

sachikoy
2016-07-04 12:11
BTW, another question. Are we going to support NVP and REST APIs in the future? It seems many functionalities are available only through SDK. (such as event or ACA)

gar
2016-07-04 12:19
has joined #general

sachikoy
2016-07-04 12:20

pdhayden
2016-07-04 13:27
has joined #general

philippeg2091
2016-07-04 13:54
has joined #general

adam1
2016-07-04 17:48
has joined #general

blas
2016-07-04 19:34
has joined #general

yls
2016-07-05 01:23
has joined #general

ravivariar
2016-07-05 03:25
has joined #general

ashishkel
2016-07-05 05:10
Hi

buhrmi
2016-07-05 05:10
hi ^^

ashishkel
2016-07-05 05:11
all of a sudden, i had a dilemma. If i wanted to write modularized chain code.. more like a structured one.., with multiple ".go" files, then will be allowed to be deployed as a single chain code. ?

ashishkel
2016-07-05 05:12
i meant. multiple user packages.. when i said multiple .go files.

ashishkel
2016-07-05 05:12
it should allow i guess. :slightly_smiling_face:

ashishkel
2016-07-05 05:13
cos Node just bothers about the final binary which i give to deploy.. so it should. :thinking_face:

ashishkel
2016-07-05 05:14
let me write some nd figure out..

g_alexander
2016-07-05 06:48
Hi All,

g_alexander
2016-07-05 06:48
how does hyperledger order different transactions on the same target/chaincode, originating from different nodes ( clients ) ?

shinsa
2016-07-05 07:29
has joined #general

buhrmi
2016-07-05 07:32
herp derp

alexoid
2016-07-05 07:58
has joined #general

somashekar
2016-07-05 09:04
has joined #general

viila
2016-07-05 10:10
has joined #general

shapiroisme
2016-07-05 12:29
has joined #general

shapiroisme
2016-07-05 12:30
hi

wilmotr
2016-07-05 13:41
has joined #general

axc
2016-07-05 13:45
has joined #general

samze
2016-07-05 14:00
has joined #general

asma
2016-07-05 15:08
has joined #general

shichaoyuan
2016-07-05 15:10
has joined #general

hgabor
2016-07-05 15:27
hi

hgabor
2016-07-05 15:27

fmlcoach
2016-07-05 15:41
has joined #general

shilei
2016-07-05 17:03
has joined #general

sanjot
2016-07-05 18:23
has joined #general

jenkins
2016-07-05 20:00
has joined #general

matanyahu
2016-07-05 20:15
has joined #general

ymchee
2016-07-05 20:30
has joined #general

ssahadevan
2016-07-05 21:51
has joined #general

gmgershon
2016-07-05 23:49
has joined #general

perry
2016-07-06 02:42
has joined #general

uccyi
2016-07-06 02:49
has joined #general

buhrmi
2016-07-06 03:08
whats-a-going-on

shazary
2016-07-06 05:30
has joined #general

satr
2016-07-06 06:45
has joined #general

yoshihara
2016-07-06 07:09
has joined #general

axonero
2016-07-06 07:10
has joined #general

sato
2016-07-06 08:27
has joined #general

guomin
2016-07-06 08:38
has joined #general

shensh
2016-07-06 08:49
has joined #general

linzheming
2016-07-06 09:14
has joined #general

shangsong
2016-07-06 09:17
has joined #general

yashgt
2016-07-06 10:37
has joined #general

simonloader
2016-07-06 11:48
not much

amankhandelia
2016-07-06 12:06
has joined #general

ivolkova
2016-07-06 12:06
has joined #general

sven
2016-07-06 13:10
has joined #general

mlishok
2016-07-06 14:27
has joined #general

im
2016-07-06 14:42
has joined #general

louis.horsley
2016-07-06 14:51
has joined #general

elinville
2016-07-06 15:26
has joined #general

arizqi
2016-07-06 15:32
hello, has anyone done a production deployment of hyperledger yet? any learnings/templates that you share would be much appreciated

bennyderickm
2016-07-06 17:03
has joined #general

middleton
2016-07-06 18:05
@arizqi: there have been several POC deployments for both hyperledger projects (Fabric and Sawtooth). The Sawtooth sys admin guide is here: http://intelledger.github.io/sysadmin_guide.html

tim.s
2016-07-06 18:55
After doing a new git clone of the fabric, building the peer image and starting it, I now get the following message every 6 seconds which is irritating in the terminal where the peer is started. - [peer] ensureConnected -> INFO 018 Touch service indicates no dropped connections

tim.s
2016-07-06 18:56
Any ides on how I can stop these?

tim.s
2016-07-06 18:58
I am doing the standard docker build on a fresh directory from fabric.git. The command to start the peer is the standard one out of the devenv instructions - docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_PEER_ID=vp0 -e CORE_PEER_ADDRESSAUTODETECT=true hyperledger/fabric-peer peer node start

simon
2016-07-06 19:10
remove the line of code?

duffhanks
2016-07-06 19:44
has joined #general

frederic
2016-07-06 21:53
has joined #general

tbenzies
2016-07-06 21:55
If you are planning on attending the Hyperledger Project July Hackathon in San Francisco, please be sure to register now at https://www.regonline.com/hyperledgerhackfestjuly2016.

johnrobertfitz
2016-07-07 00:47
has joined #general

minami
2016-07-07 01:31
has joined #general

t-watana
2016-07-07 01:58
has joined #general

minano515
2016-07-07 03:37
has joined #general

leo
2016-07-07 04:06
has joined #general

jcarrivick
2016-07-07 06:21
I've got some code with purely new tests, do I need to attach it to an issue or is it OK just to create a pull request by itself?

buhrmi
2016-07-07 06:22
that's nice, i don't think u need to make an issue

jcarrivick
2016-07-07 06:26
great :slightly_smiling_face:

buhrmi
2016-07-07 07:15
is the openblockchain/fabric web monitor a real thing? or is it still only a ui concept?

bgorman
2016-07-07 07:45
@buhrmi: what do you mean by a "web monitor"?

buhrmi
2016-07-07 07:46

bgorman
2016-07-07 07:47
nice, looks fancy

bgorman
2016-07-07 07:48
I do wonder why latency has a $ though :slightly_smiling_face:

simon
2016-07-07 07:48
lol consensus success rate

bgorman
2016-07-07 07:50
BlueMix's blockchain service has a nice page for its stats, not quite as fancy as that mock-up though



buhrmi
2016-07-07 08:46
i wanna know if somebody is working on that... if not i gonna try to implement something fancy like that

clarity
2016-07-07 09:25
has joined #general

n-sawada
2016-07-07 10:57
has joined #general

sarahmills
2016-07-07 11:15
has joined #general

bairoliyapk
2016-07-07 11:31
has joined #general

sepnupi
2016-07-07 11:55
has joined #general

stevebaek
2016-07-07 12:29
has joined #general

mart0nix
2016-07-07 12:43
hey guys I'm testing the car lease demo and I have a question about running queries based on a license number

mart0nix
2016-07-07 12:43
my understanding is that the data storage is a key-value store so my question is how are different events related to a particular license plate stored so that later one can pull up the entire history by quering for a license plate number

ant2221
2016-07-07 13:49
the V5C ID is the key rather than the license

mart0nix
2016-07-07 14:16
@ant2221: I thought you can have only unique keys

mart0nix
2016-07-07 14:16
can you store different values for the same V5C ID ?

ant2221
2016-07-07 14:45
I believe it is the V5C ID that is passed into the Smart Contract which then retrieves the data relating to that V5C

jhammant
2016-07-07 14:45
has joined #general

diversosggm
2016-07-07 17:04
has joined #general

pascoekaren
2016-07-07 17:14
has joined #general

pards
2016-07-07 18:57
has joined #general

vishakm
2016-07-07 19:00
has joined #general

pards
2016-07-07 19:18
Is there a way to query Hyperledger for the transaction _details_?

pards
2016-07-07 19:18
The payloads are opaque

pards
2016-07-07 19:19
I can see the state, but I'd like to be able to see all the previous values for a particular key

tbenzies
2016-07-08 00:14
Hyperledger European Hackfest in Amsterdam — please indicate your preferred dates: http://doodle.com/poll/y9h2e497essf9pg9

episcini
2016-07-08 00:34
has joined #general

pradeep_p_13
2016-07-08 00:47
has joined #general

bgorman
2016-07-08 01:03
@pards I think it only keeps a hash of the previous states, not the actual values. So to retrieve old values I'm guessing you would have to re-calculate them... either starting from block 0 and working your way forward, or it might be possible to also work your way back from the current state

rajbanwait
2016-07-08 01:21
has joined #general

jcarrivick
2016-07-08 01:22
Does anyone have any idea what's going on the with the Jenkins Z build? It hasn't had a build succeed for 17 days

pards
2016-07-08 02:17
@bgorman: that seems counterintuitive. Blockchain advocates for full auditability.

zuowang
2016-07-08 02:20
@pards: auditors can identify all transactions from Users of a particular grouping or affiliation as long as auditor is authorized to see information about such affiliation.

zuowang
2016-07-08 02:22
I also want to know if we can see all the previous values for a particular key.

zuowang
2016-07-08 02:23
Otherwise we need to keep the version of values for a particular key in chaincode. That's sure not a good idea.

ashishkel
2016-07-08 03:57
@pards, @zuowang You guys might want to take a look at this https://github.com/hyperledger/fabric/wiki/Next-Ledger-Architecture-Proposal#pointintime

daisaku
2016-07-08 04:13
has joined #general

lin
2016-07-08 05:27
has joined #general

bgorman
2016-07-08 05:33
@ashishkel: so point-in-time queries are something to solve in future, unless you want to replay transactions

ashishkel
2016-07-08 05:35
thts what it says.. I was a bit disappointed at first., then yea, network consensus if the primary goal, and that is there already. So being happy with what I have..

naruhito.t
2016-07-08 07:25
has joined #general

lorenzo.p
2016-07-08 08:08
has joined #general

jassengu
2016-07-08 09:21
has joined #general

ashnur
2016-07-08 10:18

caesar
2016-07-08 10:20
has joined #general

zuowang
2016-07-08 10:51
If a Validator join in the middle, will it sync its blockchain, worldstate and chaincode with other Validtors?

soodisha
2016-07-08 11:08
has joined #general

pilot1983
2016-07-08 11:09
has joined #general

pards
2016-07-08 14:25
Re: Replay Transactions. Is that something that can be done from Hyperledger, or is it done through application code?

pards
2016-07-08 14:25
i.e. do I have to journal my JSON messages somewhere and just re-send them?

middleton
2016-07-08 14:39
@pards on Fabric or Sawtooth?

pards
2016-07-08 14:56
Fabric

pards
2016-07-08 14:56
I haven't looked at Sawtooth yet

pards
2016-07-08 14:58
Which one is deployed as the "blockchain service" on bluemix?

ashnur
2016-07-08 15:00
neither

pards
2016-07-08 15:11
From the BlueMix docs > The service is a peer-to-peer permissioned network built on top of the Linux Foundation's Hyperledger fabric code.

pards
2016-07-08 15:11
Not fabric, but probably close

xcapia
2016-07-08 15:45
has joined #general

dtnitsch
2016-07-08 16:37
has joined #general

greg_not_so
2016-07-08 17:35
@pards fabric a lot more familiar on bluemix than anywhere else

pards
2016-07-08 17:38
I'm running it standalone via the devenv Vagrant

krokce
2016-07-08 17:56
has joined #general

nmaka
2016-07-08 18:15
has joined #general

pards
2016-07-08 19:11
Are there docs for on the shim API?

pards
2016-07-08 19:11
The basics are covered a the tutorials, but there's not much around GetTable etc

muralisr
2016-07-08 19:21

pards
2016-07-08 19:21
Yeah ... I found that a few moments ago

pards
2016-07-08 19:27
I'm trying to understand when one would use tables over 'regular' state.

pards
2016-07-08 19:28
Tables look like structured data stored as `stub.PutState(tableNameKey, tableBytes)`

sheehan
2016-07-08 20:23
tables are just a helper with partial key queries. At the end of the day it’s still keys/values. In the next ledger architecture we’re looking to adding more advanced query mechanisms

pards
2016-07-08 20:26
thanks for the clarification, sheehan.

halsell
2016-07-08 22:05
has joined #general

water
2016-07-09 01:16
has joined #general

abcsup
2016-07-09 05:52
has joined #general

bertrand319
2016-07-09 09:11
has joined #general

slack2ravin
2016-07-09 11:20
has joined #general

labmouse7
2016-07-09 14:35
has joined #general

ittaia
2016-07-10 00:53
has joined #general

jiehua
2016-07-10 04:01
has joined #general

kgtmyk
2016-07-10 12:59
has joined #general

yabloki
2016-07-10 13:35
has joined #general

yiseul
2016-07-10 18:19
Hi all! I have two dumb questions, and hope someone knowledgeable can save me from this, which will be really appreciated. 1) can I run multiple peer nodes on local machine via devenv vagrant? (not using docker) — I hit an error (Failed to listen: listen tcp 0.0.0.1:30303: bind: address already in use) 2) if I use docker following this doc(https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devnet-setup.md), then how can I access to its REST API server? I set up 0.0.0.0:5000 in the core.yml file, but this address isn’t responding from webbrowser & postman. My goal is deploy a chaincode in my local machine, run multiple nodes in the network, and communicate via REST API to build a webapp...

abdelkrim
2016-07-10 18:20
@yiseul: great, you have raised my next question to the audience.

yiseul
2016-07-10 18:22
@abdelkrim: hi

abdelkrim
2016-07-10 18:32
@yiseul: I plan to build a http://angular.io front end connected to the peers - exactly as you mentionned

yiseul
2016-07-10 18:41
@abdelkrim: oh let me know if you find a solution for it. I am not familiar with docker, so..quite confusing once it’s interfacing two layers (vm->dockers)...

abdelkrim
2016-07-10 19:04
@yiseul: for sure

pld
2016-07-10 20:49
has joined #general

pbotros
2016-07-10 23:21
has joined #general

bgorman
2016-07-11 01:25
@yiseul: if you follow devnet-setup.md it is going to end up using docker containers for chaincode and peers. To avoid docker, you need to follow this: https://github.com/hyperledger/fabric/blob/master/docs/API/SandboxSetup.md

bgorman
2016-07-11 01:26
You'll need to configure each peer to listen on a different ports to the other as well

bgorman
2016-07-11 01:27
As for the REST API, try http://localhost:5000/ or http://<hostnameHere>:5000/ - there should be a port forward from your Virtual Box / Vagrant VM set up to forward the port to the hosting machine

hgabor
2016-07-11 08:20
I have a fix for master, please check it: https://github.com/hyperledger/fabric/pull/2162

abdelkrim
2016-07-11 08:24
how to list the resources available on the ledger, I keep receiving the following error `Error: Error querying chaincode: rpc error: code = 2 desc = "Error:Failed to launch chaincode spec(Could not get deployment transaction for chaincode-helloworld - LedgerError - ResourceNotFound: ledger: resource not found)"`

ashnur
2016-07-11 09:45

duncanjw
2016-07-11 10:30
Post by @mikezaccardo on deploying and managing hyperledger fabric spanning San Jose, London and Singapore http://www.cloudsoft.io/ondemand-distributed-hyperledger-fabric-cluster-with-cloudsoft-amp

roman
2016-07-11 12:25
has joined #general

venkat
2016-07-11 12:25
How can multiple businesses control the same network running a blockchain? I mean for contributing peer nodes etc, in a consortium context. They will all be using a single blockchain. Currently I don't think we can do this on BlueMix. There is a dropdown for selecting an application though. Not sure what it is for.

venkat
2016-07-11 12:26
In other words - are there any API in Fabric, which allow nodes to download the same blockchain and be connected to peers owned by other businesses?

venkat
2016-07-11 12:34
I guess, the membership services is the key here? But how are the peer nodes bootstrapped with URLs for other peer nodes and blockchain ID etc?

venkat
2016-07-11 12:36
Some off-line enrollment is used?

yugave
2016-07-11 13:27
has joined #general

roman
2016-07-11 13:30
guys, has anyone tried to use hyperledger in some real use cases? as far as I have understood it is in the early incubator stage and not production ready, right?

ashnur
2016-07-11 13:36
imho none of the current blockchain technologies are in production ready state yet

roman
2016-07-11 14:12
well, bitcoin and etherium is kind of there. I may rephrase to avoid that kind of discussion. My understanding is that hyperledger is far from being ready even for beta testing, right?

ashnur
2016-07-11 14:35
Hmm, harder question. I find it quite easy to experiment with it and a lot of features are already there.

brooker
2016-07-11 15:00
has joined #general

luketrevorrow
2016-07-11 15:37
has joined #general

chockler
2016-07-11 15:39
has joined #general

wissam.dagher
2016-07-11 15:56
has joined #general

danayelx
2016-07-11 16:58
hey guys, so i have two nodes running and trying to deploy chaincode, however, only way i have been able to do so is by adding my code to github and deploying from there

danayelx
2016-07-11 16:58
the code is in both the vm path and my local machine path

danayelx
2016-07-11 16:58
for some reason even if i use absolute path (both vm or local host) or even relative paths, it wont launch

danayelx
2016-07-11 16:59
what am i doing wrong? btw, running local nodes, not bluemix

codascud
2016-07-11 17:29
@danayelx: I have tried deploying contracts from within $GOPATH and it works.. Are the absolute paths you are using in GOPATH?

danayelx
2016-07-11 18:06
yes, which is weird

codascud
2016-07-11 18:07
can you paste the command that you use to deploy the CC?

harsh
2016-07-11 18:08
unfortunatly we cant do that

harsh
2016-07-11 18:08
or is there another way for it

danayelx
2016-07-11 18:08
hold on

danayelx
2016-07-11 18:09
from within /opt/gopath/src/github.com/hyperledger/fabric/peer

danayelx
2016-07-11 18:09
I call

danayelx
2016-07-11 18:09
CORE_PEER_ADDRESS=172.17.0.2:30303 ./peer chaincode deploy -p https://github.com/danayelx/chaincode/finished -c '{"Function":"init", "Args": ["hi there"]}'

danayelx
2016-07-11 18:10
that works well, but if I do $GOPATH/path/to/chaincode it won’t work

danayelx
2016-07-11 18:10
even if I do absolute path

harsh
2016-07-11 18:10
correct me "CORE_PEER_ADDRESS=172.17.0.2:30303 ./peer chaincode deploy -p $GOPATH/path/to/CC/ -c

harsh
2016-07-11 18:10
should work

danayelx
2016-07-11 18:11
yeah won’t work, perhaps something is misconfigued on my system

harsh
2016-07-11 18:11
k k let me try it out

danayelx
2016-07-11 18:11
if you guys can do it, then it is my config

codascud
2016-07-11 18:15
@danayelx: Is your chain code under $GOPATH/src/path/to/chaincode ?

danayelx
2016-07-11 18:15
yes

danayelx
2016-07-11 18:17
well, I will keep experimenting. My setup is at home so can’t debug now :slightly_smiling_face:

danayelx
2016-07-11 18:17
thanks for the help!

danayelx
2016-07-11 18:18
do you guys know if there is a tutorial describing how tokens are generated?

danayelx
2016-07-11 18:18
like if i want to create colored coins within hyperledger

codascud
2016-07-11 18:20
./peer chaincode deploy -p http://github.com/myContract -c '{"Function":"init", "Args": ["a","100", "b", "200"]}’ —> Works without any issue...

codascud
2016-07-11 18:20
can you try relative path?

yongchun
2016-07-11 18:24
has joined #general

danayelx
2016-07-11 18:24
I did. Not sure what is going on.

codascud
2016-07-11 18:26
hmmm weired… what is the error?

danayelx
2016-07-11 18:26
standard chaincode not in path error

yongchun
2016-07-11 18:26
dears, does your VP node replicating missed blocks when rejoining network after an outage?

felixweis
2016-07-11 18:45
has joined #general

wufang
2016-07-11 19:06
has joined #general

michael_sagalyn
2016-07-11 19:52
has joined #general

sp2016
2016-07-11 20:46
has joined #general

christophera
2016-07-11 21:10
*Hyperledger Identity WG Biweekly Meeting* The Hyperledger Identity WG has a regular meetings biweekly (every other week — 13 Jul, 27 Jul, 10 Aug, 24 Aug) alternating with Architecture WG, at 12pm EDT (9am PDT) using WebEx. *Next Meeting* Our next meeting will be 13 July, at 12pm EDT (9am PDT). The topic of this meeting is a followup with David Kravitz to the presentation two weeks ago on the IBM’s Membership Services architecture as used by Hyperledger Fabric. The recording of the last Identity WG meeting on IBM’s Membership Services architecture as used by Hyperledger Fabric is available at: https://meetings.webex.com/collabs/url/i-271A2F8IRqjuDCoiWed_-ISAS5bOQTOm-1Vi5O_GS00000 The slides for this last meeting are at: https://www.dropbox.com/s/d4geya90fbv3kw2/Hyperledger%20Membership%20Services%20Presentation%20June%2029%202016.pdf?dl=0 *Meeting Details* You can join the WebEx at https://meetings.webex.com/collabs/meetings/join?uuid=M13E85PQ13KWSMVJJLZ1FZ3XNX-9VIB Or you can join by phone: Call-in toll number (US/Canada) Call-in toll-free number (US/Canada) Access code: 190 609 401 Google Docs Shared Notes for meetings are at: https://docs.google.com/document/d/1nVkjhSlghjc4KFWEYDU2B0ztWCFh1CK8a7VmqwFsnKY/edit?usp=sharing *More Info* Contact: Christopher Allen, Blockstream

jcarrivick
2016-07-12 01:07
@jcarrivick uploaded a file: https://hyperledgerproject.slack.com/files/jcarrivick/F1QQG2LH0/-.sh and commented: I'm getting a panic when attempting to run any commands with the latest master. Is anyone else getting similar issues?

jcarrivick
2016-07-12 01:09
It seems to be since PR #2133 was merged because the stack trace references the old files from before that PR was merged

jcarrivick
2016-07-12 01:09
I've tried `make dist-clean`, `git reset HEAD --hard` to make sure there aren't any local changes persisted and it is still occuring

walle
2016-07-12 01:51
has joined #general

jcarrivick
2016-07-12 02:31
FYI anyone interested I fixed that above error by `vagrant destroy` followed by `vagrant up`

ashishkel
2016-07-12 02:43
One question related to the way we use memberservice.yaml,

ashishkel
2016-07-12 02:45
This file has to be in sync across all the nodes?

ashishkel
2016-07-12 02:45
Is this something HL ensures or we have to ensure manually ?

buhrmi
2016-07-12 02:46

ashishkel
2016-07-12 02:46
the point is, if I change the role or password or something.. in one copy maintained at one VP, does it get replicated to all the nodes ?

brianbehlendorf
2016-07-12 03:45
@buhrmi I will be there, keynoting tomorrow around 9am, and then hosting a Hyperledger panel at 3pm

prabasiva
2016-07-12 03:59
has joined #general

vijayan
2016-07-12 05:07
has joined #general

joonas
2016-07-12 05:20
has joined #general

kiperias
2016-07-12 05:29
has joined #general

archupsg03
2016-07-12 06:02
has joined #general

archupsg03
2016-07-12 06:10
Hey guys, is anyone ware of the issue 2098. https://github.com/hyperledger/fabric/issues/2098

orijrp
2016-07-12 07:24
has joined #general

chrido
2016-07-12 07:32
has joined #general

enidz
2016-07-12 08:17
has joined #general

somii1.01
2016-07-12 11:03
has joined #general

venkat
2016-07-12 11:09
Is anyone using the docker image https://hub.docker.com/r/yeasy/hyperledger-peer/?

venkat
2016-07-12 11:10
When I try to deploy the chain code (example02) by following the steps on this page -

venkat
2016-07-12 11:10
I get an error saying [dockercontroller] deployImage -> ERRO 0e4 Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage

venkat
2016-07-12 11:11
All I need is a small cluster of peers running on docker (without vagrant)

venkat
2016-07-12 11:17
Any clues?

tejas
2016-07-12 11:24
has joined #general

zuowang
2016-07-12 11:38
Ask for help: I have to increase a counter (pay-per-query) in the Query function in chaincode. But I can't do it as Query function call is not a transaction. What should I do?

r4v4n
2016-07-12 11:44
has joined #general

simon
2016-07-12 11:59
zuowang: you can't

simon
2016-07-12 11:59
convert the query to invoke

g_alexander
2016-07-12 12:10
We running a use case like, deploy, invoke( insert some data into table), into one peer (172.17.0.2) then query the table data from another peer (172.19.0.3). but we are not able to get the value and it throwing the error like "Error: Error querying chaincode: rpc error: code = 2 desc = "Error:Failed to launch chaincode spec(Failed to init chaincode(handler not found for chaincode usecase))". it is not working for both security is turned off/on.

ashishkel
2016-07-12 12:13
george,

ashishkel
2016-07-12 12:13
ping this guy

simon
2016-07-12 12:18
g_alexander: can you query on the first peer?

g_alexander
2016-07-12 12:19
Yes, if we query it in first peer, we are getting the value

simon
2016-07-12 12:20
odd

simon
2016-07-12 12:20
seems the second peer can't init the chaincode?

ashishkel
2016-07-12 12:21
what is the error u are getting on the console when u deploy?

g_alexander
2016-07-12 12:23
when we enable the security , then we are getting "[ledger] sendProducerBlockEvent -> ERRO 702 Error unmarshalling deployment transaction for block event: proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group" while deploying the chain code. there no error of security off mode

ashishkel
2016-07-12 12:25
but in both cases its not replicating to the other nodes?

michele
2016-07-12 13:21
has joined #general

ericsomdahl
2016-07-12 13:25
has joined #general

pards
2016-07-12 13:51
@danayelx: I was getting that same error running in Docker on the Vagrant VM. I was able to get it working by switching to the "sandbox setup" and running from the shell.

pards
2016-07-12 13:51
I think the Docker images have the chain code baked in

pards
2016-07-12 13:51
So another workaround might be to rebuild the Docker image?


david
2016-07-12 14:08
has joined #general

chouyufei
2016-07-12 15:31
has joined #general

jerry
2016-07-12 15:50
has joined #general

danayelx
2016-07-12 16:35
@pards thanks I will test it

danayelx
2016-07-12 16:41
does anyone know if there is a limit in terms of how much we can store in the state?

danayelx
2016-07-12 16:41
since its nothing but a key value store

danayelx
2016-07-12 16:41
i wonder how much content we can store on it

danayelx
2016-07-12 16:42
also, another question. Each invokation is recorded on the blockchain right? ideally. So we can track everyting that is stored there? If so, how do we decode the tx information. For bitcoin there are plenty of utilities that decode tx hashes/serialized content. Are there such utilities for hyperledger?

danayelx
2016-07-12 16:43
like I can use a tx hash to fetch its contents and deserialize them

danayelx
2016-07-12 16:43
in the bitcoin client, not sure if that is doable with hyperledger

pards
2016-07-12 17:03
I think it uses RocksDB for the key-value store

pards
2016-07-12 17:04
I haven't figured out how to decode the TX payload yet.

pards
2016-07-12 17:04
If you do, please post it here

pards
2016-07-12 17:05
bgorman didn't seem to think it was possible

danayelx
2016-07-12 17:31
mmm, interesting. It would be nice to be able to decode txs

danayelx
2016-07-12 17:31
right I know it uses rocks db

danayelx
2016-07-12 17:32
but when you do a write, say using chaincode, is there limit in terms on how much data you persist?


pards
2016-07-12 17:33
RocksDB doesn't seem to have a real limit, but there may be one in Fabric

cbf
2016-07-12 17:34
the storage is limited by the physical constraints… there is currently some thought being given to pruning a blockchain (think of archiving from the active database to some other store, ala glacier

danayelx
2016-07-12 17:35
yeah rocks doesnt but does the fabric limit chaincode from storing too much

danayelx
2016-07-12 17:35
well like @cbf said, physical limits

danayelx
2016-07-12 17:36
mmm, ill look into the decoding part and share anything i find

danayelx
2016-07-12 17:37
that is a really useful thing, the python tools i used to decode bitcoin tx were a life saver, something like that would be very useful here too imo

pards
2016-07-12 17:37
I agree.

pards
2016-07-12 17:37
Without it, there's no way for an auditor to verify the transactions

bobsummerwill
2016-07-12 21:09
https://bobsummerwill.com/2016/07/12/ethereum-everywhere/ TL;DR – What are you proposing? I am proposing to the contributors that the C++ Ethereum client runtime cpp-ethereum be re-licensed from the copyleft GPLv3 license to the more permissive Apache 2.0 license, to enable Ethereum software to be used as broadly as possible - a long-standing plan. This proposal only addresses the client runtime and does not include Solidity or Mix (the C++ tools). There is another blog post detailing the likely operational steps in that process. This document seeks to explain why I am making that proposal. https://bobsummerwill.com/2016/07/12/c-re-licensing-plan/ I would personally love to see Ethereum as part of the Hyperledger story, and I know that many others feel the same way. Hopefully this re-licensing can be the first step in the journey leading to that outcome. See also https://bobsummerwill.com/2016/06/12/cats-and-dogs-can-be-friends/. Best wishes to you all! Bob Summerwill Ethereum Foundation

anubhavsinha
2016-07-12 21:12
has joined #general

alexrosen
2016-07-12 21:25
has joined #general

sheehan
2016-07-12 23:22

michael_tang
2016-07-12 23:37
has joined #general

shin
2016-07-12 23:53
has joined #general

blueskydetector
2016-07-13 01:01
has joined #general

tigmi
2016-07-13 01:34
has joined #general

danayelx
2016-07-13 02:41
thanks @sheehan I had an old fork, so I did not see that

danayelx
2016-07-13 02:41
I merged with upstream and got it now :slightly_smiling_face:

danayelx
2016-07-13 02:57
darn, now it broke... panic: Error reading CORE_PBFT plugin config: Unsupported Config Type ""

danayelx
2016-07-13 02:57
haha

zjgsuwk
2016-07-13 04:30
has joined #general

zjgsuwk
2016-07-13 06:06
hi,can you help me

zjgsuwk
2016-07-13 06:06
i have a problem when i make peer

zjgsuwk
2016-07-13 06:07
when i execute make peer,occur error

zjgsuwk
2016-07-13 06:07
make peer Building docker base-image BUILD-CACHE: Pulling "hyperledger/fabric-baseimage:x86_64-0.0.10" from dockerhub.. x86_64-0.0.10: Pulling from hyperledger/fabric-baseimage 6599cadaf950: Already exists 23eda618d451: Already exists f0be3084efe9: Already exists 52de432f084b: Already exists a3ed95caeb02: Already exists fe87512d962f: Already exists 3ab00b537a04: Already exists 394221632d6f: Already exists 93f2f8cf004e: Already exists Digest: sha256:6c4c7e63677f09083ca532ed6136bb12f9bb6324f9d2304f2c78a5b0b99bdddc Status: Image is up to date for hyperledger/fabric-baseimage:x86_64-0.0.10 BUILD-CACHE: Success! usage: mktemp [-d] [-q] [-t prefix] [-u] template ... mktemp [-d] [-q] [-u] -t prefix make: *** [build/image/base/.dummy] Error 1

zjgsuwk
2016-07-13 06:07
how to fix it ?

yuanlaishiluda
2016-07-13 06:26
has joined #general

danayelx
2016-07-13 07:23
@zjgsuwk: not sure if related but often you may have to reprovision, then vagrant up, then vagrant ssh then make peer

danayelx
2016-07-13 07:28
cd $GOPATH/src/github.com/hyperledger/fabric/devenv

danayelx
2016-07-13 07:28
vagrant up --provision

danayelx
2016-07-13 07:28
then vagrant ssh

danayelx
2016-07-13 07:28
and then follow steps to make peer

o.levitsky
2016-07-13 07:47
has joined #general

danayelx
2016-07-13 07:55
@sheehan: The db utils says to make a copy of the db: https://github.com/lbathen/fabric/tree/master/tools/dbutility

danayelx
2016-07-13 07:55
but I am unable to run it

danayelx
2016-07-13 07:56
my assumption is that the db dir is: /var/hyperledger/production/db

danayelx
2016-07-13 07:56
but running against it gives me errors :confused:

danayelx
2016-07-13 07:56
go run dump_db_stats.go -dbDir /var/hyperledger/production/db # command-line-arguments ./dump_db_stats.go:67: openchainDB.Close undefined (type *db.OpenchainDB has no field or method Close)

zjgsuwk
2016-07-13 08:07
@danayelx,thanks! i will try it

danayelx
2016-07-13 08:12
pushed a pull request with the fix

abel
2016-07-13 09:09
has joined #general

atmcmurray
2016-07-13 10:21
has joined #general

pranob
2016-07-13 10:24
has joined #general

pranob
2016-07-13 10:34
Hi Guys any way we can upload files via chaincode into blockchain \ like in ethereum we have IPFS and Swarm

simon
2016-07-13 10:48
pranob: you'll have to write a chaincode to do that

pranob
2016-07-13 10:50
@simon: thanks! but how do i store file in a blockchain , do we have any API available in hyperledger

simon
2016-07-13 10:50
i suggest reading the chaincode documentation

pranob
2016-07-13 10:50
or we convert it to bytes and then just store

simon
2016-07-13 10:54
what else?

pranob
2016-07-13 10:55
Thanks @simon

muralisr
2016-07-13 11:33
@pranob: an approach could be to store hash of the file in the ledger

jonathanlevi
2016-07-13 15:57
All, feel free to join the *Membership Services* session which is part of the bi-weekly *Identity WG*.

jonathanlevi
2016-07-13 15:57
Starting in a few mins. Login details on the # and # channels.

danayelx
2016-07-13 17:01
@pranob: as @simon said, for now just store the hash

danayelx
2016-07-13 17:01
rocksdb supports key/value pairs

danayelx
2016-07-13 17:01
the hash should suffice

jean.safar
2016-07-13 17:34
Hi, I am trying to understand what I need to get prepared for the July Hackathon. The guys from my company who will participate (me included) have no experience with it. I would like to make sure that everyone is prepared with the tools / code etc… Is there something like this being prepared ? What is expected for the hackathon?

kazuesako
2016-07-13 18:36
has joined #general

sebastien.calvi
2016-07-13 19:17
has joined #general

mowusua
2016-07-13 19:19
has joined #general

milkeg
2016-07-13 20:45
has joined #general

konradpabjan
2016-07-13 21:01
Hi everyone, I have submitted a Hyperledger Improvement proposal to TSC, to be discussed in the meeting tomorrow. The proposal is currently on the Wiki page. https://github.com/hyperledger/hyperledger/wiki/Proposals Would love any feedback. I have a quick demo on my github that you can check out. https://github.com/konradpabjan/fabric/tree/master/peer/Explorer (The video is really fast, had to get in under 25Mb)

jim_madl
2016-07-13 21:45
has joined #general

danayelx
2016-07-14 00:55
@konradpabjan: outstanding, will try it out

kostas
2016-07-14 01:11
@konradpabjan: just had a look at it - looks great!

danayelx
2016-07-14 01:39
@konradpabjan: Is there a proxy setting or port I need to forward?

danayelx
2016-07-14 01:40
as I see, the Vagrantfile has all the ports being forwarded

danayelx
2016-07-14 01:40
I added 5554

danayelx
2016-07-14 01:40
I can access 5554 contents but the Explorer is still loading

danayelx
2016-07-14 01:41
@jean.safar: Trial an error for now, at least that is how I am doing things haha

voodoo
2016-07-14 01:50
has joined #general

sukantoxu
2016-07-14 01:52
has joined #general

echigo
2016-07-14 03:52
has joined #general

jlin046
2016-07-14 04:21
has joined #general

ashishkel
2016-07-14 05:17
In Asset management example,



ashishkel
2016-07-14 05:18
Section "Setup the fabric network" points to a link "https://github.com/hyperledger/fabric/blob/master/consensus/docker-compose-files/compose-consensus-4.md" which do not exist any more..

ashishkel
2016-07-14 05:18
Can this be corrected?

xihaxiaozi
2016-07-14 06:28
has joined #general

jochen
2016-07-14 07:24
has joined #general

slaxman
2016-07-14 07:33
has joined #general

yusen
2016-07-14 07:40
has joined #general

ibmdannywong
2016-07-14 07:50
Will init() getting called again in second deployment of same contract?

gensai
2016-07-14 08:40
has joined #general

slaxman
2016-07-14 08:42
when I run "peer node start" with ca enabled, the first time is ok, but wrong the next time if I did not delete the /var/hyperledger/production/, How can I keep the original enrollID and secret ? thanks

ashishkel
2016-07-14 08:52
@ibmdannywong : Yes, thats what we have seen, Everytime you deploy, init gets called..

zhoy007
2016-07-14 08:53
has joined #general

denis
2016-07-14 08:53
has joined #general

ibmdannywong
2016-07-14 08:55
@ashishkel thanks... I am thinking a testing (before production perspective)... if we want to really init a state of somethings (say a balance as $100), After running a few tx, the balance becomes $70. However, if we found a bug of a private method in the contract (which called by Invoke)

ibmdannywong
2016-07-14 08:55
after I fix the contract... and redeploy the contract

ibmdannywong
2016-07-14 08:56
if init really called, then the balance will become $100 again /_\....

ibmdannywong
2016-07-14 08:56
:joy: Anyone has idea how to resolve this?...

ibmdannywong
2016-07-14 08:59
we can protect the Init() method from being called Invoke() easily... but not from the deploy flow...

ankurkansal
2016-07-14 09:05
has joined #general

ashishkel
2016-07-14 09:46
not in a straightforward way any way.

ashishkel
2016-07-14 09:48
@ibmdannywong , I had similar usecases, and after lot of asking around, I hv come to an understanding that... if you want to maintain the history, use the local datastore ( application database - not HL),

gaurav
2016-07-14 10:04
has joined #general

abhishekseth
2016-07-14 10:14
has joined #general

mdu
2016-07-14 11:07
has joined #general

johanherman
2016-07-14 11:11
has joined #general

nayankr
2016-07-14 11:17
has joined #general

manu
2016-07-14 11:21
has joined #general

abhishekseth
2016-07-14 11:26
Hello, I myself along with other team members are new to Hyperledger and stuff. Being in initial phase of it, we are trying to setup the development environment for the same on our local machines . We followed the hyperledger fabric documentation on http://github.com. We are facing problems in having first and second validating peers up and running. First peer works fine but for the second peer, it is giving error as "grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:50051: getsockopt: connection refused"; Reconnecting to "localhost:50051" . Can anyone help us in getting out of this problem? Thanks!

simon
2016-07-14 11:30
firewall?

abhishekseth
2016-07-14 11:35
@simon what do u mean by firewall over here? Could u plz elaborate?

simon
2016-07-14 11:35
do you have a firewall that prevents connection between the peers

abhishekseth
2016-07-14 11:39
See the problem is that if we run command for second peer without having the attributes for certificates like CORE_PEER_PKI_ECA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TCA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TLSCA_PADDR=172.17.0.1:50051, it runs fine and second peer becomes up. But if i include these attributes, error occurs.

simon
2016-07-14 11:41
okay

simon
2016-07-14 11:41
i don't know

simon
2016-07-14 11:41
the CA stuff is a mystery to me

garisingh
2016-07-14 11:45
@abhishekseth: so you are trying to get multiple peers plus membersrvcs (CA) running on the same machine? I assume you are using Docker for the peers and the CA? And am I correct in assuming you have security enabled?

garisingh
2016-07-14 11:47
and are you also passing `CORE_PEER_PKI_ECA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TCA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TLSCA_PADDR=172.17.0.1:50051` when you start the first peer?

abhishekseth
2016-07-14 11:49
Yes, we are using dockers but no, security is not enabled because command having security enabled does not make peer one up.

abhishekseth
2016-07-14 11:50
and same thing happens for peer 2nd also. Also, are we supposed to edit something in core.yaml and membersrvc.yaml files?

garisingh
2016-07-14 11:51
did you start a container running membersrvcs ?

garisingh
2016-07-14 11:51
if security is not enabled, you don't need membersrvcs at all

garisingh
2016-07-14 11:52
and the peer should not be trying to communicate with membersrvcs if security enabled=false

abhishekseth
2016-07-14 11:56
the problem is that if the security is not enabled then we will not be able to login/enroll the test user. So, my problem is how to enable security and get both the peers up and running? can u plz help on that?

simon
2016-07-14 11:56
i don't understand why we don't have a simple shell script that just configures everything

alex.moudelos
2016-07-14 11:56
has joined #general

abhishekseth
2016-07-14 12:03
@garisingh: any idea?


bigicecream
2016-07-14 12:55
has joined #general

abhishekseth
2016-07-14 12:59
@grapebaba: I am following the same documentation. But as I told before, I am stuck and having problems in starting peers in security enabled mode and I am getting error like "grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:50051: getsockopt: connection refused"; Reconnecting to "localhost:50051”.

garisingh
2016-07-14 13:01
do you have Docker compose installed?

dariusz.parzych
2016-07-14 13:08
has joined #general

grapebaba
2016-07-14 13:08
did you start member service?

garisingh
2016-07-14 13:12
If so, you can try the following: 1) Create a file called `docker-compose-security-base.yml` and paste the following contents: ``` vpSecurityBase: extends: file: compose-defaults.yml service: vp environment: - CORE_SECURITY_ENABLED=true - CORE_PEER_PKI_ECA_PADDR=membersrvc0:50051 - CORE_PEER_PKI_TCA_PADDR=membersrvc0:50051 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc0:50051 ```

garisingh
2016-07-14 13:12
you will also need the `compose-defaults.yml` located in the `fabric/bddtests` folder

dthom
2016-07-14 13:14
has joined #general

garisingh
2016-07-14 13:19
2) Create a file called `docker-compose-security-2-peers.yml` and paste the following contents: ``` membersrvc0: extends: file: compose-defaults.yml service: membersrvc vp0: extends: file: docker-compose-security-base.yml service: vpSecurityBase environment: - CORE_PEER_ID=vp0 - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc0 ports: - 5000:5000 vp1: extends: file: docker-compose-security-base.yml service: vpSecurityBase environment: - CORE_PEER_ID=vp1 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:30303 - CORE_SECURITY_ENROLLID=test_vp1 - CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy links: - membersrvc0 - vp0 ```

simon
2016-07-14 13:19
haha, this is ludicrously complicated

garisingh
2016-07-14 13:22
make sure that `compose-defaults.yml , docker-compose-security-base.yml and docker-compose-security-2-peers.yml` are all in the same folder and the run `docker-compose -f docker-compose-security-2-peers.yml up`

garisingh
2016-07-14 13:23
@simon - agreed

abhishekseth
2016-07-14 13:23
after this, evreything will be okay in security mode as well?

abhishekseth
2016-07-14 13:24
@garisingh:

cbruguera
2016-07-14 13:24
I'm having the same problem. And my intuition tells me that membership service must be initialized first, am I right?

cbruguera
2016-07-14 13:25
The problem is that documentation doesn't mention that. It suggests to run the first node with such arguments, pointing to a membership service that isn't up yet.

cbruguera
2016-07-14 13:26
First step should be how to run the `membersrvc`, then the nodes :slightly_smiling_face:

cbruguera
2016-07-14 13:32
Now, I'm trying to build the member service, but a lot of "permission denied" comes out.. Any idea?

cbruguera
2016-07-14 13:32
I tried `sudo make membersrvc` but then "go: cannot find GOROOT directory: /usr/local/go" happens.

grapebaba
2016-07-14 13:32
in vagrant?

cbruguera
2016-07-14 13:32
yeah

grapebaba
2016-07-14 13:33
make membersrvc is ok

cbruguera
2016-07-14 13:33
:confused:

grapebaba
2016-07-14 13:33
it works fine for me

cbruguera
2016-07-14 13:34

grapebaba
2016-07-14 13:35
what error without sudo

cbruguera
2016-07-14 13:35
that's without sudo

simon
2016-07-14 13:35
wrong permissions on your ~/go

cbruguera
2016-07-14 13:36
how can I fix that, @simon ?

simon
2016-07-14 13:36
well, /opt/gopath

grapebaba
2016-07-14 13:36
sorry, i cannot see the screenshot

simon
2016-07-14 13:36
i don't know what your setup is

cbruguera
2016-07-14 13:37
Why does that happen anyway? if I'm running the vagrant that is supposed to be set up for the dev env to work the same for everyone?

grapebaba
2016-07-14 13:38
you env has problem

grapebaba
2016-07-14 13:39
see Ubuntu1404, that indicate your vagrant env is not setup normally

cbruguera
2016-07-14 13:39
:fearful:

grapebaba
2016-07-14 13:39
vagrant destroy/vagrant up

cbruguera
2016-07-14 13:40
omg

grapebaba
2016-07-14 13:40
go to #fabric-dev-env

grapebaba
2016-07-14 13:40
you may find old thread

cbruguera
2016-07-14 13:40
thanks @grapebaba

garisingh
2016-07-14 13:42
@abhishekseth: yes - security should be enabled and it should work. I have not tested this yet - just kinda wrote it up

grapebaba
2016-07-14 13:43
@cbruguera: yr:grinning:

cbruguera
2016-07-14 13:48
By the way, do you guys directly clone the fabric project to your local directories? Or do you work with a fork as suggested in the docs?

pards
2016-07-14 13:51
Clone ... for now, anyway

cbruguera
2016-07-14 13:52
:+1::skin-tone-3:

cbruguera
2016-07-14 13:55
@grapebaba isn't Ubuntu being used anymore as a devenv?

grapebaba
2016-07-14 14:09
sorry for my poor English and i am not with my laptop @ghaskins should explain that clearly

ghaskins
2016-07-14 14:10
@cbruguera: unless something was merged while I was out on holiday the last few weeks, it should be Ubuntu based

cbruguera
2016-07-14 14:14
well, I'm re-building the vagrant machine anyway, let's see how it goes this time...

jiangyingda
2016-07-14 14:17
has joined #general

garisingh
2016-07-14 14:18
for the record, the Docker compose stuff I posted above worked perfectly fine for me running directly on a Ubuntu machine outside of Vagrant

dmiz09
2016-07-14 16:36
has joined #general

rgidron
2016-07-14 16:42
has joined #general

cbf
2016-07-14 16:47
@abhishekseth: did you have any luck with @garisingh’s suggested compose files? I have been spending some cycles refactoring the documentation and adding some clarity. You might want to try that on for size: https://github.com/christo4ferris/fabric/blob/98f3b6f482f27b1c6d6ac26cf6fb093e14cb988f/docs/index.md - Here’s the link to the ca-setup: https://github.com/christo4ferris/fabric/blob/98f3b6f482f27b1c6d6ac26cf6fb093e14cb988f/docs/Setup/ca-setup.md - granted, that only has one peer node.

cbruguera
2016-07-14 17:19
I destroyed and re-built the vagrant VM. I just ssh'ed and the screen looks like this:

cbruguera
2016-07-14 17:19

cbruguera
2016-07-14 17:19
Can anyone tell me if this looks like the correct thing to display?

cbruguera
2016-07-14 17:20
Hmm can't connect to docker daemon. Looks like something went wrong this time again. :confused:

jonathanlevi
2016-07-14 17:42

cbruguera
2016-07-14 17:47
yes! That's exactly my problem.

cbruguera
2016-07-14 17:48
Although no errors were shown during the `vagrant up`, only the process seemed to stall, so I had to Ctrl-C, and when I re-tried getting the vagrant up, it said the image is "up to date".

cbruguera
2016-07-14 17:49
I guess that's what's happening.

cbruguera
2016-07-14 17:49
The VM doesn't end up well provisioned.

cbruguera
2016-07-14 17:50
Now I'm rebuilding again.

azmat
2016-07-14 18:28
has joined #general

karsellami
2016-07-14 19:29
has joined #general

roarke
2016-07-14 20:17
has joined #general

jeff_ef
2016-07-14 21:18
has joined #general

tpiastrelli
2016-07-14 22:15
has joined #general

grapebaba
2016-07-15 00:02
@cbruguera: you cannot Crtl C

grapebaba
2016-07-15 00:03
it will take more time to provision

cbruguera
2016-07-15 00:04
Yeah now I'm learning to be quiet and leave the vagrant alone, although sometimes it seems frozen.

grapebaba
2016-07-15 00:04
yup

grapebaba
2016-07-15 00:05
take a rest and see again

grapebaba
2016-07-15 00:05
:grinning:

cbruguera
2016-07-15 00:05
also, it looks like there's no need to "vagrant destroy" when something goes wrong. `vagrant provision` should fix it (or that's what I hope)

grapebaba
2016-07-15 00:05
no, i asked same question before

grapebaba
2016-07-15 00:08
destroy will better because the provision script not idempotent

cbruguera
2016-07-15 00:08
Hmm makes sense

cbruguera
2016-07-15 00:09
Well, I've destroyed it many times already, and got impatient while building it up so Ctrl-C'ed...

cbruguera
2016-07-15 00:09
Now I'm just trusting the `vagrant provision`

cbruguera
2016-07-15 00:09
:pray::skin-tone-3:

cbruguera
2016-07-15 00:09
It seems to be doing its job

grapebaba
2016-07-15 00:11
if you are not in china, it should works fine

cbruguera
2016-07-15 00:11
Not in China, fortunately. :stuck_out_tongue:

grapebaba
2016-07-15 00:12
i am also doing the provision now, really really slow as i am in china

cbruguera
2016-07-15 00:16
ohh

cbruguera
2016-07-15 00:16
are you on a VPN?

cbruguera
2016-07-15 00:16
Well, I'm in Venezuela, quite a slow connection.

cbruguera
2016-07-15 00:17
:sleepy:

smartyalgo
2016-07-15 01:54
has joined #general

slaxman
2016-07-15 02:29
[root@bogon fabric]# make peer Building docker base-image BUILD-CACHE: Pulling "hyperledger/fabric-baseimage:x86_64-0.0.10" from dockerhub.. x86_64-0.0.10: Pulling from hyperledger/fabric-baseimage 6599cadaf950: Already exists 23eda618d451: Already exists f0be3084efe9: Already exists 52de432f084b: Already exists a3ed95caeb02: Already exists fe87512d962f: Already exists 3ab00b537a04: Already exists 394221632d6f: Already exists 93f2f8cf004e: Downloading 64.85 MB stopped here, waiting for 1 hour, many times

grapebaba
2016-07-15 02:42
only wait:wink:

axc
2016-07-15 02:50
Does anyone know the password for the hyperledger ubuntu Virtualbox image? I need to install guest additions to share folder between my VM and my host

slaxman
2016-07-15 02:53
@grapebaba: can wait solve the problem?

jndewey
2016-07-15 02:55
has joined #general

grapebaba
2016-07-15 02:57
yup

grapebaba
2016-07-15 02:58
i start vagrant up 7:15

grapebaba
2016-07-15 02:58
not end till now

grapebaba
2016-07-15 02:58
network is so bad in china

grapebaba
2016-07-15 02:58
:scream:

grapebaba
2016-07-15 03:00
my environment came across a issue no space left

slaxman
2016-07-15 03:01
@grapebaba: me also from china, I am ok with vagrant+virtual box, now I am just set up with centos 7,

slaxman
2016-07-15 03:01
should not be network issue,

grapebaba
2016-07-15 03:01
i really hate rebuild

grapebaba
2016-07-15 03:02
use what script

slaxman
2016-07-15 03:02
no script

grapebaba
2016-07-15 03:03
sorry, i have no idea for that

slaxman
2016-07-15 03:04
vagrant up is ok for me, network is better in the morning

kaustubhoak
2016-07-15 03:46
has joined #general

danayelx
2016-07-15 04:03
@axc: just use sudo

danayelx
2016-07-15 04:12
anyone has issues with the rest api?

danayelx
2016-07-15 04:12
for some reason I am unable to get data using /transactions/uuid

danayelx
2016-07-15 04:13
I used the uuid from 04:02:04.861 [devops] invokeOrQuery -> INFO 02e Transaction ID: %v dc3e9a6f-2f1b-423f-80a3-67d8ebb38e22


ibmdannywong
2016-07-15 04:14
Question... If my v1 of chain code (contract) is deployed (say there are 3 peers in my business network). Then say I found a bug and fixed it afterward, and I would like to deploy the new chain code.

ibmdannywong
2016-07-15 04:15
I will make one Deploy REST / CLI to deploy the new contract from my VP

ibmdannywong
2016-07-15 04:15
will the new contract requires deployment by other 2 VPs?

ibmdannywong
2016-07-15 04:15
i.e. my business partner

danayelx
2016-07-15 04:15
should be in the ledger

danayelx
2016-07-15 04:15
you only deploy once

danayelx
2016-07-15 04:16
they need to know how to invoke it tho

ibmdannywong
2016-07-15 04:16
Yes, assume they know as we are business partner

danayelx
2016-07-15 04:16
they just need hash of new chaincode

ibmdannywong
2016-07-15 04:16
ic, so the new contract (i.e. Deploy, not invoke) will be replicated similar to Invoke Transaction to other peers

danayelx
2016-07-15 04:16
yes

ibmdannywong
2016-07-15 04:16
ok

ibmdannywong
2016-07-15 04:17
damn, i thought we need to coordinate all business partner and schedule a downtime

ibmdannywong
2016-07-15 04:17
lol

danayelx
2016-07-15 04:17
no

danayelx
2016-07-15 04:17
haha

danayelx
2016-07-15 04:17
that’s the whole point

ibmdannywong
2016-07-15 04:18
so actually... is there a concept of "revising" a contract (i.e. v0.1 to v0.2)

ibmdannywong
2016-07-15 04:18
or there is only "new" contract

danayelx
2016-07-15 04:18
whenever you deploy its a new entry in the ledger

danayelx
2016-07-15 04:19
no v1, or v2 as far as I know

ibmdannywong
2016-07-15 04:20
e.g. in my git, a contract /x/y/contract_a.go (i.e. this is a v1) then this v1 is executed for several days. And we found a bug in it and fixed it as /x/y/contract_a.go (v2)

ibmdannywong
2016-07-15 04:20
so... the version is just from development perspective

ibmdannywong
2016-07-15 04:21
from perspective of HL, there is only 1 copy / 1 version of contract_a.go

danayelx
2016-07-15 04:22
every contract will generate a new hash

danayelx
2016-07-15 04:22
when you invoke you will pass the hash of the contract

ibmdannywong
2016-07-15 04:22
right...

danayelx
2016-07-15 04:22
so v1 hash will be different from v2

ibmdannywong
2016-07-15 04:23
ok, so... that v1,v2 in git are just from source management perspective

danayelx
2016-07-15 04:23
yes

ibmdannywong
2016-07-15 04:23
ic

ibmdannywong
2016-07-15 04:23
ok

ibmdannywong
2016-07-15 04:23
thanks

danayelx
2016-07-15 04:23
sure n[

danayelx
2016-07-15 04:23
np

ibmdannywong
2016-07-15 04:23
any area puzzling me is that the init method

ibmdannywong
2016-07-15 04:24
if we PutState("my balance", 100) in init method

ibmdannywong
2016-07-15 04:24
then we deploy a new contract (say after bugfix)

ibmdannywong
2016-07-15 04:25
then my balance will be overwritten by the deploy instruction

ibmdannywong
2016-07-15 04:25
of course, we need to design our code

ibmdannywong
2016-07-15 04:25
but just the usage of init is very dangerous..

danayelx
2016-07-15 04:25
I am not sure, but the balance will be defined by the chaincode

danayelx
2016-07-15 04:25
so deploying a new contract may have a new state

danayelx
2016-07-15 04:26
that is a good question

danayelx
2016-07-15 04:26
the state is nothing but a kvs

ibmdannywong
2016-07-15 04:26
yes...

danayelx
2016-07-15 04:26
that you can manage through the given chaincode

danayelx
2016-07-15 04:26
v1 and v2 do not share states

danayelx
2016-07-15 04:26
at least, that is my understanding, someone here please correct me

ibmdannywong
2016-07-15 04:27
umm... v1 and v2 do not share states.. it can be translated into 2 contracts (with 2 hashes) on same ledger (business network )do not share states, right?...

danayelx
2016-07-15 04:29
that is a good q, I am not 100% sure how that would work tbh

danayelx
2016-07-15 04:29
one countract could indeed invoke the other

danayelx
2016-07-15 04:29
and alter the other’s state

ibmdannywong
2016-07-15 04:30
btw, nice profile pic.

danayelx
2016-07-15 04:30
haha, yes, its a classic :slightly_smiling_face:

ibmdannywong
2016-07-15 04:30
love it :stuck_out_tongue:

bgorman
2016-07-15 05:37
@ibmdannywong @danayelx I think a good way to migrate from chaincode v1 to v2 might be to have your v2 Init() query the v1 for its current state and save it as its own

bgorman
2016-07-15 05:38
there's a RangeQueryState() function that you would just walk the whole table with, otherwise you might have the v1 state changing underneath you as you try to populate v2's state

danayelx
2016-07-15 05:46
anyone knows a good way to reset the ledger?

danayelx
2016-07-15 05:47
after a few invocations I keep getting a corrupted ledger

danayelx
2016-07-15 05:47
fabricLogger:ERROR: 172.17.0.2:5000 @ block 3: Error getting transactions: key "transactions" not known in dictionary fabricLogger:ERROR: Full HTTP token dump fabricLogger:ERROR: HTTP 'ncode' = '200' fabricLogger:ERROR: sock sock239dfc0 fabricLogger:ERROR: http HTTP/1.1 200 OK fabricLogger:ERROR: querylength 0 fabricLogger:ERROR: -queryblocksize 8192 fabricLogger:ERROR: state body fabricLogger:ERROR: charset iso8859-1 fabricLogger:ERROR: type application/json

danayelx
2016-07-15 05:47
...

bgorman
2016-07-15 05:47
I think you can delete /var/hyperledger/production

danayelx
2016-07-15 05:48
taht dir is empty

danayelx
2016-07-15 05:48
that is what I thought too

danayelx
2016-07-15 05:48
but that dir is empty

danayelx
2016-07-15 05:48
what is weird is that on my other setup it is not empty

danayelx
2016-07-15 05:48
i thought rocksdb lived there

bgorman
2016-07-15 05:48
ok... that's where the db is stored.... so that's not good

bgorman
2016-07-15 05:48
yes

danayelx
2016-07-15 05:48
hahah

bgorman
2016-07-15 05:48
you're inside the peer's docker container right?

danayelx
2016-07-15 05:49
yes

danayelx
2016-07-15 05:49
vagrant ssh

danayelx
2016-07-15 05:49
loged in

danayelx
2016-07-15 05:49
launched two instances

danayelx
2016-07-15 05:49
so have 2 node network

danayelx
2016-07-15 05:49
can deploy and query code

bgorman
2016-07-15 05:49
you're on the vagrant machine?

danayelx
2016-07-15 05:49
yes

bgorman
2016-07-15 05:49
not inside docker?

bgorman
2016-07-15 05:49
run `docker ps -a`

danayelx
2016-07-15 05:50
vagrant@hyperledger-devenv:v0.0.10-0581047:/opt/gopath/src/github.com/hyperledger/fabric$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES fc55dfc1c659 hyperledger/fabric-peer "peer node start" 5 minutes ago Up 5 minutes sharp_tesla 7f5eb058c4df hyperledger/fabric-peer "peer node start" 6 minutes ago Up 6 minutes amazing_albattani 8de1b18af036 dev-vp1-dc1ce6ef01f000c612617aebda4090f9c13639a091a98f7f00f2831c246f15a9f04324e3690f1525e9f831253e68a2112a44ef00ebcc36d6257736bd6ed226e4 "/opt/gopath/bin/dc1c" 23 minutes ago Exited (0) 23 minutes ago dev-vp1-dc1ce6ef01f000c612617aebda4090f9c13639a091a98f7f00f2831c246f15a9f04324e3690f1525e9f831253e68a2112a44ef00ebcc36d6257736bd6ed226e4 4f06ef1e0f41 dev-vp0-dc1ce6ef01f000c612617aebda4090f9c13639a091a98f7f00f2831c246f15a9f04324e3690f1525e9f831253e68a2112a44ef00ebcc36d6257736bd6ed226e4 "/opt/gopath/bin/dc1c" 23 minutes ago Exited (0) 19 minutes ago dev-vp0-dc1ce6ef01f000c612617aebda4090f9c13639a091a98f7f00f2831c246f15a9f04324e3690f1525e9f831253e68a2112a44ef00ebcc36d6257736bd6ed226e4 b418edd1748d hyperledger/fabric-peer "peer node start" 24 minutes ago Up 9 minutes 0.0.0.0:5000->5000/tcp determined_sinoussi cf5af709782e c14928868ce4 "go install http://github.co" 35 hours ago Exited (0) 35 hours ago serene_sinoussi 7221d55b7397 c14928868ce4 "go install http://github.co" 35 hours ago Exited (0) 35 hours ago

bgorman
2016-07-15 05:50
your peers are sharp_tesla and amazing_albattani

bgorman
2016-07-15 05:51
maybe determined_sinoussi too

bgorman
2016-07-15 05:51
try `docker exec -it NAME bash`

bgorman
2016-07-15 05:51
that'll get you inside their containers

danayelx
2016-07-15 05:52
yeah one of them has a db

danayelx
2016-07-15 05:52
wait ok, so I thought I had an isolated network

danayelx
2016-07-15 05:53
with bitcoin I can run regtest local

bgorman
2016-07-15 05:53
sorry, I'm not familiar with bitcoin so `regtest local` doesn't mean much to me

danayelx
2016-07-15 05:53
sorry, regtest was the test network

danayelx
2016-07-15 05:53
isolated

danayelx
2016-07-15 05:53
so I could run my own peers

danayelx
2016-07-15 05:54
in like a test env

danayelx
2016-07-15 05:54
with hyperledger, when I start my peer, does it connect to other peers?

bgorman
2016-07-15 05:54
only if you tell it about the other peers

danayelx
2016-07-15 05:54
mmm intereting

bgorman
2016-07-15 05:56
you start a root peer, then subsequent peers need to be told who to talk to about joining the network with CORE_PEER_DISCOVERY_ROOTNODE=172.17.0.x:30303 (or equivalent YAML setting)

danayelx
2016-07-15 05:56
right

danayelx
2016-07-15 05:56
so I have 1 root and one peer I told to join

danayelx
2016-07-15 05:56
where do the others come from?

danayelx
2016-07-15 05:57
or are they just random nodes added to the network?

bgorman
2016-07-15 05:58
first, check what peers are in your network... you can do a GET /network/peers

danayelx
2016-07-15 05:58
{"peers":[{"ID":{"name":"vp1"},"address":"0.0.0.0:30303","type":1},{"ID":{"name":"vp0"},"address":"172.17.0.2:30303","type":1}]}

danayelx
2016-07-15 05:58
only the two I know

danayelx
2016-07-15 05:59
ohhh

danayelx
2016-07-15 05:59
wait

danayelx
2016-07-15 05:59
I see

bgorman
2016-07-15 05:59
well, you've got the peer network you expect then

danayelx
2016-07-15 05:59
the names are random

bgorman
2016-07-15 05:59
yeah, that's a docker thing

bgorman
2016-07-15 05:59
it gives you a "nice" name if you don't assign one

danayelx
2016-07-15 05:59
got it

danayelx
2016-07-15 05:59
thanks

bgorman
2016-07-15 06:00
you can set a name using CORE_PEER_ID=vpX

bgorman
2016-07-15 06:00
when you run peer node start

danayelx
2016-07-15 06:00
got it

danayelx
2016-07-15 06:01
in this case I see I have several docker instances running

bgorman
2016-07-15 06:01
I've started doing that with mine, and got rid of the `--rm` that deletes them when you ctrl+C

danayelx
2016-07-15 06:01
besides the two I just started

bgorman
2016-07-15 06:01
yeah... some will be chaincode instances

danayelx
2016-07-15 06:01
ohhhh

danayelx
2016-07-15 06:01
right

danayelx
2016-07-15 06:01
i forgot about that

danayelx
2016-07-15 06:01
chaincode runs in its own

danayelx
2016-07-15 06:02
is this all written somehwere?

danayelx
2016-07-15 06:02
haha

bgorman
2016-07-15 06:02
you do look like you have 3 peers running though

bgorman
2016-07-15 06:02
not that I've found :slightly_smiling_face:

danayelx
2016-07-15 06:02
yes, I think so too

danayelx
2016-07-15 06:06
awesome thanks!

danayelx
2016-07-15 06:06
im new to devops so still trying to understand all the moving pieces

bgorman
2016-07-15 06:07
found the rocks DB? :slightly_smiling_face:

bgorman
2016-07-15 06:08
nps, the way all this gets deployed (at least in a dev env) is quite new to me too

danayelx
2016-07-15 06:10
yes fond it

danayelx
2016-07-15 06:10
since it is two instances will need to delete both

danayelx
2016-07-15 06:10
that should reset them right?

danayelx
2016-07-15 06:10
is there something more graceful?

bgorman
2016-07-15 06:11
Sounds like it should to me. I'm not aware of anything else, sorry.

bgorman
2016-07-15 06:12
I don't think resetting the ledger is going to be a very common use case :slightly_smiling_face:

danayelx
2016-07-15 06:13
well it is

danayelx
2016-07-15 06:13
here is the problem I am seeing

danayelx
2016-07-15 06:13
I use the default finished chaincode in the tutorial

danayelx
2016-07-15 06:13
I deploy it and write to it

danayelx
2016-07-15 06:14
CORE_PEER_ADDRESS=172.17.0.2:30303 peer chaincode invoke -n $NAME -c '{"Function": "write", "Args": ["key1", "value1"]}'

danayelx
2016-07-15 06:14
that works ok...

danayelx
2016-07-15 06:14
do thsi for a few times

danayelx
2016-07-15 06:14
vagrant@hyperledger-devenv:v0.0.10-0581047:/opt/gopath/src/github.com/hyperledger/fabric/tools/busywork/bin$ ./fabricLogger 172.17.0.2 b 0 d dc1ce6ef01f000c612617aebda4090f9c13639a091a98f7f00f2831c246f15a9f04324e3690f1525e9f831253e68a2112a44ef00ebcc36d6257736bd6ed226e4 b 1 i 73e41359-1fea-4eea-8754-cc8567afd67d b 2 i c2a103fe-93fc-438d-a6c7-9333333e93a0 i fbd3fd09-a123-4dcb-9a73-941f312b4cfa b 3 i b770719f-ced0-4c00-b7c6-d6df4b48f62b b 4 i 7d8fecc1-64e6-47b0-80f1-cb109f0f5c39 b 5

danayelx
2016-07-15 06:14
I see the chain fine

danayelx
2016-07-15 06:14
then I query or read and then it all enters a funky state

danayelx
2016-07-15 06:15
CORE_PEER_ADDRESS=172.17.0.2:30303 peer chaincode invoke -n $NAME -c '{"Function": "query", "Args": ["key1"]}'

danayelx
2016-07-15 06:15
vagrant@hyperledger-devenv:v0.0.10-0581047:/opt/gopath/src/github.com/hyperledger/fabric/tools/busywork/bin$ ./fabricLogger 172.17.0.2 b 0 d dc1ce6ef01f000c612617aebda4090f9c13639a091a98f7f00f2831c246f15a9f04324e3690f1525e9f831253e68a2112a44ef00ebcc36d6257736bd6ed226e4 b 1 i 73e41359-1fea-4eea-8754-cc8567afd67d b 2 i c2a103fe-93fc-438d-a6c7-9333333e93a0 i fbd3fd09-a123-4dcb-9a73-941f312b4cfa b 3 i b770719f-ced0-4c00-b7c6-d6df4b48f62b b 4 i 7d8fecc1-64e6-47b0-80f1-cb109f0f5c39 b 5 fabricLogger:ERROR: 172.17.0.2:5000 @ block 6: Error getting transactions: key "transactions" not known in dictionary fabricLogger:ERROR: Full HTTP token dump fabricLogger:ERROR: HTTP 'ncode' = '200' fabricLogger:ERROR: sock sock1666f40 fabricLogger:ERROR: http HTTP/1.1 200 OK fabricLogger:ERROR: querylength 0 fabricLogger:ERROR: -queryblocksize 8192 fabricLogger:ERROR: state body fabricLogger:ERROR: charset iso8859-1 fabricLogger:ERROR: type application/json fabricLogger:ERROR: -binary false fabricLogger:ERROR: url http://172.17.0.2:5000/chain/blocks/6 fabricLogger:ERROR: -keepalive 0 fabricLogger:ERROR: -timeout 0 fabricLogger:ERROR: socketinfo 172.17.0.2:5000 fabricLogger:ERROR: queryoffset 0 fabricLogger:ERROR: binary 1 fabricLogger:ERROR: -strict 1 fabricLogger:ERROR: totalsize 302 fabricLogger:ERROR: -validate 0 fabricLogger:ERROR: -protocol 1.1 fabricLogger:ERROR: connection close fabricLogger:ERROR: -queryprogress fabricLogger:ERROR: -headers fabricLogger:ERROR: -blocksize 8192 fabricLogger:ERROR: coding fabricLogger:ERROR: status ok fabricLogger:ERROR: body {"stateHash":"IL+w/prD0WGh/oYjnCIq0pKph3Mjk2vAC/win7hUoNgTdcG/6aGYS/zdEST3NVipLulJL3jt54NqBk91m1KjRw==","previousBlockHash":"+2y5so2IA9Bj1wyD9SDp022yUj1XCOtzzrMUGBP4kZBqVmAa+gNYuhzaARdFQNwrxzuZY4E3Mq3uKo8irwwb0A==","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1468563187,"nanos":727214220}}} fabricLogger:ERROR: currentsize 302 fabricLogger:ERROR: meta Access-Control-Allow-Headers {accept, content-type} Access-Control-Allow-Origin * Content-Type application/json Date {Fri, 15 Jul 2016 06:13:08 GMT} Content-Length 302 Connection close fabricLogger:ERROR: -type application/x-www-form-urlencoded fabricLogger:ERROR: Aborting

bgorman
2016-07-15 06:15
CORE_PEER_ADDRESS=172.17.0.2:30303 peer chaincode `invoke` -n $NAME -c '{"Function": "`query`", "Args": ["key1"]}'

bgorman
2016-07-15 06:16
you're querying on your invoke

bgorman
2016-07-15 06:16
try `peer chaincode query`

danayelx
2016-07-15 06:16
ahh shoot

danayelx
2016-07-15 06:16
query then function = read

danayelx
2016-07-15 06:16
crap

danayelx
2016-07-15 06:16
thank you

danayelx
2016-07-15 06:16
let me try again

danayelx
2016-07-15 06:16
ok, here is the thing

bgorman
2016-07-15 06:16
can you link me the tutorial you are using please?

danayelx
2016-07-15 06:16
it still breaks things tho


danayelx
2016-07-15 06:17
the invoke should cause some sort of error

danayelx
2016-07-15 06:18
instead after that happens, getting transactions through rest does not worl

danayelx
2016-07-15 06:18
{"Error":"Transaction d7625c3a-1128-4624-88bb-b83576e6f329 is not found."}

danayelx
2016-07-15 06:18
that works if invoke does not get called

bgorman
2016-07-15 06:19
looking at the Invoke() in that tutorial, it shouldn't do anything unless the `Function:init` or `write`

bgorman
2016-07-15 06:20
you should have got an error `"invoke did not find func: " + function`

bgorman
2016-07-15 06:20
where did you get the transaction ID d7625c3a-1128-4624-88bb-b83576e6f329 from?

danayelx
2016-07-15 06:21
from calling the erroneous read operation

danayelx
2016-07-15 06:21
vagrant@hyperledger-devenv:v0.0.10-0581047:~$ CORE_PEER_ADDRESS=172.17.0.2:30303 peer chaincode invoke -n $NAME -c '{"Function": "query", "Args": ["key1"]}' 2016/07/15 06:13:06 Load docker HostConfig: &{Binds:[] CapAdd:[] CapDrop:[] ContainerIDFile: LxcConf:[] Privileged:false PortBindings:map[] Links:[] PublishAllPorts:false DNS:[] DNSSearch:[] ExtraHosts:[] VolumesFrom:[] NetworkMode:host IpcMode: PidMode: UTSMode: RestartPolicy:{Name: MaximumRetryCount:0} Devices:[] LogConfig:{Type: Config:map[]} ReadonlyRootfs:false SecurityOpt:[] CgroupParent: Memory:0 MemorySwap:0 MemorySwappiness:0 OOMKillDisable:false CPUShares:0 CPUSet: CPUSetCPUs: CPUSetMEMs: CPUQuota:0 CPUPeriod:0 BlkioWeight:0 Ulimits:[]} d7625c3a-1128-4624-88bb-b83576e6f329

bgorman
2016-07-15 06:21
ok... I don't think that Transaction actually committed to the blockchain

bgorman
2016-07-15 06:22
I've seen Transaction IDs get logged when doing queries, but they don't actually make blocks or transactions

bgorman
2016-07-15 06:22
that only happens when a successful PutState() happens (ie. a good Init() or Invoke())

danayelx
2016-07-15 06:23
ok, good

danayelx
2016-07-15 06:23
i think you are right

bgorman
2016-07-15 06:23
you could walk your blockchain to confirm that (or just check the chain length afterwards)

danayelx
2016-07-15 06:24
I tried using the logger utility to walk it

bgorman
2016-07-15 06:24
query == no new blocks bad invoke == no new blocks good invoke == a new block

danayelx
2016-07-15 06:24
but it cries me a river

danayelx
2016-07-15 06:24
after that tx

bgorman
2016-07-15 06:24
does your REST work?

danayelx
2016-07-15 06:24
b 4 i 7d8fecc1-64e6-47b0-80f1-cb109f0f5c39 b 5 fabricLogger:ERROR: 172.17.0.2:5000 @ block 6: Error getting transactions: key "transactions" not known in dictionary fabricLogger:ERROR: Full HTTP token dump fabricLogger:ERROR: HTTP 'ncode' = '200'

bgorman
2016-07-15 06:25
where is the logger util? not come across that yet

danayelx
2016-07-15 06:25
rest will not get any block past bloc # 5

bgorman
2016-07-15 06:26
what's does it say when you GET /chain

bgorman
2016-07-15 06:26
height 6? :slightly_smiling_face:

danayelx
2016-07-15 06:26
wait sorry

danayelx
2016-07-15 06:26
rest works

danayelx
2016-07-15 06:26
the explorer won’t tho

bgorman
2016-07-15 06:27
I only watched the short video for the explorer, didn't try to use it. Might be buggy?

danayelx
2016-07-15 06:28
possibly, the corrupted tx is at block 6 and it is the only one with an issue

danayelx
2016-07-15 06:28
but rest is ok

danayelx
2016-07-15 06:28
from the looks of it

danayelx
2016-07-15 06:28
fabricLogger is in /opt/gopath/src/github.com/hyperledger/fabric/tools/busywork/bin

danayelx
2016-07-15 06:28
./fabricLogger 172.17.0.

bgorman
2016-07-15 06:29
my vagrant VM seems to be missing tclsh, can't run it

bgorman
2016-07-15 06:29
:disappointed:

danayelx
2016-07-15 06:31
ahhh, yeah, I had to get a new env 3 times already due to several issues

danayelx
2016-07-15 06:31
haha

danayelx
2016-07-15 06:31
been there

bgorman
2016-07-15 06:32
so your REST interface works? your blockchain height is >6? can you GET /chain/blocks/6 ?

danayelx
2016-07-15 06:32
yes

danayelx
2016-07-15 06:32
the thing is that both fabricLogger and possibly the explorer key off the ‘transaction’ key

danayelx
2016-07-15 06:33
however, since the invoke failed, no tx was commited

danayelx
2016-07-15 06:33
{"stateHash":"IL+w/prD0WGh/oYjnCIq0pKph3Mjk2vAC/win7hUoNgTdcG/6aGYS/zdEST3NVipLulJL3jt54NqBk91m1KjRw==","previousBlockHash":"+2y5so2IA9Bj1wyD9SDp022yUj1XCOtzzrMUGBP4kZBqVmAa+gNYuhzaARdFQNwrxzuZY4E3Mq3uKo8irwwb0A==","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1468563187,"nanos":727214220}}}

danayelx
2016-07-15 06:33
see, no transaction

danayelx
2016-07-15 06:33
but the block is there

danayelx
2016-07-15 06:33
so here is the thing, if it was invalid, why was it added to the chain?

danayelx
2016-07-15 06:33
should it be added?

bgorman
2016-07-15 06:34
I don't know, I've never seen it do that

bgorman
2016-07-15 06:34
let me try invoking with a bad function

danayelx
2016-07-15 06:34
so it could be a bug


bgorman
2016-07-15 06:37
doh... chaincode_example02 doesn't care about the function name... let me make a chaincode that does

caosj
2016-07-15 06:48
has joined #general

ibmdannywong
2016-07-15 07:12
BTW, for hyperledger... if i want to ask a unanswered question, should we ask in StackOverflow instead of here?

bgorman
2016-07-15 07:13
you can try here and try SO, up to you :slightly_smiling_face:

bgorman
2016-07-15 07:20
@danayelx: sorry, not having much luck deploying chaincode that isn't in the hyperledger folder :confused:

bgorman
2016-07-15 07:21
it looks like my `peer chaincode deploy` works but then I get this in a block where I expect the deploy to happen <error>Failed to launch chaincode spec(Error starting container: The command '/bin/sh -c go install http://github.com/IBM-Blockchain/learn-chaincode/blob/master/finished &amp;&amp; cp src/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin &amp;&amp; mv $GOPATH/bin/finished $GOPATH/bin/842b56c1a37dbe53282da0885c126ad4d2e52b885a1ac577e7abd1cb6b8e4bb15ddced4db7d5c9f05f1afbb7d993448cc3ee9cf5d46eadb87f1a0f5d899254ed' returned a non-zero code: 2)</error>

bgorman
2016-07-15 07:59
@danayelx: so I seem to get a transactions even when I have the wrong function name... maybe you're on a slightly different commit level of hyperledger to me though bad function: {"transactions":[{"type":2,"chaincodeID":"Eo...jA=","payload":"Cp...Zw==","uuid":"d1cd8f76-61ea-4c28-8e84-217c48c6c901","timestamp":{"seconds":1468569313,"nanos":770787480}}],"stateHash":"iDI+Jxun66wZT7s1BzXo/Qt6WHAv+lIz7CGVZ1GhCCSee0mVBF1+3dcw8S7S3rFpTSi5KwXRr6OcOLTT+HoP1w==","previousBlockHash":"7e/e1D9brUB0/DHtlwHvepki/zHzAnC7RPR1RdC+PlTOeUepj5aqPT8fBC+zV/jK8X6dXe+C8VCZo6caqmpt+g==","consensusMetadata":"CA8=","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1468569313,"nanos":782345226},"transactionResults":[{"uuid":"d1cd8f76-61ea-4c28-8e84-217c48c6c901","errorCode":1,"error":"Transaction or query returned with failure: Received unknown function invocation"}]}} good function: {"transactions":[{"type":2,"chaincodeID":"Eo...jA=","payload":"Cp...5n","uuid":"936febc9-3234-4224-9d80-a4ea52d58396","timestamp":{"seconds":1468569350,"nanos":48766998}}],"stateHash":"iDI+Jxun66wZT7s1BzXo/Qt6WHAv+lIz7CGVZ1GhCCSee0mVBF1+3dcw8S7S3rFpTSi5KwXRr6OcOLTT+HoP1w==","previousBlockHash":"+M+98bpw6CnIXAl9hPw8qEhyE9/xkNoHS8mdctC906ADDiWL7MLqEfHwETpMQpHsijSQiAAnp8GQxzO4VUXBlQ==","consensusMetadata":"CBA=","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1468569350,"nanos":73584796},"transactionResults":[{"uuid":"936febc9-3234-4224-9d80-a4ea52d58396"}]}}

bgorman
2016-07-15 08:00
that was an `invoke` via the REST API if that makes any difference

yajneshrai
2016-07-15 08:36
Hi, I'm trying to run 2 validating peers, which I could run successfully for the first time. But when I stopped them and restarted (CA service too), it threw an error as "Identity or token does not match". Below is the description of error shown in console. vagrant@hyperledger-devenv:v0.0.10-0581047:/opt/gopath/src/github.com/hyperledger/fabric$ docker run --rm -it -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_PEER_ID=test_v p0 -e CORE_PEER_ADDRESSAUTODETECT=true -e CORE_SECURITY_ENABLED=true -e CORE_SECURITY_PRIVACY=true -e CORE_PEER_PKI_ECA_PADDR=172.17.0.1:50051 -e CORE_PEER_PKI_TCA_PADDR=172.1 7.0.1:50051 -e CORE_PEER_PKI_TLSCA_PADDR=172.17.0.1:50051 -e CORE_SECURITY_ENROLLID=test_vp0 -e CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT hyperledger/fabric-peer peer node start 2016/07/15 08:28:32 Load docker HostConfig: &{Binds:[] CapAdd:[] CapDrop:[] ContainerIDFile: LxcConf:[] Privileged:false PortBindings:map[] Links:[] PublishAllPorts:false DNS:[] DNSSearch:[] ExtraHosts:[] VolumesFrom:[] NetworkMode:host IpcMode: PidMode: UTSMode: RestartPolicy:{Name: MaximumRetryCou nt:0} Devices:[] LogConfig:{Type: Config:map[]} ReadonlyRootfs:false SecurityOpt:[] CgroupParent: Memory:0 MemorySwap:0 MemorySwappiness:0 OOMKillDisable:false CPUShares:0 CPUSet: CPUSetCPUs: CPUSetMEMs: CPUQuota:0 CPUPeriod:0 BlkioWeight:0 Ulimits:[]} 08:28:32.928 [peer] func1 -> INFO 002 Auto detected peer address: 172.17.0.2:30303 08:28:32.929 [peer] func1 -> INFO 003 Auto detected peer address: 172.17.0.2:30303 08:28:32.931 [main] serve -> INFO 004 Security enabled status: true 08:28:32.931 [eventhub_producer] start -> INFO 006 event processor started 08:28:32.931 [main] serve -> INFO 005 Privacy enabled status: true 08:28:32.931 [crypto] RegisterValidator -> INFO 007 Registering validator [test_vp0] with name [test_vp0]... 08:28:32.969 [crypto] Errorf -> ERRO 008 [validator.test_vp0] Failed invoking CreateCertficatePair [rpc error: code = 2 desc = "Identity or token does not match."]. 08:28:32.969 [crypto] Errorf -> ERRO 009 [validator.test_vp0] Failed getting enrollment certificate [id=test_vp0]: [rpc error: code = 2 desc = "Identity or token does not match."] 08:28:32.969 [crypto] Errorf -> ERRO 00a [validator.test_vp0] Failed retrieving enrollment data [rpc error: code = 2 desc = "Identity or token does not match."]. 08:28:32.969 [crypto] Errorf -> ERRO 00b [validator.test_vp0] Failed registering node crypto engine [rpc error: code = 2 desc = "Identity or token does not match."]. 08:28:32.969 [crypto] Errorf -> ERRO 00c [validator.test_vp0] Failed registering [test_vp0]: [rpc error: code = 2 desc = "Identity or token does not match."] 08:28:32.969 [crypto] Errorf -> ERRO 00d [validator.test_vp0] Failed registering [test_vp0]: [rpc error: code = 2 desc = "Identity or token does not match."] 08:28:32.969 [crypto] RegisterValidator -> ERRO 00e Failed registering validator [test_vp0] with name [test_vp0] [rpc error: code = 2 desc = "Identity or token does not match."]. Usage: peer node start [flags] Flags: -h, --help[=false]: help for start --peer-chaincodedev[=false]: Whether peer in chaincode development mode Global Flags: --logging-level="": Default logging level and overrides, see core.yaml for full syntax --test.coverprofile="coverage.cov": Done Error: rpc error: code = 2 desc = "Identity or token does not match." 08:28:32.969 [main] main -> INFO 00f Exiting.....

ibmdannywong
2016-07-15 09:12
omg..

slaxman
2016-07-15 10:06
the second time you run the validator, you need to delete /var/lib/hyperledger/production

slaxman
2016-07-15 10:09
@yajneshrai:

slaxman
2016-07-15 10:09
I have the same issue, need to find a way out instead of remove the data

sonke
2016-07-15 11:22
has joined #general

ashishkel
2016-07-15 11:23
Hi , any one knows the root password of vagrant image which we are using in the Hyperledger ?

ashishkel
2016-07-15 11:23
i meant the ubuntu image ..

ashishkel
2016-07-15 11:24
i tried to access the docker images in /var/lib/docker

ashishkel
2016-07-15 11:24
so that i can move them to another machine which do not hv network connectivity..

ashishkel
2016-07-15 11:25
but it s throwing a "permission denied:

simonloader
2016-07-15 11:25
They are publicly available


simonloader
2016-07-15 11:37
sudo works on the vagrant image

grapebaba
2016-07-15 12:49
guys who have issue with CA and peers, this PR should helpful


karthikksiti
2016-07-15 14:15
has joined #general

albertbarron
2016-07-15 14:40
has joined #general

steven.lebowitz
2016-07-15 14:50
has joined #general

yiseul
2016-07-15 15:18
Hi, anyone know how to schedule events (running contracts) daily (or at certain intervals) on Fabric?

gemoore
2016-07-15 16:35
has joined #general

danayelx
2016-07-15 17:17
@bgorman: I am 22 comits behind master

danayelx
2016-07-15 17:17
I did a merge to my branch Wed bc needed to submit a pull request

danayelx
2016-07-15 17:18
not sure, at least this build won’t complain if I submit erroneous invokations

danayelx
2016-07-15 17:18
could be chaincode related

danayelx
2016-07-15 17:18
I also had issues submitting chaincode locally, so far, only using github :.

danayelx
2016-07-15 17:18
:confused:

vikasjakhar
2016-07-15 18:30
hi..

vikasjakhar
2016-07-15 18:30
I have a question on membersrvc

vikasjakhar
2016-07-15 18:31
the example shows the configuration is in a file. Is that the only way to do it. Can we have our own security rather than using default membersrvc provided by hyperledger

danayelx
2016-07-15 18:42
you mean like a plugin?

nkunkel
2016-07-15 19:02
@bgorman The erorr you got: "<error>Failed to launch chaincode spec(Error starting container: The command '/bin/sh -c go install http://github.com/IBM-Blockchain/learn-chaincode/blob/master/finished &amp;&amp; cp src/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin &amp;&amp; mv $GOPATH/bin/finished $GOPATH/bin/842b56c1a37dbe53282da0885c126ad4d2e52b885a1ac577e7abd1cb6b8e4bb15ddced4db7d5c9f05f1afbb7d993448cc3ee9cf5d46eadb87f1a0f5d899254ed' returned a non-zero code: 2)</error>" Means your chaincode has a compile error so it can't deploy it. Go to your chaincode file and do a go build file.go Fix any of your compile errors/warnings and then try deploying again.

vikasjakhar
2016-07-15 19:24
@danayelx: Yes correct..like a plugin can we olug in any other identity management

vikasjakhar
2016-07-15 19:24
plug in

merve
2016-07-15 19:28
has joined #general

danayelx
2016-07-15 19:56
mmm, my understanding is that the fabric is modular, however, right now only the consensus piece has been worked on, not sure about thememberservc

vikasjakhar
2016-07-15 20:17
ok..thanks

hull
2016-07-15 22:04
has joined #general

moriyama
2016-07-15 23:20
has joined #general

larrylu2000
2016-07-16 06:46
has joined #general

pbhalesain
2016-07-16 09:52
has joined #general

mark_lester
2016-07-16 11:52
what is the status of "private" validation on HL. by that I mean validation only using parties to a contract as the data needed to validate may be private. I am assuming that this hasnt as yet been implemented in the consensus system. is that right ?, that it's currently left to the user or wait, we all know we are going to need to do this ?. I also need this network to be dynamic, i need to add and remove parties mid-flight as long as we all agree.

buhrmi
2016-07-16 15:25
morning..........

buhrmi
2016-07-16 15:27
need funding for hashgraph implementation and setting up test net ... anybody here who got some $$$ lying around? :open_mouth:

buhrmi
2016-07-16 15:30
offer some company stock and a place in the captable in return, haha

jcb
2016-07-16 15:48
has joined #general

lohenberg
2016-07-16 16:26
has joined #general

soliditylabs
2016-07-16 19:13
has joined #general

will
2016-07-16 20:21
has joined #general

roylai
2016-07-17 02:01
has joined #general

liewsc
2016-07-17 03:06
has joined #general

avneet117
2016-07-17 03:16
has joined #general

james.buckett
2016-07-17 07:01
Hello All I am getting an error : panic: Invalid PBFT mode: classic since today when launching hyperledger images

james.buckett
2016-07-17 07:02
has a new image been released that depreciates PBFT mode: classic

james.buckett
2016-07-17 07:20
ok so it looks like classic is depreciated and have to use "batch" with hyperledger images

svr
2016-07-17 10:27
has joined #general


cbf
2016-07-17 22:31
as Bob Summerwill notes in comments, Hyperledger Fabric is not about public blockchains. It is designed for permissioned blockchain networks "where everyone knows your name”, as it were.

koichi
2016-07-18 03:18
has joined #general

saeimson
2016-07-18 04:36
has joined #general

umasuthan
2016-07-18 05:20
has joined #general

leetn
2016-07-18 05:24
has joined #general

mark_lester
2016-07-18 06:03
You all know this https://blog.ethereum.org/2016/01/15/privacy-on-the-blockchain/ . The only realistic way of doing this is by only using the nodes on the contract. What I am asking is, is this business of just using the nodes on the contract, and ALL those nodes (everyone has to agree) practice or theory right now with hyperledger ? I have a working solution, but f I can find a standard platform that does this then I dont have to implement my own blockchain from the bottom up, which is in effect what I am doing right now. Proof of work as mentioned above is another one as we appear to be in the hands of the application programmers in the fintech world not to leather the system to death and behave in a socially acceptable manner. My experience of the insurance biz so far doesnt bode well on that front, but if we can restrict the traffic so you only screw your own business partners' systems then it could work.

kuangyifei
2016-07-18 06:03
has joined #general

ashishkel
2016-07-18 06:48
Guys any one knows which file has been used to configure the vagrant env's IP address?

ashishkel
2016-07-18 06:48
the one which is being used by the fabric of HL

bgorman
2016-07-18 06:53
@ashishkel: you want to change the IP address of the vagrant VM? or you just want to set the IP of the fabric when starting a peer?

ashishkel
2016-07-18 06:53
yea, i want to change the ip address of the vagrant..

ashishkel
2016-07-18 06:53
i see that it always 172.17.0.1

bgorman
2016-07-18 06:54
ok... that's the docker0 interface

ashishkel
2016-07-18 06:54
oh,

ashishkel
2016-07-18 06:54
thats is the docker's ip addres..

ashishkel
2016-07-18 06:54
?

ashishkel
2016-07-18 06:54
ohkay.

bgorman
2016-07-18 06:55
Not a docker expert, but I guess something in here may help: https://docs.docker.com/v1.8/articles/networking/

ashnur
2016-07-18 07:50
when using `peer chaincode deploy` how are the path and/or name parameters resolved?

bgorman
2016-07-18 07:58
@ashnur if you mean the chaincode paths, they're on disk in $GOPATH/src for the VM and docker containers

bgorman
2016-07-18 07:59
the names you're referring to might be the docker container names (listed in `docker ps -a`)

ashnur
2016-07-18 07:59
bgorman: no, i don't mean the chaincode paths, i mean the peer chaincode deploy command

ashnur
2016-07-18 07:59
i want to deploy chaincode that is not in $GOPATH/src right now

ashnur
2016-07-18 07:59
because it is not even on the validating peer

ashnur
2016-07-18 08:00
i don't even understand how you can read that question and think about me asking "where are the chaincodes?"

bgorman
2016-07-18 08:01
sorry, I'm not sure what "path and/or name parameters" you are talking about then

bgorman
2016-07-18 08:01
perhaps you could provide an example

ashnur
2016-07-18 08:02
you can give either a path or a name parameter for the peer chaincode deploy command

bgorman
2016-07-18 08:02
as my deploy commands look like `peer chaincode deploy -p <chaincodePath> -c '<args>'

ashnur
2016-07-18 08:02
yeah, you are using path

ashnur
2016-07-18 08:03
but you could be using name

ashnur
2016-07-18 08:03
my question refers to the internal part of this: what kind of paths are allowed there, how they are resolved

ashnur
2016-07-18 08:03
what are my options when passing a path

ashnur
2016-07-18 08:05
all the examples assume that i only ever want to run the examples that are given with the fabric repo, i feel like when I was learning trigonometry and i only had to work on easy triangles with easy angles. when I tried a random triangle with random angles I was confused what should I do


bgorman
2016-07-18 08:06
I think you either have to load the files onto your peer, or I think it also can fetch them from a URL (like a github repo)

bgorman
2016-07-18 08:07
the name part is for this type of development setup: https://github.com/hyperledger/fabric/blob/master/docs/Setup/Chaincode-setup.md

ashnur
2016-07-18 08:09
Yeah, the name part is probably not what I want because after I asked the question here I read somewhere that the chaincode has to be already deployed to the network with that name in order to be used

ashnur
2016-07-18 08:09
which is weird, because why i want to redeploy

ashnur
2016-07-18 08:09
the more I read the more confused I get, that's why I came here :slightly_smiling_face:

bgorman
2016-07-18 08:13
are you developing the chaincode actively, to test locally?

bgorman
2016-07-18 08:13
if so, you want that tutorial I linked to

ashnur
2016-07-18 08:13
:smile:

ashnur
2016-07-18 08:13
people telling me i want something else that i want

ashnur
2016-07-18 08:14
@bgorman: I appreciate you trying to help, don't take it wrongly, it's just that I simply wanted to know the exact algorithm the -p parameter uses

ashnur
2016-07-18 08:14
nothing more, nothing less

bgorman
2016-07-18 08:15
sure, I think it's either a file path on your peer, or a URL it can use for `go get` or similar


adarshchaini
2016-07-18 11:14
has joined #general

ashishkel
2016-07-18 12:01
Hi All.

contrib
2016-07-18 12:34
has joined #general

mohan
2016-07-18 12:52
has joined #general

ricjhill
2016-07-18 13:02
How can I help with testing or documentation? Is there a backlog I can look at?

simon
2016-07-18 13:04
hi ricjhill

ricjhill
2016-07-18 13:04
Hi

simon
2016-07-18 13:05
you can start by just playing around with the code and document what is unclear or complicated to do

simon
2016-07-18 13:05
then open an issue to give these problems visibility

mart0nix
2016-07-18 13:09
Hi guys

mart0nix
2016-07-18 13:09
I have a quick question about the car lease demo

mart0nix
2016-07-18 13:09
is anyone around who is familiar with the chaincode for that demo ?

vugranam
2016-07-18 13:33
has joined #general

roger3cev
2016-07-18 13:35
has joined #general

mart0nix
2016-07-18 13:57
I will just go ahead - if anyone sees my question

mart0nix
2016-07-18 13:58
The current code saves changes to the vehicle object - but how does it record a history of the changes/updates during the lifecycle of a vehicle ?

mart0nix
2016-07-18 13:58
I remember seeing a vehicle_log.go chaincode which looked like a log of events recorded in an array but that file no longer exists in the repo

ari
2016-07-18 16:44
has joined #general

dharwadker
2016-07-18 17:04
has joined #general

nbalonek
2016-07-18 18:19
has joined #general

mart0nix
2016-07-18 18:47
is this not a very active channel ?

cbf
2016-07-18 18:53
it is, but this slack is so busy that the history gets truncated rather frequently

cbf
2016-07-18 18:53
we have nearly 2k people on this slack on 53 public channels

mart0nix
2016-07-18 18:57
hmm

mart0nix
2016-07-18 18:57
I see my message from 5 hours ago

mart0nix
2016-07-18 18:57
and since I see one guy who joined the channel - not much in between

derekkinsman
2016-07-18 19:00
@mart0nix: explore the other channels. General and random aren't really for specific things, they're mostly off banter or general questions.

mart0nix
2016-07-18 19:05
got it

mart0nix
2016-07-18 19:05
thanks

autumn
2016-07-18 19:31
has joined #general

theofilis
2016-07-18 19:34
has joined #general

arom
2016-07-18 20:06
has joined #general

globalcat
2016-07-18 20:26
has joined #general

ibmdannywong
2016-07-19 02:14
hi guys, is OpenBlockchain chaincode compilation require the code at GitHub?

ibmdannywong
2016-07-19 02:14
I guess it's a "no", right?

ibmdannywong
2016-07-19 02:14
I can still build the GoLang code and compile it locally then invoke "Deploy" API to deploy the code locally to test

thirumanoj
2016-07-19 02:19
has joined #general

mart0nix
2016-07-19 06:13
@ibmdannywong: apparently this channel is too general - you should check out the other channels

ibmdannywong
2016-07-19 06:13
Agreed, will do

ibmdannywong
2016-07-19 06:13
thanks mate

bgorman
2016-07-19 06:35
@ibmdannywong: I'm not sure I understand the question but... your code does not need to reside in GitHub, it can be on the peer's disk or it could be at another URL

bgorman
2016-07-19 06:36
if you're using the `--peer-chaincodedev` flag you can even just run a compiled binary

pranob
2016-07-19 08:06
Hi Guys do we have any option of querying everything from table without passing key?

bgorman
2016-07-19 08:09
@pranob are you speaking as a developer or the end-user of a chaincode?

ashnur
2016-07-19 08:13
can someone point me to an explanation, or if they have time explain what is the most defining reason to have separate Query and Invoke?

bgorman
2016-07-19 08:13
@pranob if you're developing a chaincode, you can make Query() take no params and return everything it can with GetTable() and related functions.... if you're just a user, it's up to the chaincode's implementation

ashnur
2016-07-19 08:14
so me, as a developer of chaincode, what should I use them for

bgorman
2016-07-19 08:14
@ashnur Query() does not make a Transaction and cannot change the blockchain ... Invoke() can and does

ashnur
2016-07-19 08:14
@bgorman: thank you

bgorman
2016-07-19 08:15
you're welcome :slightly_smiling_face:

ashnur
2016-07-19 08:23
funny thing is, i am fairly sure i knew this a few weeks ago, and i just forgot it :disappointed:

ashnur
2016-07-19 08:24
https://github.com/hyperledger/fabric/blob/master/docs/API/SandboxSetup.md I had this pinned in my browser and overnight it disappeared :smile:

pranob
2016-07-19 09:26
@bgorman: thanks! i am a chaincode developer, but GetTable function just returns table

pranob
2016-07-19 09:27
and getRow or getRows takes keys as parameter

simon
2016-07-19 09:38
pranob: querying all values is a bad idea

simon
2016-07-19 09:39
pranob: it means that you serialize all chaincode invocations

ashnur
2016-07-19 09:42
heh, I asked some people on a go-channel about the chaincode examples and they were like "stop using global variables" :disappointed:

somashekar
2016-07-19 09:43
Hello All, I have a new sample in examples folder which has encoding/json imported . when I run make I get the following error The goimports command must be run for these files make: *** [linter] Error 1. Help appreciated

daragao
2016-07-19 10:01
has joined #general

lkoehler
2016-07-19 11:23
has joined #general

saleem
2016-07-19 11:54
has joined #general

s.matthew.english
2016-07-19 12:28
has joined #general

s.matthew.english
2016-07-19 12:31
I'm trying to run this example peer chaincode deploy -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}' but I get the error failed to create client transport: connection error: desc = transport: dial tcp 0.0.0.0:30303: getsockopt: connection refused; Reconnecting to 0.0.0.0:30303 does anyone know what is the solution for that?

muralisr
2016-07-19 12:34
@s.matthew.english: if you running peer in docker you may want to use the docker instance’s ipaddress instead of 0.0.0.0

s.matthew.english
2016-07-19 12:37
I'm not

s.matthew.english
2016-07-19 12:37
I'm running it with vagrant

s.matthew.english
2016-07-19 12:37

s.matthew.english
2016-07-19 12:38
finally I got it to the point of 'cd $GOPATH/src/github.com/hyperledger/fabric'

s.matthew.english
2016-07-19 12:38
inside of having ssh-ed into vagrant

s.matthew.english
2016-07-19 12:39
@muralisr do you know if theres a way to execute that example using vagrant

s.matthew.english
2016-07-19 12:40
or should I just forget about vagrant and do everything with docker

simon
2016-07-19 12:41
why is setup of fabric so ridiculously complicated?

bfuentes
2016-07-19 12:44
network stuff

simon
2016-07-19 12:44
no.

simon
2016-07-19 12:44
nobody cares about making it easy to setup

bfuentes
2016-07-19 12:44
Os specificities ?

simon
2016-07-19 12:44
no

bfuentes
2016-07-19 12:44
there are Docker images

simon
2016-07-19 12:45
yes, that's the first problem

bfuentes
2016-07-19 12:45
well... still not bullet proof

s.matthew.english
2016-07-19 12:48
so then

s.matthew.english
2016-07-19 12:48
how to run these examples?

s.matthew.english
2016-07-19 12:49
are all of you guys at IBM?

bfuentes
2016-07-19 12:49
i used bluemix service

s.matthew.english
2016-07-19 12:49
thats an IBM thing

s.matthew.english
2016-07-19 12:49
isn't it?

bfuentes
2016-07-19 12:49
also Vagrant to do more hardiest stuff

bfuentes
2016-07-19 12:49
yes

bfuentes
2016-07-19 12:49
is the IBM cloud

s.matthew.english
2016-07-19 12:49
well I'm open to whatever

bfuentes
2016-07-19 12:49
is free

s.matthew.english
2016-07-19 12:49
it's only free for 30 days

bfuentes
2016-07-19 12:50
just pray for the service to be still up. It is still "Beta" stamped

bfuentes
2016-07-19 12:50
after you pass on freemium version

s.matthew.english
2016-07-19 12:50
I'm a student- do you think I could get some kind of student license?

bfuentes
2016-07-19 12:50
i don't know if they leave the Blockchain service still open on freemium

bfuentes
2016-07-19 12:50
anyway, there are no rates on it

bfuentes
2016-07-19 12:50
yep

bfuentes
2016-07-19 12:51
you can contact your University

bfuentes
2016-07-19 12:51
where are you from ?

s.matthew.english
2016-07-19 12:51
University of Bonn

s.matthew.english
2016-07-19 12:51
in Germany

bfuentes
2016-07-19 12:51
yep

bfuentes
2016-07-19 12:51
I can be ok

s.matthew.english
2016-07-19 12:51
so then- maybe I'll try to set up this: https://github.com/IBM-Blockchain/car-lease-demo

bfuentes
2016-07-19 12:52
ask for your University to send a request here :

bfuentes
2016-07-19 12:52
ask her to send you promocodes for Bluemix

s.matthew.english
2016-07-19 12:55
what do you mean "my University"

s.matthew.english
2016-07-19 12:55
the professor who I work with?

s.matthew.english
2016-07-19 12:55
or- me from my university email address?

bfuentes
2016-07-19 12:56
the teacher , yes

s.matthew.english
2016-07-19 12:56
ah ok cool

s.matthew.english
2016-07-19 12:56
thank you

bfuentes
2016-07-19 12:56
or responsible

bfuentes
2016-07-19 12:56
as it he could get maybe 20 codes for the class

s.matthew.english
2016-07-19 12:57
but anyway- I guess I could get started with that project here: https://github.com/IBM-Blockchain/car-lease-demo even before- is it so?

bfuentes
2016-07-19 12:57
yep

bfuentes
2016-07-19 12:57
click on "Deploy on Bluemix"

bfuentes
2016-07-19 12:57
it will do the job

s.matthew.english
2016-07-19 12:57
ok cool

s.matthew.english
2016-07-19 12:57
well than

s.matthew.english
2016-07-19 12:58
I'll go try that out

s.matthew.english
2016-07-19 12:58
will you be on here later?

bfuentes
2016-07-19 12:59
no idea

bfuentes
2016-07-19 12:59
I advise you to start on "Marble" demo

bfuentes
2016-07-19 12:59
is the easiest to start

s.matthew.english
2016-07-19 12:59
ah

s.matthew.english
2016-07-19 13:00
do you have a link to that?

bfuentes
2016-07-19 13:00
2s

s.matthew.english
2016-07-19 13:00
hmm?

s.matthew.english
2016-07-19 13:00

s.matthew.english
2016-07-19 13:00
that one?


bfuentes
2016-07-19 13:00
yep

bfuentes
2016-07-19 13:01
you have the 3 demo at the end of this page

bfuentes
2016-07-19 13:01
Enjoy!

s.matthew.english
2016-07-19 13:01
cool- thank you

s.matthew.english
2016-07-19 13:01
and also thank you for the email

bfuentes
2016-07-19 13:01
you are welcome

sorenfmortensen
2016-07-19 13:05
has joined #general

mart0nix
2016-07-19 13:06
is the bluemix service functional ???

mart0nix
2016-07-19 13:07
I'm trying to deploy the sample apps and none of them would work

bfuentes
2016-07-19 13:08
last time I was using UK datacenter, it was more stable

mattpuccini
2016-07-19 13:15
has joined #general

muralisr
2016-07-19 13:22
@s.matthew.english: not sure if your original problem with deploy was solved

s.matthew.english
2016-07-19 13:22
no it wasnt

s.matthew.english
2016-07-19 13:22
I was trying another thing

s.matthew.english
2016-07-19 13:22
but I would be interested to solve my original problem also

muralisr
2016-07-19 13:24
if you are running “peer node start” in one vagrant window and the “peer chaincode deploy…. “ in another vagrant window, I wouldn’t expect to see the connectivity error

s.matthew.english
2016-07-19 13:27
hmm

s.matthew.english
2016-07-19 13:27
and I can look at that on localhost?

s.matthew.english
2016-07-19 13:27
let me give it a try

s.matthew.english
2016-07-19 13:27
hang on a se

s.matthew.english
2016-07-19 13:27
sec

s.matthew.english
2016-07-19 13:27
wow

s.matthew.english
2016-07-19 13:27
'peer node start' worked

s.matthew.english
2016-07-19 13:27
or at least

s.matthew.english
2016-07-19 13:27
seemed to

s.matthew.english
2016-07-19 13:28
so then I need to go all that

s.matthew.english
2016-07-19 13:28
vagrant up

s.matthew.english
2016-07-19 13:28
configure the go env in another window also

muralisr
2016-07-19 13:28
right

s.matthew.english
2016-07-19 13:28
is there a way in linux to like- split a window

s.matthew.english
2016-07-19 13:28
that has all the same env stuff as one

s.matthew.english
2016-07-19 13:28
like clone it

muralisr
2016-07-19 13:30
as in two vagrant windows bundled into one physical window ?

muralisr
2016-07-19 13:30
not sure … would be platform specific

muralisr
2016-07-19 13:31
but basically you need to “vagrant ssh” in and work the system

cbruguera
2016-07-19 13:32
Yes, you can just open another console windows, step on `devenv` and make `vagrant ssh`.

cbruguera
2016-07-19 13:32
Or at least that's the way I'm doing it.

muralisr
2016-07-19 13:33
also @s.matthew.english “fabric”, “fabric-dev” channels are more active for these types of questions

s.matthew.english
2016-07-19 13:34
ah how can I find those?

s.matthew.english
2016-07-19 13:34
wait wait

shishirvd
2016-07-19 13:34
has joined #general

s.matthew.english
2016-07-19 13:34
peer chaincode deploy….

s.matthew.english
2016-07-19 13:35
what comes with the ...

s.matthew.english
2016-07-19 13:35
or after the...

muralisr
2016-07-19 13:35
I meant “as per your your previous command peer chaincode deploy -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}’"

s.matthew.english
2016-07-19 13:38
it made a kind of terminal

s.matthew.english
2016-07-19 13:38
with a prompt

s.matthew.english
2016-07-19 13:38
like >

s.matthew.english
2016-07-19 13:38
>

muralisr
2016-07-19 13:38
hmm

muralisr
2016-07-19 13:38
CTRL-C out of it

muralisr
2016-07-19 13:38
and just copy this

muralisr
2016-07-19 13:38
./peer chaincode deploy -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}’

muralisr
2016-07-19 13:38
(single line)

s.matthew.english
2016-07-19 13:39
:confused:

s.matthew.english
2016-07-19 13:39
same thing

s.matthew.english
2016-07-19 13:39
like this

s.matthew.english
2016-07-19 13:39
>

ashnur
2016-07-19 13:43
would be nice if the docs were searchable on http://readthedocs.org

shishirvd
2016-07-19 13:51
I am trying to setup devenv on Mac and I am stuck "Boostrapping the VM using Vagrant" on this page https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md

shishirvd
2016-07-19 13:51
sh-3.2# vagrant up No usable default provider could be found for your system.

shishirvd
2016-07-19 13:51
I have both vagrant and Virtual Box installed

shishirvd
2016-07-19 13:52
can anyone provide some pointers to move proceed...I suspect

s.matthew.english
2016-07-19 13:52
@muralisr do you know if I can examine the result of that on localhost?

shishirvd
2016-07-19 13:53
the vm image is unavailable or a step is missing in the documentation

mart0nix
2016-07-19 13:54
so I launched the car lease demo from the bluemix dashboard

mart0nix
2016-07-19 13:54
but none of the admin functions work

mart0nix
2016-07-19 13:54
is it better if I deploy hyperledger locally and test it this way

mart0nix
2016-07-19 13:55
(i.e without using the bluemix dashboard UI mess)

muralisr
2016-07-19 13:55
@s.matthew.english: I’m missing it :slightly_smiling_face: …. “examine the result of that on localhost” - result of what ?

s.matthew.english
2016-07-19 13:55
isn't it that with those examples

s.matthew.english
2016-07-19 13:55
you can see the blocks

s.matthew.english
2016-07-19 13:55
or something

s.matthew.english
2016-07-19 13:55
I watched some video where they made it seem like you could create two nodes

s.matthew.english
2016-07-19 13:56
peers or w/e

s.matthew.english
2016-07-19 13:56
and then watch the traffic between they on localhost

shishirvd
2016-07-19 13:56
@mart0nix: I have been trying to this on the Bluemix as well..and the simple example02 wasn't working on Bluemix...so trying to setup locally

s.matthew.english
2016-07-19 13:56
yeah @shishirvd that's what we're talking about

s.matthew.english
2016-07-19 13:57
@muralisr and I

mart0nix
2016-07-19 13:57
@shishirvd: Bluemix was working a few weeks ago and now it looks unusable

shishirvd
2016-07-19 13:58
@mart0nix: yes ..I agree..

shishirvd
2016-07-19 13:58
but I think earlier it was a 2 node n/w and now something has changed we have 4 nodes..

shishirvd
2016-07-19 13:59
probably increasing the n/w size eld to this instability

s.matthew.english
2016-07-19 14:10
I can't even sign up for Bluemix

shishirvd
2016-07-19 14:11
well found a solution to my problem, vagrant 1.8.4 is not compatible with virtual Box 5.1.x

shishirvd
2016-07-19 14:11
vagrant 1.8.4 and virtual box 5.0.x play well together

s.matthew.english
2016-07-19 14:12
how did you find that out

mart0nix
2016-07-19 14:13
are there any people from IBM here who can shed some light on why the whole thing stopped functioning ?

shishirvd
2016-07-19 14:14
accidentaly stumbled on post on stackoverflow..

s.matthew.english
2016-07-19 14:15
how can you check the version

s.matthew.english
2016-07-19 14:16
of vagrant and virtualbox

s.matthew.english
2016-07-19 14:16
are you using linux?

shishirvd
2016-07-19 14:16
@mart0nix: I am from IBM and still trying to figure that out..

shishirvd
2016-07-19 14:16
@s.matthew.english: using a mac

s.matthew.english
2016-07-19 14:16
I think more or less same

shishirvd
2016-07-19 14:16
on command line you can do a vagarant -v

s.matthew.english
2016-07-19 14:16
cool

s.matthew.english
2016-07-19 14:16
thank you

s.matthew.english
2016-07-19 14:16
what about virtual box

shishirvd
2016-07-19 14:17
For virtual box you choose a version from the Oracle site : https://www.virtualbox.org/

shishirvd
2016-07-19 14:18

s.matthew.english
2016-07-19 14:19
I have version 5. something

s.matthew.english
2016-07-19 14:19
and 1.8.4 of vagrant

s.matthew.english
2016-07-19 14:19
5.0.22

s.matthew.english
2016-07-19 14:19
I guess its ok?

s.matthew.english
2016-07-19 14:20
how can I find the fabric or fabric-dev slack channels?

shishirvd
2016-07-19 14:21
you have to search on the channels on the left hand side

shishirvd
2016-07-19 14:22
your versions seem ok

iko
2016-07-19 14:51
Is anyone hiring for new grad marketers/designers on their team?

s.matthew.english
2016-07-19 15:10
what does {"Error":"Openchain endpoint not found."}

s.matthew.english
2016-07-19 15:10
mea

s.matthew.english
2016-07-19 15:10
mean

s.matthew.english
2016-07-19 15:10
it's what I got when I navigate to http://localhost:5000/

ammarfast
2016-07-19 15:52
has joined #general

ys3
2016-07-19 16:31
has joined #general

cobarrera
2016-07-19 16:44
has joined #general

paulryan
2016-07-19 17:29
has joined #general

jeffgarratt
2016-07-19 19:35
@s.matthew.english: try http://localhost:5000/chain

jeffgarratt
2016-07-19 19:36
means the endpoint in not defined for the REST interface

amos
2016-07-19 19:41
has joined #general

riz
2016-07-19 20:10
has joined #general

kkoiwai
2016-07-19 20:15
has joined #general

atulkc
2016-07-19 21:00
we are seeing some unexpected behavior when trying out hyperledger fabric...we set up our own network with 3 validating peers (using pbft consensus) and pushed deployed some chaincode and did some invoke/query transactions....then we added another validating peer to the network and queried (using REST endpoint) the newly added peer about the block chain length (`/chain/blocks`) and found that it is always `1`. So when we try to do `query` of already deployed chaincode then it fails saying transaction id not found....we tried with `noops` consensus also and saw the same behavior...are we missing something?

atulkc
2016-07-19 21:01
we waited for more than 5 mins to make sure that it is not a timing issue (the total block chain height was 4 so it shouldn't have taken long for syncing)

tuand
2016-07-19 21:16
@atulkc: you need to have all your peers at startup. fabric does not support dynamic addition of peers

atulkc
2016-07-19 21:18
@tuand: oh...then how do we address the usecase of dynamically adding parties to existing block chain. Our usecase is to let third parties join our block chain by using the nodes from their own data center

atulkc
2016-07-19 21:31
is this (no support for dynamically adding peers) a designed/expected behavior or a bug/missing feature?

tuand
2016-07-19 21:35
it's a missing feature. There's a new architecture being proposed. I would say go through this first https://github.com/hyperledger/fabric/wiki/Next-Consensus-Architecture-Proposal

axc
2016-07-19 21:41
Does anyone know where exactly do I go to delete /var/lib/hyperledger/production?

stylix
2016-07-20 00:20
has joined #general

bgorman
2016-07-20 01:00
@axc you need to do that inside each peer's docker container, or if you're using --peer-devenv it would be located on your vagrant VM

sgodbole
2016-07-20 01:48
has joined #general

geravier
2016-07-20 02:08
has joined #general

warm3snow
2016-07-20 02:43
has joined #general

felipec
2016-07-20 04:33
has joined #general

laurence
2016-07-20 05:02
has joined #general

ema
2016-07-20 05:53
has joined #general

somashekar
2016-07-20 06:19
Hai All, I have deployed a chain code using a IBM Bluemix services and now I am setting up dev Instance using Vagrant . I am able to bring up the instance and work with the existing examples . now I want to deploy the same chain code that I used in BlueMix so below are the steps I followed

somashekar
2016-07-20 06:21
copy the chain code in examples folder ( in a new folder ) and then called the deploy interaction CORE_PEER_ADDRESS=172.17.0.2:30303 CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true peer chaincode deploy -u jim -p http://github.com/hyperledger/fabric/examples/chaincode/go/singleview -c '{"Function":"init", "Args": ["aak1234"]}'

somashekar
2016-07-20 06:22
I am getting a error while I run the make command that "encoding/json” this import is not available , i assume JSON is default in GO

somashekar
2016-07-20 06:31
Any help for the above issue ?

ccorrado
2016-07-20 06:33
has joined #general

bgorman
2016-07-20 06:50
@somashekar do you have /opt/go/src/encoding/json/ on your Vagrant VM and peer containers?

mart0nix
2016-07-20 06:55
I get "500: Internal server error" at https://console.ng.bluemix.net/

somashekar
2016-07-20 06:56
@bgorman: I do have the /opt/go/src/encoding/json/ on the Vagrant VM

somashekar
2016-07-20 06:57
@bgorman: how do I check in peer containers ?

somashekar
2016-07-20 06:59
@bgorman: below the trace when I run make

somashekar
2016-07-20 06:59
Running go vet go vet ./consensus/... go vet ./core/... go vet ./discovery/... go vet ./events/... go vet ./examples/... go vet ./membersrvc/... go vet ./peer/... go vet ./protos/... Running goimports The following files contain goimports errors examples/chaincode/go/singleview/patient.go The goimports command must be run for these files make: *** [linter] Error 1

bgorman
2016-07-20 07:00
you can get into a container using: `docker exec -it vp0 bash`

bgorman
2016-07-20 07:00
or change vp0 to your peer's name

bgorman
2016-07-20 07:00
`docker ps -a` will list all the names for you

bgorman
2016-07-20 07:05
I had a lot of issues with goimports as well... I tried running it manually and it removed import lines that I needed, so I just removed it from the script where it is called

bgorman
2016-07-20 07:07
@somashekar: look in the Makefile and comment out the line @./scripts/goimports.sh

bgorman
2016-07-20 07:08
you probably want to check that your chaincode didn't get the import statement removed too

darioherrera
2016-07-20 07:10
has joined #general

jcarrivick
2016-07-20 08:05
I'm having some issues with inconsistencies of GOPATH during the travis build in between what the docker images are built in and the Travis environment. It seems that when the images are built the GOPATH is /opt/gopath but when the container runs it is /home/travis/gopath which causes some of the new BDD tests I've written to fail. Is anyone able to help me with this?

jpayne
2016-07-20 09:11
has joined #general

andyb
2016-07-20 09:12
has joined #general

i.akilan
2016-07-20 09:32
has joined #general

mart0nix
2016-07-20 09:33
guys I can't run any of the demo apps on the bluemix service

mart0nix
2016-07-20 09:33
is it just me or ...?

mart0nix
2016-07-20 09:33
it's been a few days now

mart0nix
2016-07-20 09:33
I signed up for a brand new trial

garisingh
2016-07-20 10:05
@mart0nix: we are working on fixing the demo apps to work with the updated fabric. unfortunately we missed a couple of things which are causing inconsistent behavior in the demos for folks

stra
2016-07-20 12:13
has joined #general

pranob
2016-07-20 12:14
Hi, anyone trying remote debugging in vagrant with hyperledger chain code examples

pranob
2016-07-20 12:14
?

pranob
2016-07-20 12:14
using delve or gdb

kelly
2016-07-20 14:45
@atulkc: if you are interested, Sawtooth does support dynamic adding of peers

cbf
2016-07-20 15:01
@pranob: there’s a chaincode development mode that would allow you to more easily debug http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/

pbarquer
2016-07-20 15:04
has joined #general

axc
2016-07-20 15:46
I am running everything on my local machine

cerale
2016-07-20 16:15
has joined #general

silentspark
2016-07-20 16:44
After "vagrant halt", how to re-start it properly? I tried three methods: "vagrant up", "vagrant up --provision" and "vagrant up" + "vagrant provision", no error returned. But after I login via "vagrant ssh", the bash prompt shows "root@ubuntu-1404:", no "hyperledger" keyword. In addition, the peer-image and membersrvc-image I built before can't show up correctly --- Their REPOSITORY and TAG are <none>. If I "vagrant destroy" and then "vagrant up", I can login host VM properly, but it's timeconsuming and images need rebuilt. Any suggestion here? Thanks!

axc
2016-07-20 17:23
@silentspark: try vagrant reload

cbruguera
2016-07-20 17:50
Well I had to spend some significant time to make sure the VM was properly provisioned. If `vagrant provision` doesn't fix it, it might be needed to `destroy` and `up` again.

jonathanlevi
2016-07-20 18:11
We have all this info in https://github.com/hyperledger/fabric/issues/2025... but we should probably add these to the troubleshooting documents.

jonathanlevi
2016-07-20 18:11
`help wanted`: I can quickly assist, especially if anyone feels like they have some cycles to give (back?)

jonathanlevi
2016-07-20 18:12
The text is there, we just need it in a separate, easy to find/clearly read doc.

jonathanlevi
2016-07-20 18:13
Reach out to me / @ghaskins /etc. We can elaborate more on this here: https://github.com/hyperledger/fabric/wiki/Troubleshooting-devenv-provisioning

chadwick
2016-07-20 22:24
has joined #general

djcrue
2016-07-20 22:42
has joined #general

atulkc
2016-07-20 22:45
thanks @kelly I will check out sawtooth

djcrue
2016-07-20 23:52
Im a new member who joined today ... And I am a technology evangelist with 9 years of fintech experience . I would like to know what's the best place for me to start on hyperledger

szlaci83
2016-07-21 03:09
Hi all, i am struggling with consensus, has anyone got experience with it?

wil.pannell
2016-07-21 03:15
has joined #general

abhishekseth
2016-07-21 05:44
Hello all.. I needed one help regarding creating my own chaincode examples. I wrote one chaincode in GO and inserted the folder containing it in the directory where other examples are. Now, when I try to deploy this chaincode, it shows the error “path to chaincode does not exist “ which is not the case actually. Any help is appreciated!

bgorman
2016-07-21 05:45
Heya @abhishekseth did you put the .go files on the Vagrant VM or the peer docker containers?

abhishekseth
2016-07-21 05:49
@bgorman how do we check that? I manually put the new folder containing that newly created .go file in the ./examples/chincode/go folder

bgorman
2016-07-21 05:49
I'm guessing you did that on the vagrant VM

bgorman
2016-07-21 05:50
you can run `docker exec -it <container_name> bash` to get into the peers containers

bgorman
2016-07-21 05:51
from there you can add the file

bgorman
2016-07-21 05:51
otherwise I think you could rebuild the peers with `make peer-image` on the vagrant VM... that's is probably going to destroy your existing peers in the process though

bgorman
2016-07-21 05:52
third alternative is to deploy your chaincode from source on http://github.com (or any other website I guess)

abhishekseth
2016-07-21 05:55
adding a new folder at the place where other example folders are, does not suffice?

bgorman
2016-07-21 05:55
the peers have their own file systems, if you add a file to the vagrant VM, the peer will not see it

bgorman
2016-07-21 05:56
you need to get the files into the peer containers - through manual means, rebuilding the container or fetching from a website

abhishekseth
2016-07-21 05:56
ok. sounds good

abhishekseth
2016-07-21 05:56
thanks

bgorman
2016-07-21 05:56
let me know if you have trouble

abhishekseth
2016-07-21 06:03
@bgorman: I run make peer-image command. Then I started peer again and tried to deploy the new chaincode. But still it gives me the same error.

bgorman
2016-07-21 06:03
ok, maybe you need to make peer-image-clean first

bgorman
2016-07-21 06:04
let me have a go at this too

bgorman
2016-07-21 06:05
oh... you'll have to stop and remove the peers, then restart them too

bgorman
2016-07-21 06:06
otherwise the new image won't be used for the containers

abhishekseth
2016-07-21 06:12
i stopped the terminals on which the peers were running, make peer-image-clean, make peer-image and then i started everything again and tried to deploy but this does not help.

bgorman
2016-07-21 06:13
your machine is a lot faster than mine... I'm still running `make peer-image`

abhishekseth
2016-07-21 06:14
:stuck_out_tongue:

bgorman
2016-07-21 06:14
maybe run `docker exec -it <container_name> bash` and check if your .go files are in there

bgorman
2016-07-21 06:22
ok perhaps I misunderstood how the peer containers get made... I thought they were based off the local disk, but they may just get downloaded from the internet :confused:

bgorman
2016-07-21 06:27
ok that's wrong too.... it downloads a base image but layers file git is tracking on top...

bgorman
2016-07-21 06:28
so... @abhishekseth you may want to `git add <your_files>` then run `make peer-image` again

pranob
2016-07-21 06:28
Hi Guys do we have any document comparing different consensus algorithms used by different frameworks

jcarrivick
2016-07-21 06:32
@pranob: The only two consensus algorithms are `noop` which just blindly accepts everything and Byzantine Fault Tolerance which can tolerate `(n-1)/3` out of `n` nodes being faulty

bgorman
2016-07-21 06:33
he mentioned other frameworks... so presumably Proof of Work (bitcoin and co) and Sawtooth's Proof of Elapsed Time would be compared as well?

bgorman
2016-07-21 06:33
I've not seen a comparison, but then they're really quite different

pranob
2016-07-21 06:41
@bgorman: from frameworks perspective i am looking at Eris, Ethereum and hyperledger

pranob
2016-07-21 06:41
or any other blockchain framework

abhishekseth
2016-07-21 06:45
@bgorman: Problem solved! You were right in that the peers are not able to see the chaincode. I went into the containers and added the chaincode file and now it works fine. Thanks a lot!

bgorman
2016-07-21 06:50
@abhishekseth: that's great :smiley:

mhoward
2016-07-21 08:04
has joined #general

uniker
2016-07-21 08:55
has joined #general

thirumanoj
2016-07-21 09:31
i am executing a chaincode (as docker container). its successful. Invoke and Query also successful. I wanted to see the print output in the chaincode. In documentation it says to check in chaincode window. . itseems they are referring to Vagrant . In my setup .. i dont have vagrant .. is there a way to see the chaincode print statement output some where in the linux console.

thirumanoj
2016-07-21 09:32
or logs

abhishekseth
2016-07-21 10:49
@abhishekseth uploaded a file: https://hyperledgerproject.slack.com/files/abhishekseth/F1TQH1NQ6/screen_shot_2016-07-21_at_2.46.35_pm.png and commented: I deployed one chaincode named patient.go. It generates some hash but also it throws some error on peer terminal and i think due to this, my invoke and query functions are not working. This is the snap shot of the error. It says that container is not able to build docker image. Any help is appreciated.

muralisr
2016-07-21 12:02
@abhishekseth: it is likely due to an error building the chaincode(the “go install” part of the command)

muralisr
2016-07-21 12:02
did you try it in —peer-chaincodedev mode and make sure it works there first ?

muralisr
2016-07-21 12:03

muralisr
2016-07-21 12:04
btw, other channels such as “fabric” are better for these types of questions

thomaspearsall
2016-07-21 12:23
has joined #general

abhishekseth
2016-07-21 12:27
@muralisr, Yeah, it is very similar to my problem.

mcordioli
2016-07-21 12:32
has joined #general

oeschger
2016-07-21 13:12
has joined #general

shun
2016-07-21 15:51
I have one question on membership service. When we run a Hyperledger based solution across multiple participants (e.g. enterprises), who should take the role to operate the membership service? Should it be a trusted independent 3rd party? What if the participants can not agree on one trusted membership service operator?

zuozuo
2016-07-21 15:52
has joined #general

subbu
2016-07-21 16:13
has joined #general

anannra
2016-07-21 17:25
has joined #general

rseeger
2016-07-21 17:33
has joined #general

cbf
2016-07-21 18:45
@chadwick: I think you were the 2,000th member - you get a cupie doll:grinning:

nicoob
2016-07-21 19:23
has joined #general

nnadir
2016-07-21 21:11
has joined #general

mlcunha
2016-07-21 21:34
has joined #general

amritraj
2016-07-22 00:44
has joined #general

bgorman
2016-07-22 00:51
@thirumanoj to see the peer container logs you use `docker logs <container_name>` - you can find the container name with `docker ps`

ghaskins
2016-07-22 03:48
2016 members…not sure if that is a count or a year, heh

drums4u
2016-07-22 03:54
has joined #general

joseph
2016-07-22 04:25
I got an error

joseph
2016-07-22 04:25
make peer Building docker base-image BUILD-CACHE: exists! stdin: is not a tty docker: "build" requires 1 argument. See 'docker build --help'. Usage: docker build [OPTIONS] PATH | URL | - Build an image from a Dockerfile make: *** [build/image/base/.dummy] Error 1

joseph
2016-07-22 04:25
Any help please?

abhishekseth
2016-07-22 05:34
@abhishekseth uploaded a file: https://hyperledgerproject.slack.com/files/abhishekseth/F1U51T5L2/screen_shot_2016-07-22_at_11.04.10_am.png and commented: I wrote my own chaincode which imports encoding/json package. Since fabric does not pick up the dependencies involved, we are supposed to add those packages in the vendor folder. I tried to add this package in the vendor folder using “govendor add +extrernal” command. But after that, member services start throwing error and do not get up. Here is the snap shot of the error.

bgorman
2016-07-22 05:42
@abhishekseth: encoding/json is part of the core golang packages, are you sure you couldn't just use it in the chaincode?

bgorman
2016-07-22 05:43
there are example chaincodes that use it like examples/chaincode/go/map/map.go (I admittedly haven't used that one)

abhishekseth
2016-07-22 05:46
yeah, that is the part of the core golang packages but it needs to be added in the vendor folder otherwise fabric does not pick up. Here is the reference link: http://stackoverflow.com/questions/38293279/error-starting-container-api-error-500-hyperledger

bgorman
2016-07-22 05:49
that's talking about a package that isn't part of Go itself though

abhishekseth
2016-07-22 05:56
It used my old vendor folder and member services are now up. But the previous problem still remains same i.e. the chaincode having encoding/json package shows error of “building image” when i try to deploy.

bgorman
2016-07-22 05:57

abhishekseth
2016-07-22 06:02
yeah, but it doesn’t show any error

bgorman
2016-07-22 06:05
are you running it inside the peer?

abhishekseth
2016-07-22 06:06
u mean inside container running on the peer?

bgorman
2016-07-22 06:07
yeah, inside vp0's container for example

abhishekseth
2016-07-22 06:12
yeah, it works fine in that as well

mart0nix
2016-07-22 07:25
the whole IBM bluemix service is getting more broken for me everyday

mart0nix
2016-07-22 07:25
nothing is really working anymore

mart0nix
2016-07-22 07:25
does anyone have a sense of when things will go back to normal ?

pranob
2016-07-22 09:04
Hi All can anyone help me in creating my own currency in hyperledger

rajashree
2016-07-22 09:16
has joined #general

an_nguyen
2016-07-22 09:30
has joined #general

gaurav
2016-07-22 11:13
Hyperledger node on my laptop using Vagrant is started in TLS disabled mode using command "peer node start", how can I start in TLS enabled mode?

mart0nix
2016-07-22 11:34
does anyone have a good tutorial on deploying and running hyperledger on a linux box ?

ray
2016-07-22 12:13
has joined #general

dermicha
2016-07-22 13:05
has joined #general

gitawego
2016-07-22 13:19
has joined #general

crsanderson
2016-07-22 13:23
has joined #general

startraveler19
2016-07-22 14:01
has joined #general

ggrandli
2016-07-22 14:43
has joined #general

jesseclark
2016-07-22 15:29
has joined #general

andrew.shvv
2016-07-22 15:47
has joined #general

startraveler19
2016-07-22 15:51
Hi I have coinbase with BTC and I used shapeshift to convert BTC into my coinbase ETH wallet and my BTC disappeared and my ETH never showed up I contacted coinbase and shapeshift but have not heard back from them

rvarada
2016-07-22 16:08
has joined #general

mack
2016-07-22 18:00
@mart0nix: for Sawtooth Lake, there is a tutorial here: http://intelledger.github.io/tutorial.html

mack
2016-07-22 18:01
@mart0nix: if you need a hand, just ask in the # channel

pipor
2016-07-22 18:22
has joined #general


cbf
2016-07-22 18:36
that link’s for Fabric project

christophera
2016-07-22 18:48
A reminder that our next Identity WG meeting will be next Wednesday, July 27, at 12pm EDT / 9am PDT. If you are attending the Hyperledger Hackathon in San Francisco, we will be using the boardroom upstairs at 9am for the call. The topic of this meeting is our 3rd discussion with David Kravitz over the course of July on the IBM’s Membership Services architecture as used by Hyperledger Fabric. Please ask questions in advance of our next meeting in Slack's # channel or post in our Google Doc (see below). The recording of the 1st Identity WG meeting on IBM’s Membership Services architecture as used by Hyperledger Fabric is available at: https://meetings.webex.com/collabs/url/i-271A2F8IRqjuDCoiWed_-ISAS5bOQTOm-1Vi5O_GS00000 The slides for this 1st meeting are at: https://www.dropbox.com/s/d4geya90fbv3kw2/Hyperledger%20Membership%20Services%20Presentation%20June%2029%202016.pdf?dl=0 The recording for the 2nd meeting is available at: https://meetings.webex.com/collabs/url/Sc3lILQRtXr7MwxQW7UITCPN7EDMsVrJT9Ie4r3VjiG00000 The slides for the 2nd meeting are available at: https://www.dropbox.com/s/4my9v4uo9ynn8kf/2016-07-13_MembershipServicesInHyperledgerFabric_Part2.pdf?dl=0 Meeting Details You can join the WebEx at https://meetings.webex.com/collabs/meetings/join?uuid=M13E85PQ13KWSMVJJLZ1FZ3XNX-9VIB Or you can join by phone: +1-408-525-6800 Call-in toll number (US/Canada) +1-866-432-9903 Call-in toll-free number (US/Canada) Access code: 190 609 401 Google Docs Shared Notes for meetings are at: https://docs.google.com/document/d/1nVkjhSlghjc4KFWEYDU2B0ztWCFh1CK8a7VmqwFsnKY/edit?usp=sharing


radha
2016-07-22 19:22
@mart0nix: The BlueMix issue is being worked on aggressively. Will post update when I get more info.

dimorphic
2016-07-23 00:46
has joined #general

swood
2016-07-23 05:16
has joined #general

yangchao
2016-07-23 13:19
has joined #general

zuozuo
2016-07-23 18:43
hello, i am new to Hyperledger, my question is : Does Hyperledger support HFT(High-frequency trading) ?

parth
2016-07-24 00:59
Hi I have a general question. Is there a video that explains how exactly block chain technology may be used in financial industry? Like sample use cases ?

ngzhongcai
2016-07-24 03:28
has joined #general

naofumi
2016-07-24 07:52
has joined #general

orana
2016-07-24 10:22
has joined #general

jchenibm
2016-07-24 11:14
@zuozuo: as I know, HyperLedger and other current blockchain solutions are not mean to support HFT which is not for blockchain. Maybe later. :slightly_smiling_face:

lin1000
2016-07-24 14:50
has joined #general

zubairshaikh
2016-07-24 15:54
has joined #general

zuozuo
2016-07-25 02:54
@jchenibm: got it, thanks for replying.

cindia
2016-07-25 03:10
has joined #general

shueheng
2016-07-25 03:32
has joined #general

sebastian
2016-07-25 07:08
has joined #general

jancamenisch
2016-07-25 10:01
has joined #general

thinkngrow
2016-07-25 10:30
has joined #general

roman.hutyra
2016-07-25 11:42
has joined #general

keorn
2016-07-25 12:01
has joined #general

mart0nix
2016-07-25 12:17
Do I need the development environment if I want to run a few sample apps and chaincodes or I need the regular environment ?

mart0nix
2016-07-25 13:00
also: is it possible to run hyperledger on an EC2 instance ?

simonloader
2016-07-25 13:12
You can run it in EC2 might take a bit of work

mart0nix
2016-07-25 13:16
would it be possible to run VirtualBox on an EC2 since EC2 is virtualized itself ?

simon
2016-07-25 13:18
why would you do that?

simonloader
2016-07-25 13:19
I would just run it native

simonloader
2016-07-25 13:19
It might take some work to do that

mack
2016-07-25 13:19
or maybe just use a docker container if you want to reproduce the environment easily

ashnur
2016-07-25 13:19
the docker images are quite good to work with

ashnur
2016-07-25 13:21
I wish I knew what "modular" means in respect to fabric

mart0nix
2016-07-25 13:24
I'm totally new to hyperledger / fabric (as a matter of fact I'm not sure what the difference is between hyperledger and fabric)


mart0nix
2016-07-25 13:25
this is pretty much the only tutorial I found


ltdaman69
2016-07-25 13:26
has joined #general

mart0nix
2016-07-25 13:40
@ashnur: that seems to have worked. Thanks!

mart0nix
2016-07-25 13:48
...although the peer command is not found so I guess I need to install something extra

ashnur
2016-07-25 14:03
mart0nix: the peer command should would inside the docker container.

ashnur
2016-07-25 14:03
are you familiar with docker?

mart0nix
2016-07-25 14:04
somewhat familiar

mart0nix
2016-07-25 14:05
docker exec -it vp0 bash

mart0nix
2016-07-25 14:05
Error response from daemon: No such container: vp0

mart0nix
2016-07-25 14:06
although the cluster is up and running

hogstrom
2016-07-25 14:10
has joined #general

mart0nix
2016-07-25 14:20
@ashnur https://github.com/yeasy/docker-hyperledger-peer needs a bit of corrections

mart0nix
2016-07-25 14:21
in terms of its steps

mart0nix
2016-07-25 14:21
$ git clone https://github.com/yeasy/docker-compose-files $ cd docker-compose-files/hyperledger $ docker-compose up

mart0nix
2016-07-25 14:21
should really be:

mart0nix
2016-07-25 14:22
$ git clone https://github.com/yeasy/docker-compose-files $ cd docker-compose-files/hyperledger/pbft $ docker-compose up

mart0nix
2016-07-25 14:23
also for some reason I'm only able to enter the container if I run the Noops consensus

ashnur
2016-07-25 14:28
I have not tried pbft but there is documentation for that too afaik

jkumar
2016-07-25 14:34
has joined #general

ashnur
2016-07-25 14:36
mart0nix: oh, i just saw your error, the name of the docker container is something else. docker ps -a

geoffpirie
2016-07-25 14:43
has joined #general

mart0nix
2016-07-25 14:46
@ashnur - I got it to work somehow - I should catch up with docker though

ashnur
2016-07-25 14:55
http://hyperledger-fabric.readthedocs.io/en/latest/glossary/ this page needs an entry for "Hyperledger Module" imho. I can't find a definition of it anywhere

mart0nix
2016-07-25 14:56
so I need both docker-compose-files/hyperledger/ and docker-hyperledger-peer @ashnur ?

ashnur
2016-07-25 14:57
the compose files are just to start them, you need all the peer images you want to use of course

ashnur
2016-07-25 14:58
docker-compose is a separate tool from docker

mart0nix
2016-07-25 14:58
yeah I understand

mart0nix
2016-07-25 14:58
but I'm confused as I thought the hyperledger fabric docker image will also include the peer stuff

ashnur
2016-07-25 14:59
i am not good with names, so i don't know which is which. I know that there is basically 2 images that I used. both from yeasy one the membersrvc and the other for the peers

ashnur
2016-07-25 14:59
and these are the two that were in the docker-compose file too

mart0nix
2016-07-25 15:00
got it

mart0nix
2016-07-25 15:00
well I was able to make a simple query transaction as suggested by the example docs

mart0nix
2016-07-25 15:00
so the whole thing is working for me

mart0nix
2016-07-25 15:01
now I need to sit down and actually understand what's what : ))

mart0nix
2016-07-25 15:01
@ashnur thanks for the help

ashnur
2016-07-25 15:01
:slightly_smiling_face: yw

mart0nix
2016-07-25 15:01
it looks like the IBM Bluemix blockchain stuff is out of comission for a while now

mart0nix
2016-07-25 15:01
so I'm going the local dev route

ashnur
2016-07-25 15:02
what OS are you using?

mart0nix
2016-07-25 15:03
ubuntu running on EC2 instance

ashnur
2016-07-25 15:03
oh, ok

ashnur
2016-07-25 15:03
so you managed to make it work on EC2

mart0nix
2016-07-25 15:03
yeah

mart0nix
2016-07-25 15:04
root@90ca92b3b8bd:/go/src/github.com/hyperledger/fabric# peer chaincode query -n a5389f7dfb9efae379900a41db6b97cf10ce3aa8dd00cd7626ce02f18accc7e5f2059dae6eb0786838042958352b89fb -c '{"Function": "query", "Args": ["a 100

ashnur
2016-07-25 15:04
good to know

greg_not_so
2016-07-25 15:28
@mart0nix, what do you mean 'out of commission'? is this expected or not? i know car lease service is not running as expected

dournaee
2016-07-25 19:12
has joined #general

michaelsena
2016-07-25 23:37
has joined #general

passerby98
2016-07-26 00:02
has joined #general

gautsing
2016-07-26 00:44
has joined #general

stylix
2016-07-26 02:00
[Hyperledger in scale] Since Hyperledger use an internal /var/hyperledger/db as to store the database, and we actually need to mount this directory outside of its container. Generally, I can mount each specific mount to each container using a static docker-compose file. So in case of scaling the node with docker-swarm, how can I mount the separated volume directory to each different node?


yuxinghua
2016-07-26 04:02
has joined #general

mart0nix
2016-07-26 06:09
@greg_not_so: I mean it hasn't been working for the past week and it looks like it may be out for another week since it's not clear what the real issue is - on the bluemix site it says that demand is too high for the blockchain service and on the health dashboard it says that there's a network problem ... so go figure

keweis
2016-07-26 06:25
has joined #general

abhishekseth
2016-07-26 09:43
Hey all... After deploying chaincode to the peer, I get the following error: sendProducerBlockEvent -> ERRO 050 Error unmarshalling deployment transaction for block event: proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group Can anyone plz guide me on how to remove this error?

blair
2016-07-26 10:52
has joined #general

masanork
2016-07-26 11:07
has joined #general

subax
2016-07-26 11:13
has joined #general

danoking
2016-07-26 11:15
has joined #general

abhishekseth
2016-07-26 13:23
hey all, the above posted problem is solved. So plzz don’t worry for that. Thanks.

annehesselman
2016-07-26 13:26
has joined #general

dgorman
2016-07-26 13:28
has joined #general

dave
2016-07-26 14:11
has joined #general

awjh
2016-07-26 14:13
has joined #general

sebastian
2016-07-26 14:39
#

jake.turner
2016-07-26 14:42
has joined #general

jake.turner
2016-07-26 14:44
I'm trying to find out about the process of validating a block. As far as I am aware, the hashing function is SHA-256. Does anybody know what parameters are passed, and what data is actually hashed?

jake.turner
2016-07-26 14:47
To clarify, I'm referring to how an individual block hash is generated.

pisharn2
2016-07-26 16:51
has joined #general

sebastientessot
2016-07-26 17:02
has joined #general

david75
2016-07-26 17:06
has joined #general

kvishwa
2016-07-26 17:27
has joined #general

mgupta
2016-07-26 17:41
has joined #general

todo
2016-07-26 17:48
has joined #general

kiran_anantha
2016-07-26 20:17
has joined #general

kescoba
2016-07-26 20:49
has joined #general

johan.lemmens
2016-07-26 21:26
has joined #general

imperial
2016-07-27 00:41
has joined #general

jsewando
2016-07-27 01:25
has joined #general

rnemani
2016-07-27 01:27
has joined #general

pavel_nyc
2016-07-27 02:00
has joined #general

dinghaiyang84
2016-07-27 02:08
has joined #general

liangzhichao
2016-07-27 02:31
has joined #general

madhvesh
2016-07-27 04:15
has joined #general

wutongtree
2016-07-27 05:01
has joined #general

thivankaa
2016-07-27 06:53
Hi can the IBM blockchain solution deployed on any cloud platform, or do we need to use Bluemix? I would like to try out these chaincodes

abhishekseth
2016-07-27 07:05
Hey all, If i want to enable user in “outside of vagrant” mode i.e. security enabling in “outside of vagrant”, what are we supposed to do? Are we supposed to add some security attributes in docker-compose.yml file?

nobu2016
2016-07-27 07:15
has joined #general

nagesh.avusingi
2016-07-27 07:18
has joined #general

yaoguo
2016-07-27 07:51
has joined #general

wangneo
2016-07-27 09:06
has joined #general

somashekar
2016-07-27 12:35
@somashekar pinned a message to this channel.

simon
2016-07-27 12:36
somashekar: why do you pin this question?

rixonmathew
2016-07-27 12:37
has joined #general

abhishekseth
2016-07-27 13:18
@simon, Soma and I are working together. He is my mentor.

simon
2016-07-27 13:19
okay - usually you pin items that are important for all the people in the channel

gregm
2016-07-27 13:30
has joined #general

steve_xeraphic
2016-07-27 13:35
has joined #general

yurii.petelko
2016-07-27 14:10
has joined #general

somashekar
2016-07-27 14:16
@simon , This is an important suff for my team progress , I was not aware that this will be for the entire channel . I will see how to un-pin this ..

simon
2016-07-27 14:17
somashekar: i suggest just creating your own channel, then you can pin all you want :slightly_smiling_face:

danizu
2016-07-27 15:53
has joined #general

kwang
2016-07-27 17:07
has joined #general

ganga
2016-07-27 17:35
has joined #general

pashkova
2016-07-27 17:48
has joined #general

junzhang
2016-07-27 18:08
has joined #general

gprakash
2016-07-27 18:21
has joined #general

russell
2016-07-27 18:22
has joined #general

neerajo
2016-07-27 18:43
has joined #general

camille
2016-07-27 20:58
has joined #general

renatomoutinho
2016-07-27 21:55
has joined #general

corentin
2016-07-27 22:27
has joined #general

srinivasraayi
2016-07-28 00:51
has joined #general

bithin
2016-07-28 03:18
has joined #general

mqshen
2016-07-28 03:34
I have a chaincode deployed on all the nodes. Now that I have updated some business logic of same chaincode. Is there a way I can redeploy the chaincode and it can read and modify the same view of worldstate? Thanks!

hongkongspy
2016-07-28 06:56
has joined #general

beyondns2
2016-07-28 10:03
has joined #general

damien
2016-07-28 10:33
has joined #general

gulic
2016-07-28 10:38
has joined #general

ghaskins
2016-07-28 12:11
@mqshen: what you are asking about would be an "upgrade". It doesn't yet exist but is being worked on

vladimir
2016-07-28 12:25
has joined #general

konstantinyurov
2016-07-28 13:47
has joined #general

nasastry
2016-07-28 14:25
has joined #general

zemtsov
2016-07-28 14:30
has joined #general

elias-b9lab
2016-07-28 15:02
has joined #general

hellospencer
2016-07-28 15:04
has joined #general

franklin
2016-07-28 16:04
has joined #general


simon
2016-07-28 16:19
SF is so cold that people wear jackets? oO

binhn
2016-07-28 16:22
Yeah very cold after sunset

simon
2016-07-28 16:24
oh so picture not from today

simon
2016-07-28 16:25
early morning dinner

binhn
2016-07-28 16:30
Right Tuesday night

lucie
2016-07-28 16:33
has joined #general

triplez
2016-07-28 18:10
has joined #general

pinnsvin
2016-07-28 18:18
has joined #general

mqshen
2016-07-29 00:06
@ghaskins: Thanks

dinghaiyang84
2016-07-29 02:39
Hi, I have just noticed that the development of Fabric has been moved to gerrit instead of Github. Could someone tell me what is going on?

dinghaiyang84
2016-07-29 02:39
And I cannot find how to register on the Gerrit, would some please tell me? Thanks

bgorman
2016-07-29 02:44
@dinghaiyang84: I don't know how to use it myself yet, but this got shared: http://cbf-fabric-docs.readthedocs.io/en/latest/Gerrit/gerrit/

bgorman
2016-07-29 02:45
I think you might need a Linux Foundation ID to log into Gerrit as well


dinghaiyang84
2016-07-29 02:48
@bgorman: Thank you so much.

dinghaiyang84
2016-07-29 02:49
@bgorman: And I would suggest that we put this link on the Github page. I personally failed to find this useful doc before.

bgorman
2016-07-29 02:50
Good idea. I think GitHub might be read-only but you can try :slightly_smiling_face:

dinghaiyang84
2016-07-29 02:53
I cannot do it...I thought some maintainer might have time for this. It is helpful for the starters like me:slightly_smiling_face:

ttauruss
2016-07-29 03:28
has joined #general

kazuto
2016-07-29 04:17
has joined #general

vajadhav
2016-07-29 05:42
has joined #general

vajadhav
2016-07-29 05:47
I am setting up hyperledger , for cd $GOPATH/src/github.com/hyperledger/fabric make peer , I m getting error- bash: make: command not found , Can someone help to sort this issue out

vajadhav
2016-07-29 05:47
?

bgorman
2016-07-29 05:54
@vajadhav: what OS are you using?

vajadhav
2016-07-29 05:55
windows 7

bgorman
2016-07-29 05:56
you may want to use the vagrant devenv

bgorman
2016-07-29 05:56
did you install Oracle VirtualBox?

vajadhav
2016-07-29 06:00
yes

bgorman
2016-07-29 06:01
great, you should be able to `cd $GOPATH/src/github.com/hyperledger/fabric/devenv`

bgorman
2016-07-29 06:01
then `vagrant up`

vajadhav
2016-07-29 06:01
with vagrant up I have created hyperperledger

bgorman
2016-07-29 06:01
if it completes you should be able to run `vagrant ssh` and be in a development environment with all the tools you need

vajadhav
2016-07-29 06:01
yes done with vagrant ssh as well

bgorman
2016-07-29 06:02
so you don't have `make` inside your vagrant?

bgorman
2016-07-29 06:02
it should be at `/usr/bin/make`

vajadhav
2016-07-29 06:03
let me check

akihikot
2016-07-29 07:09
has joined #general

vajadhav
2016-07-29 07:09
m unable to get hold of /usr/bin/make

vajadhav
2016-07-29 07:17
I think peer is already got created

vajadhav
2016-07-29 07:17
I could perform "peer node start"

bgorman
2016-07-29 08:11
that's interesting if you managed to build `peer` without make, but if it works, oh well :slightly_smiling_face:

mart0nix
2016-07-29 08:34
does anyone know what's the status of the IBM bluemix blockchain service ?

mart0nix
2016-07-29 08:34
the health status dashboard says the blockchain service is working as expected but I'm still not able to launch anything there

mart0nix
2016-07-29 08:35
it's been more than a week now since the service has not been functional and my free trial is almost over now :disappointed:

bgorman
2016-07-29 08:49
@mart0nix: if you made your blockchain service before 17th(?) July, then it should be working I'm told. Otherwise they are still working on it

kmbuco
2016-07-29 09:18
has joined #general

mart0nix
2016-07-29 11:24
@bgorman: I've added and deleted it so many times now ...

nedlukies
2016-07-29 11:49
has joined #general

lvuono15
2016-07-29 13:24
has joined #general

jjimenez
2016-07-29 13:49
has joined #general

mg.kienzle
2016-07-29 14:32
has joined #general

pmbacchi
2016-07-29 16:02
has joined #general

davisbroda
2016-07-29 18:49
has joined #general

astay
2016-07-29 19:15
has joined #general

danilo.brandao
2016-07-29 20:31
has joined #general

paul.nema
2016-07-29 21:53
consensus

sergeylykke
2016-07-29 21:55
has joined #general

paul.nema
2016-07-29 22:01
@mart0nix: Experiencing a setup problem that has yet to resolve. I entered a ticket and reply stated service is down with estimate when it will be up. Hope they extend the trail period… Is this what you are experiencing? -> Ticket FYI: https://developer.ibm.com/answers/questions/290324/get-a-404-error-when-trying-to-create-a-service-fo.html

jemunos
2016-07-29 22:45
has joined #general

kirstengarwood
2016-07-30 02:35
has joined #general

martin_shin
2016-07-30 03:21
has joined #general

dmoloney
2016-07-30 08:41
has joined #general

brianeno
2016-07-30 15:33
has joined #general

ramykamel
2016-07-30 17:06
has joined #general

sjohn
2016-07-31 01:52
has joined #general

bluebirdyan
2016-07-31 05:14
has joined #general

rmoore
2016-07-31 11:30
has joined #general

shenthilkumarck
2016-07-31 11:32
has joined #general

shenthilkumarck
2016-07-31 15:54
Hi

shenthilkumarck
2016-07-31 15:54
I am unable to deploy the chainnode

shenthilkumarck
2016-07-31 15:54
Can someone help me?

tuand
2016-07-31 16:06
@shenthilkumarck: please ask in # . and can you give some details? What did you do to deploy? What error messages ?

jennfoley
2016-07-31 21:25
has joined #general

selopez
2016-08-01 01:35
has joined #general

alexbentley
2016-08-01 02:24
has joined #general

r00t
2016-08-01 02:57
has joined #general

trustedblocks
2016-08-01 06:11
has joined #general

sonyeric
2016-08-01 06:50
has joined #general

mart0nix
2016-08-01 07:43
@paul.nema: I'm talking about the fact that the IBM bluemix blockchain service hasn't been available for a almost two weeks now ...

pushpalatha
2016-08-01 08:57
has joined #general

kunal
2016-08-01 09:01
has joined #general

ckeyer
2016-08-01 10:50
has joined #general

barnkob
2016-08-01 11:08
has joined #general

sieradzs
2016-08-01 11:20
has joined #general

matpasha
2016-08-01 12:02
has joined #general

matpasha
2016-08-01 12:26
Hi, I am running the fabric setup in 'outside vagrant" mode using docker toolbox on windows 7. I am able to get the peer and membersrvc up & running, but when I try to register the chain code using - CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:30303 ./chaincode_example02 I get the following error - 17:52:19.769 [shim] DEBU : Peer address: 0.0.0.0:30303 2016/08/01 17:52:20 grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:30303: connectex: The requested address is not valid in its context."; Reconnecting to "0.0.0.0:30303" 2016/08/01 17:52:22 grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:30303: connectex: The requested address is not valid in its context."; Reconnecting to "0.0.0.0:30303" 17:52:22.439 [shim] ERRO : Error trying to connect to local peer: grpc: timed out trying to connect Error starting Simple chaincode: Error trying to connect to local peer: grpc: timed out trying to connect Below is my docker-compose.yml file membersrvc: image: hyperledger/fabric-membersrvc command: membersrvc vp0: image: hyperledger/fabric-peer environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://172.17.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev" PLEASE HELP! Any help is appreciated. Thanks, MATPASHA

muralisr
2016-08-01 12:31
@matpasha: you should use the peer’s IP address in docker instead of “0.0.0.0” in CORE_PEER_ADDRESS

muralisr
2016-08-01 12:32
also, fabric questions should be addressed in relate channels such as “fabric”, “fabric-dev”, “chaincode”….

madhujay
2016-08-01 13:13
has joined #general

grkvlt
2016-08-01 14:32
has joined #general

evayan
2016-08-01 14:38
has joined #general

s.matthew.english
2016-08-01 15:12
is it a faux-pas to cross post from the fabric-dev channel?

drschrag
2016-08-01 15:14
has joined #general

binhn
2016-08-01 15:23
@binhn uploaded a file: https://hyperledgerproject.slack.com/files/binhn/F1X2LU2L9/pasted_image_at_2016_08_01_11_22_am.png and commented: Does anyone know if our mailing list server is down? @ry @tbenzies

pramax
2016-08-01 15:37
has joined #general

sheehan
2016-08-01 15:40
@ry: @tbenzies @binhn I tried sending a note to and encountered the same issue

tbenzies
2016-08-01 15:41
I’ll look into this immediately.

amgad
2016-08-01 15:43
has joined #general

tbenzies
2016-08-01 15:43
This has been flagged to linux foundation IT, will be back with an answer ASAP

timricher
2016-08-01 15:48
has joined #general

tbenzies
2016-08-01 16:08
This should be resolved now.

sheehan
2016-08-01 16:40
@tbenzies: thanks! It’s working for me now

tbenzies
2016-08-01 16:40
excellent!

binhn
2016-08-01 16:50
@tbenzies: @sheehan Thanks!

ramykamel
2016-08-01 16:53
"make peer" after a "vagrant ssh" gives this error: Makefile:45: *** "No docker in PATH: Check dependencies". Stop.

ramykamel
2016-08-01 16:54
Shouldn't docker be available by default. I've followed the steps in http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/devenv/

ramykamel
2016-08-01 16:55
any help getting my devenv up and running?

jardel
2016-08-01 20:38
has joined #general

jasonm
2016-08-01 23:07
has joined #general

nwgerber
2016-08-02 00:53
has joined #general

bgorman
2016-08-02 01:15
@ramykamel: you can try a `vagrant provision` to see if it will re-download all the Ubuntu packages it was meant to

yasirmemon
2016-08-02 01:22
has joined #general

arbyarby
2016-08-02 02:59
has joined #general

maurizio.talamo
2016-08-02 03:30
has joined #general

abhishekseth
2016-08-02 05:12
Hey all, I am working in outside of vagrant setup using docker images. I have peers and member services up and running. Also, I am able to deploy and run chaincodes. Now, I have two physical machines each having same setup and 2 peers running on each machine. How do I communicate between the peers on one machine and the peers on different machine?

bgorman
2016-08-02 05:14
@abhishekseth: you need to have a reachable port for each peer on machines 1 and 2

bgorman
2016-08-02 05:15
when starting up each peer, set its CORE_PEER_ADDRESS to the reachable address:port

bgorman
2016-08-02 05:16
and probably set CORE_PEER_ADDRESSAUTODETECT=false while you're at it

bgorman
2016-08-02 05:18
e.g. machine1 opens ports 30303 and 30304 for vp0 and vp1, so you'd start vp0 with CORE_PEER_ADDRESS=http://machine1.domain.com:30303 and then vp1 would have CORE_PEER_ADDRESS=http://machine1.domain.com:30304 CORE_PEER_DISCOVERY_ROOTNODE=http://machine1.domain.com:30303

abhishekseth
2016-08-02 05:19
see, I am using docker-compose up to start peer and member services. It uses docker-compose.yml file to take the config details. I think all the changes must be made in this file only, right?

bgorman
2016-08-02 05:19
I don't know much about docker-compose but can you set environment variables for the processes in the containers it brings up?

bgorman
2016-08-02 05:20
normally when running just `docker ` it uses the `-e` flags to do so

abhishekseth
2016-08-02 05:23
no, i think that using docker-compose command, I can not set the variables. But yeah, I can change these things in docker-compose.yml file and those changes will reflect in the peers

abhishekseth
2016-08-02 05:26
@bgorman: If i set the address and discovery-rootnode for the peers on both the machines the way u mentioned, would I be able to communicate between them?

bgorman
2016-08-02 05:26
if it's done correctly, yes

bgorman
2016-08-02 05:28
you'll also need to ensure the ports are exposed at the docker and machine levels, then traffic is routable between the machines as well, of course

abhishekseth
2016-08-02 05:30
okay, I will try.

sudhaj12
2016-08-02 05:57
has joined #general

abhishekseth
2016-08-02 06:10
@bgorman: Thanks a lot. It worked fine.

bgorman
2016-08-02 06:12
no worries, that's great :slightly_smiling_face:

ankitkamra
2016-08-02 06:43
hi i have setup fabric network on my local while deploying chaincode i'm getting following error:- 06:33:54.102 [rest] Query -> ERRO 825 {"Error": "Querying Chaincode -- Error:Failed to launch chaincode spec(premature execution - chaincode (9bdfbf948ccf88b9c09b6e0674feb413e2673d52d07285d7efb28e6e0d4f0e7ea3732b99c78fbddd1a2ea49d895b0f1248a1c9a4bcb864721af8c382d6b79e3d) is being launched)"} can anyone please help me to resolve this problem ?

rickystef
2016-08-02 07:10
has joined #general

bwarshaw
2016-08-02 07:47
has joined #general

prasanth.owk
2016-08-02 09:11
has joined #general

javiervidal
2016-08-02 12:58
has joined #general

jenkins
2016-08-02 14:17
How does one query the transaction history of an item in the ledger? For example, given key X and PutState(X, Y), followed by PutState(X,Z)… is there an API for following/linking those transactions so that I can see X was first Y and then Z, or is that left to application level logic?

simon
2016-08-02 14:20
no

simon
2016-08-02 14:20
you'll have to maintain your own log

maheshpatil13
2016-08-02 14:21
@ramykamel: Use gitbash and open separate windows and run the setup on http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/devenv/ if any need any help let me known as we have installed this any many developer machine

miguelcastilho
2016-08-02 16:02
has joined #general

cwester
2016-08-02 17:25
has joined #general

djamc
2016-08-02 18:12
has joined #general

suniack
2016-08-02 18:12
has joined #general

kenhuangus
2016-08-02 18:28
has joined #general

lisacheng
2016-08-02 19:44
has joined #general

fabiorcu
2016-08-02 22:01
has joined #general

may0rdav3
2016-08-02 23:57
has joined #general

szaidi
2016-08-03 00:31
has joined #general

gemsiva
2016-08-03 01:18
has joined #general

dinghaiyang84
2016-08-03 02:27
Hey folks, may I ask that is there any particular reason that fabric transfers from Github to Gerrit? Just out of curiosity, would be great if anyone would tell me or throw me some insights (emails/discussion records, etc). Thanks!

jonathanlevi
2016-08-03 02:38
Hi @dinghaiyang84, there were several discussions about this... and a long presentation by @cbf and @ry, but among the key differences are multiple reviewers (requiring two `+2`s for a merge), better granularity (-2, -1, 0, +1, +2) in the reviews, the ability to look into each file version in a patch-set along with multi-party discussions inline per file (patchset) version.

jonathanlevi
2016-08-03 02:40
I am sure this list of upsides is not exhaustive - the one thing I do miss from GitHub is its more extensive markdown (syntax formatting). But maybe this can be added as a plug-in or so?

dinghaiyang84
2016-08-03 03:00
Hi @jonathanlevi, thanks for the reply. Is there any records of the presentation? I am interested in the difference between Github and Gerrit, and I think learning with the "long presentation" is a good way to do that. Plus I could know more about the development style of fabric.

ry
2016-08-03 03:01
@dinghaiyang84: I don’t think there was a recording of it. It wasn’t on the schedule - @cbf was going to talk about something else and I kind of took over

dinghaiyang84
2016-08-03 03:04
@ry, thanks for the information. Best regards

ry
2016-08-03 03:05

ry
2016-08-03 03:05
it is very mechanical, not so much on the why, more on the how


dinghaiyang84
2016-08-03 03:07
@ry, great! Thank you. I will have a look into those.

ry
2016-08-03 03:07
cheers!

vijaypatidar
2016-08-03 05:46
has joined #general

adamrichard
2016-08-03 06:17
has joined #general

maheshpatil13
2016-08-03 06:50
We have starting with POC on hyperledger and wanted to known the best standard while creating the data structure to store the data on block chain ?

bgorman
2016-08-03 06:54
@maheshpatil13: that's going to depend heavily on what data you are storing

gustav
2016-08-03 07:39
has joined #general

wolflad
2016-08-03 09:10
has joined #general

nwilde
2016-08-03 09:23
has joined #general

yinsheng
2016-08-03 09:58
has joined #general

vajadhav
2016-08-03 10:39
I wanted to construct a test blockchain on the local peer node, run the the TestServerOpenchain_API_GetBlockCount test implemented inside api_test.go, with below command

vajadhav
2016-08-03 10:39
cd /opt/gopath/src/github.com/hyperledger/fabric/core/rest go test -v -run TestServerOpenchain_API_GetBlockCount

vajadhav
2016-08-03 10:40
getting ......bash: go: command not found

vajadhav
2016-08-03 10:40
what could be the issue

vajadhav
2016-08-03 10:40
?

maheshpatil13
2016-08-03 10:58
@bgorman: Thanks for reply i understand that but fetching data on the block chain is very difficult so is there any way or standard we should put data get it back to show on UI screens.

akshay
2016-08-03 13:38
has joined #general

akshay
2016-08-03 13:44
hello...i am trying to deploy chaincode_example02 without security but i am getting *sending init failed(handler not found for chaincode demo)* this error after starting peer [7:13] this error will invoke when i deploy the chaincode

mikehocker
2016-08-03 14:43
has joined #general

amandeepmidha
2016-08-03 15:23
has joined #general

amandeepmidha
2016-08-03 16:10
A noob question ... Can IBM blockchain solution be deployed in Google App Engine ?

aleix
2016-08-03 16:39
has joined #general

rocky
2016-08-03 16:48
has joined #general

himmel
2016-08-03 18:37
has joined #general

uniack
2016-08-03 19:06
has joined #general

tmhoang_flatglobe.org
2016-08-03 20:34
has joined #general

mark.bradley
2016-08-03 21:20
has joined #general

danayelx
2016-08-03 21:55
you need to install virtual box, I think the standard env comes w go, which you need for hyperledger

danayelx
2016-08-03 21:55
would need vagrant as well

danayelx
2016-08-03 21:55
if all you need to do is build quick apps, perhaps bluemix would be the best way to go

maltaf
2016-08-04 01:17
has joined #general

maltaf
2016-08-04 02:10
Quick question, As git repo is currently a read-only repo not accepting pull requests, what would be the best way to contribute to the project

maltaf
2016-08-04 02:11
like joining the dev team etc

baohua
2016-08-04 02:13

maltaf
2016-08-04 02:15
Thanks @baohua , would I be able to generate PR on this repository?

maltaf
2016-08-04 02:16
or I'll have to submit the patch

baohua
2016-08-04 02:16
certainly, let me find the doc for u

maltaf
2016-08-04 02:16
sure

maltaf
2016-08-04 02:17
how frequently is the git repo updated?

baohua
2016-08-04 02:19
see the latest doc here http://cbf-fabric-docs.readthedocs.io/en/latest/CONTRIBUTING/, soon it will be merged into the official one.

baohua
2016-08-04 02:20
there is no regular update now, will be setup later

maltaf
2016-08-04 02:20
cool, thanks

maltaf
2016-08-04 02:21
Another question. is there a path to becoming committer to this project?

jonathanlevi
2016-08-04 02:25
Nope, it's pretty straight-forward. Once you have your user, you clone the repo, code and you can submit a patch set for review...

jonathanlevi
2016-08-04 02:27
[@maltaf note that it's not really a PR (which is the "GitHub's way") with Gerrit - but yes, it's pretty open to contributions]

maltaf
2016-08-04 02:28
Thanks @jonathanlevi I understand that

maltaf
2016-08-04 02:29
What I mean is that if someone wants to become a commiter or be pat of the dedicated team, is ther a process? like he should have x number of contributions or should be a contributer for y number of years etc

maltaf
2016-08-04 02:29
or perhaps there is a training that can lead to becoming a committer in short time

maltaf
2016-08-04 02:30
like Pivotal dojo for cloud foundry etc

jonathanlevi
2016-08-04 02:31
I see what you are asking. I don't know of any formal training. Some individuals contribute on their own, others contribute as part of their professional work.

baohua
2016-08-04 02:31
no, this project is open for every LF user currently. no training is required.

jonathanlevi
2016-08-04 02:32
But yes, you/one can pick up issues and fix them, suggest improvements, submit proposals, participate in discussions and regularly attend the various WGs.

jonathanlevi
2016-08-04 02:33
(There are several Working Groups, dedicated to particular topics...)

maltaf
2016-08-04 02:33
Sounds cool. Probably I'll be intersted to attend some of the WG meetings

maltaf
2016-08-04 02:34
any link or reference the calendar for the timings of these meetings

jonathanlevi
2016-08-04 02:38
Yes, it's really nice. Seriously. I have to admit that, at times, I am stunned myself by how open HL is.


jonathanlevi
2016-08-04 02:40
There is a menu on the right with about 106 pages. Knock yourself out :wink:

maltaf
2016-08-04 02:40
Thanks @jonathanlevi , I'll go through this page

jonathanlevi
2016-08-04 02:40
But do come back with more questions!

maltaf
2016-08-04 02:40
:slightly_smiling_face: sure

cchen
2016-08-04 02:47
has joined #general

evancarroll
2016-08-04 02:53
has joined #general

vdoblockchain
2016-08-04 03:45
has joined #general

vikasc
2016-08-04 05:07
has joined #general

jyl
2016-08-04 05:16
has joined #general

anu
2016-08-04 06:05
has joined #general

attaphon
2016-08-04 06:51
has joined #general

alexho
2016-08-04 07:26
Is there any way to query the consensus method currently adopted by a running peer?

yangtao76
2016-08-04 07:49
has joined #general

nayankr
2016-08-04 08:21
Hello, I have configured 2 node (docker-container) in my local using vagrant to VM. while deploying the the simple example for chain code , I am getting error:

nayankr
2016-08-04 08:21
07:04:21.868 [dockercontroller] Start -> ERRO 019 start-could not start containe r API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}

nayankr
2016-08-04 08:21
Any help or pointer on this please

alexho
2016-08-04 08:25
you have to use docker version < 1.12

rajaboini
2016-08-04 08:54
has joined #general

venkat
2016-08-04 09:14
hi everyone - how mature is the Java shim support currently for chaincode development?

venkat
2016-08-04 09:14
Is it just as good as golang chaincode?

venkat
2016-08-04 09:16
I ask this because, there is whole lot of existing business code in Java, which may need to be converted into smart contracts / chaincode. And there is an easily available Java skilled resource pool compared to golang.

venkat
2016-08-04 09:16
So what do you think of using Java instead of Golang for chaincode development?

abhishekseth
2016-08-04 10:28
Hey all, I am running the setup outside of vagrant which uses docker compose to run peer and member services. When we are in dev mode, it works fine but we we go out of that mode and come to network/production mode, containers for the chaincode should have been created for all the peers. But in my case, it is throwing error saying “not able to build images and hence not able to create containers."

abhishekseth
2016-08-04 10:29
Any pointer or help is appreciated.

satheesh
2016-08-04 15:05
@venkat: I wouldn't call the Java shim support as mature yet, but it is slowly catching up with goland counterpart. There are couple of releases planned for Java chaincode development. The first one carries huge re-organizaion of the project structure to make it easier for chaincode development easier, and a separate java docker image for chaincode deployment. It also gets support for range queries. This will be pushed to gerrit in a day or two.

satheesh
2016-08-04 15:08
@venkat: Spec wise it will soon reach golang's equivalence. Table support is in progress.

satheesh
2016-08-04 15:08
@venkat join #

venkat
2016-08-04 15:09
@satheesh - thanks for the update on Java shim support and the room link.

satheesh
2016-08-04 15:11
And yes you are correct, we started this with the objective to make existing java business code reusable in the hyperledger/chaincode environment

ibmdannywong
2016-08-04 15:49
hi there, from what I google so far. At this moment, state change is not recorded in ledger (only in proposed next generation architecture)

ibmdannywong
2016-08-04 15:49
the state only stores the latest value

ibmdannywong
2016-08-04 15:50
the ledger only stores transaction invocation history (which func is called, what input param, and result hash)

ibmdannywong
2016-08-04 15:51
I read the source code as well.. and seems my understanding is correct... is that anyone on the same page with me?

simon
2016-08-04 15:55
the ledger only stores current state

simon
2016-08-04 15:55
the blockchain stores transactions

simon
2016-08-04 15:55
there is some side table that stores the changes of transactions

cbf
2016-08-04 16:06
@amandeepmidha: IBM Blockchain is Hyperledger with our chosen container orchestration (Swarm). Basically, you can deploy Hyperledger anywhere you can deploy Docker containers

weisenfluh
2016-08-04 17:27
has joined #general

girish_c
2016-08-04 19:17
has joined #general

branciard
2016-08-04 19:57
has joined #general

jblack
2016-08-04 22:12
has joined #general

ibmdannywong
2016-08-05 00:56
@simon: I didn't find any side table information in specification or documentation on github. We need to find them in source code?


ibmdannywong
2016-08-05 01:01
i read in the source code, i found there are createTable / insert row in chaincode.go


ibmdannywong
2016-08-05 01:07
sample

ibmdannywong
2016-08-05 01:07
found it.

ychsiao
2016-08-05 01:34
has joined #general

pushpalatha
2016-08-05 02:52
Hi all, In go, only these are the column types supported? anyone is aware if we can store the complex types like os.File ? ColumnDefinition_STRING ColumnDefinition_INT32 ColumnDefinition_INT64 ColumnDefinition_UINT32 ColumnDefinition_UINT64 ColumnDefinition_BYTES ColumnDefinition_BOOL Please share your thoughts.

bgorman
2016-08-05 03:24
@pushpalatha: that's a Hyperledger/RocksDB thing ... you could always serialise your file into []bytes

pushpalatha
2016-08-05 04:37
@bgorman: Thank you so much for the quick response. I was wondering if rock's db supports complex files types like, pdf, images, cvs, xml etc. But I guess no. Hence thought that if you guys have come across any such scenarios and any workarounds for the same.

bgorman
2016-08-05 05:12
@pushpalatha: if you really want to store files in a blockchain, you could just store them as bytes keyed to a filename

grapebaba
2016-08-05 05:14
yep, why need store files in DB?just need store info which can find the file on server

jonathanlevi
2016-08-05 05:22
[While I don't know enough about the use-case need, FWIW:] Another technique is to `hash(something)` where `something` is uniquely identifying what was hashed.

jonathanlevi
2016-08-05 05:23
So some people store a hash of a document (or a URL to the document) and then they can prove that a block that was added to the blockchain contained a ("timed") hash of that doc.

jonathanlevi
2016-08-05 05:24
... where one may or may not want to reveal the context of that `something`.

gaurav
2016-08-05 05:50
Anyone recieved this error, while trying to use HFC, Node.js SDK for blockchain? TypeError: Cannot read property 'pb' of undefined at C:\workspace\example\poc\hfc\node_modules\hfc\lib\hfc.js:992:19 at TransactionContext.getMyTCert (C:\workspace\example\poc\hfc\node_modu les\hfc\lib\hfc.js:1038:20) at TransactionContext.execute (C:\workspace\example\poc\hfc\node_modules \hfc\lib\hfc.js:985:14) at C:\workspace\example\poc\hfc\node_modules\hfc\lib\hfc.js:924:29 at C:\workspace\example\poc\hfc\node_modules\hfc\lib\hfc.js:1136:24 at C:\workspace\example\poc\hfc\node_modules\hfc\lib\hfc.js:1260:28 at WriteStream.<anonymous> (C:\workspace\example\poc\hfc\node_modules\hf

pushpalatha
2016-08-05 05:50
@bgoeman: @grapebaba: @jonathanlevi : Thank you all. Very useful inputs. it helps.

ankaplan
2016-08-05 06:34
has joined #general

tteng
2016-08-05 07:16
has joined #general

svengapski
2016-08-05 07:16
has joined #general

david-attores
2016-08-05 07:26
has joined #general

mariant
2016-08-05 07:44
has joined #general

anit
2016-08-05 09:21
has joined #general

gaurav
2016-08-05 11:10
Anyone received this error while deploying their chain-code on the peer node: [chaincode] Launch -> ERRO 034 sending init failed(handler not found for chaincode chaincode_example02)

ukprasad
2016-08-05 11:12
has joined #general

garisingh
2016-08-05 11:37
@gaurav: ^^^^ this error means that chaincode did not deploy / start correctly

muralisr
2016-08-05 12:13
@gaurav: if u are in -peer-chaincodedev mode (which is usually where I see this issue) the chaincode name is likely incorrect

muralisr
2016-08-05 12:14
make sure CORE_PEER_CHAINCODE_ID_NAME=ccname is set correctly on chaincode and “ccname” is correctly passed (via “-n” param if you are runnng CLI)

akshay
2016-08-05 12:36
ya...i faced that error..but i didn't start and register the chaincode to peer so it gave that error..

akshay
2016-08-05 12:37
@gaurav

gaurav
2016-08-05 13:45
Thanks everyone. Another question, How can i cleanup my blockchain network state, that is undeploy all the deployed chaincodes and transactions on it. I want to make a fresh start with my playground peer node, so i want it cleaned up?

muralisr
2016-08-05 13:46
@gaurav: right now there’s no “undeploy” or upgrade

muralisr
2016-08-05 13:47
lifecycle is part of the proposal for next arch

sowmya
2016-08-05 14:01
has joined #general

gkaminsk
2016-08-05 14:06
has joined #general

codermint
2016-08-05 14:48
has joined #general

danryan
2016-08-05 14:57
has joined #general

alexharry
2016-08-05 15:29
has joined #general

kent.liang
2016-08-05 15:38
has joined #general

pschnap
2016-08-05 15:41
@ghaskins: I sent you a PM the other week and haven't gotten a response; not sure if you saw it or not

ghaskins
2016-08-05 15:48
@pschnap: apologies, drinking through a firehose at the moment

ghaskins
2016-08-05 15:48
what was it about?

pschnap
2016-08-05 15:51
a module that I'd written to ameliorate some of the boilerplate involved in writing chaincode (unmsarhsalling data); you'd thought it might fit in your Chaintool project and I got permission from my company to contribute it to either the core or Chaintool

pschnap
2016-08-05 15:52
I was looking for direction on (a) which project to contribute it to and (b) the way to go about doing so

pschnap
2016-08-05 15:52
& np, totally understand the firehose thing

jjason
2016-08-05 17:06
has joined #general

naissa-intel
2016-08-05 17:24
has joined #general

premsankar
2016-08-05 17:26
has joined #general

alexho
2016-08-05 17:29
Is there a client logout feature? Once I login to one client in a peer, how can I logout?

avneet117
2016-08-05 18:22
:+1:

aslom
2016-08-05 19:05
has joined #general

aglynn42
2016-08-05 19:48
has joined #general

garisingh
2016-08-05 20:41
@alexho - you can logout, but be aware you won't be able to login to a different peer

nkunkel
2016-08-05 22:41
Does the make behave test suite for Hyperledger require Python 2.7.X or Python 3.X?

jonathanlevi
2016-08-05 22:59

jonathanlevi
2016-08-05 22:59
Both are supported [by the Behave framework], but I believe we run it using Python 2.7

jonathanlevi
2016-08-05 22:59
... which is located in `/usr/lib/python2.7` in our vagrant/vbox image.

jonathanlevi
2016-08-05 23:00
@nkuchelar: ^^^

jonathanlevi
2016-08-05 23:01
Are you trying to upgrade to Ubuntu 16.04 (with python3 as the default) or so?

jonathanlevi
2016-08-05 23:04
We can start thinking about upgrading our image at some point (so while Behave supports it, we might need to revisit/upgrade the testing code). The above is just my quick 'first aid'. Jeff Garret is our Behave guru...

arvpai
2016-08-05 23:05
has joined #general

adilm
2016-08-06 03:24
has joined #general

ankitkamra
2016-08-06 05:12
Hi i am getting following error:- ledger: ressource not found can anyone help me to resolve this problem ?

raoul
2016-08-06 10:03
has joined #general

sravindran
2016-08-06 11:57
has joined #general

alexho
2016-08-06 13:11
@garisingh: How to logout? You can run “peer network login” to login or POST to registrar through REST API, but there is no logout command

garisingh
2016-08-06 13:14
@alexho: use a DELETE with the `/registrar/{enrollmentID}` endpoint

peter_zhang
2016-08-06 14:00
has joined #general

alexho
2016-08-06 14:10
@garisingh: Thanks for your help. However, if I DELETE the account, I cannot login again to in the same peer <tent-Type: application/json" -X POST -d '{"enrollId":"diego","enrollSecret":"DRJ23pEQl16a"}' localhost:7050/reg> {"OK":"Login successful for user 'diego'."} <ETE localhost:7050/registrar/diego {"OK":"Deleted login token and directory for user diego."} <nrollId":"diego","enrollSecret":"DRJ23pEQl16a"}' localhost:7050/registrar {"Error":"rpc error: code = 2 desc = \"Identity or token does not match.\""}

garisingh
2016-08-06 14:11
@alexo - yep. sorry - that is what I was trying to say earlier. I just commented here: https://jira.hyperledger.org/browse/FAB-2

garisingh
2016-08-06 14:12
hopefully that will help explain what is happening - but the bottom line is that "logging out" with the REST API is not really like logging out in the classic sense.

garisingh
2016-08-06 14:13
Using the NodeSDK is the way to go moving forward

alexho
2016-08-06 14:15
@garisingh: That explains it well. But is there any method to create a new one-time password for a user?

garisingh
2016-08-06 14:16
unfortunately not

alexho
2016-08-06 14:20
That’s quite said to hear that. Anyway, thanks for your help. It clears my questions about the login feature available at the moment.:slightly_smiling_face:

ahsan
2016-08-06 18:36
has joined #general

axonero
2016-08-06 22:41
I will take part onto the following Meetup mit Blockchain Meetup Saxony teil http://meetu.ps/e/BSX3Y/tyVjx/d

szlaci83
2016-08-07 15:10
Hi everyone, i am trying to deploy my go chaincode. I am using a single validating peer to test it. I always get the following error: Error: Error querying chaincode: rpc error: code = 2 desc = "Error:Failed to launch chaincode spec(Could not get deployment transaction for 398527d587b2497815e2a1ed4ae4c651ad61f80736c4b634d6ea2d5b44bc17cc2fe738340720690eb782e44189b339da714b7aa3686c4b30cb3dd994e0a559be - LedgerError - ResourceNotFound: ledger: resource not found)" Is there a way to check if the deployment was successful? I have tried to deploy a non compiling go code too, and it did not complain......

garisingh
2016-08-07 15:45
@szlaci83: one easy check is to see if the Docker container for your chaincode is actually created and running - e.g. `docker ps` or `docker ps -a`

szlaci83
2016-08-07 15:45
thanks @garisingh

szlaci83
2016-08-07 15:48
@garisingh: for the compiling chaincode I have the containers so deployment seem to be successful, but at query i still get the same error..... any idea?

garisingh
2016-08-07 16:24
@szlaci83: when are you getting this error? when trying to run a query or an invoke on the actual chaincode?

garisingh
2016-08-07 16:25
it may be that you are using the wrong identifier for the chaincode

szlaci83
2016-08-07 16:26
@garisingh: thanks for the quick response.... i am still trying, it seems i called the Query too quick in a script , and the docker container was not ready yet...:smile: i should be ok now. Thanks

garisingh
2016-08-07 16:28
yeah - generally you have to wait some period of time before calling the initial query / invoke

rajnair2k
2016-08-07 16:35
has joined #general

ericanyshare
2016-08-08 02:32
has joined #general

pushpalatha
2016-08-08 04:42
Hi All, I am trying block-listener program from hyperledger. Facing issue Event Address: 172.17.0.3:31315 could not start chat Could not create client conn to 172.17.0.3:31315 Error creating event client Any thoughts? Plz share ur exp.

bgorman
2016-08-08 05:22
@pushpalatha: not familiar with that tool, but the port 31315 is probably wrong

bgorman
2016-08-08 05:24
if you're using the gerrit code, I think it has port 7053

balaji.kutty
2016-08-08 06:12
has joined #general

balaji.kutty
2016-08-08 06:15
Hi all, Installed hyperledger fabric. Unable to login as admin. Other accounts like jim, deigo works fine. Should I do anything specific to make admin account enabled?

balaji.kutty
2016-08-08 06:33
When I tried to login as admin, it throws the message "Identity or token does not match."

pushpalatha
2016-08-08 06:59
@bgorman: I am not using gerrit. It's github code. And i am referring the README.md provided for the port details.. :disappointed:

bgorman
2016-08-08 07:10
@pushpalatha: oh ok.... can you see port 31315 listening with `netstat -na |grep 31315` ?

bgorman
2016-08-08 07:11
you might need to run block-listener inside the peer container, or have the peer's docker image publish the port externally

abigale
2016-08-08 07:19
has joined #general

preethi
2016-08-08 08:10
has joined #general

xapundel
2016-08-08 08:14
has joined #general

lc82lc82
2016-08-08 10:48
has joined #general

aarora06
2016-08-08 11:18
has joined #general

abhishekseth
2016-08-08 12:14
Hii all, Does anyone know how to enable the security in “outside of vagrant” setup?

pascalli
2016-08-08 12:17
has joined #general

apoltar
2016-08-08 13:11
has joined #general

karve
2016-08-08 13:45
has joined #general

irattan
2016-08-08 14:25
has joined #general

davisbroda
2016-08-08 17:53
I've noticed that fabric has moved its repo to gerrit. Based on standard go code conventions - in which the directory structure is supposed to match the repository location - this implies that this is supposed to be stored in something like http://gerrit.hyperledger.org/r/fabric, as that's the clone directory gerrit gives. However, the code still assumes that all packages are in http://github.com/hyperledger/fabric. While I could just move the code to the correct location, and work with that, it seems an inelegant method of getting new code. It makes me think I'm missing something about how I'm supposed to be getting new versions. What is the proper way of importing the code from gerrit?

garisingh
2016-08-08 19:22
@davisbroda: I'll let @cbf or one of the maintainers correct me, but for now you should still clone from Gerrit into the previous location (e.g. $GOPATH/src/github.com/hyperledger/fabric). I believe that once things are up and running, the github repo will be a mirror of Gerrit and then all imports will continue to work

davisbroda
2016-08-08 19:28
thanks for the update @garisingh I'll do that until they sync the two repos

leocarvalho
2016-08-08 19:31
has joined #general

pkhanal
2016-08-08 21:00
has joined #general

cealdi
2016-08-08 22:09
has joined #general

sherryxu
2016-08-09 01:28
has joined #general

sincetong911
2016-08-09 02:02
has joined #general

pushpalatha
2016-08-09 04:03
@bgorman: : Thank you so much. That issue is resolved when i executed inside the peer container. But now i see that there is a nil reference for the transactions. ========================================= Output (Error): ========================================= Received block -------------- panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x401a8f] goroutine 1 [running]: panic(0x946da0, 0xc8200140b0) /opt/go/src/runtime/panic.go:464 +0x3e6 main.main() /opt/gopath/src/github.com/hyperledger/fabric/examples/events/block-listener/block-listener.go:100 +0x3df ========================================= And in the log i see : ++++++++++++++++++++++++++++++++++++++++ vp2_1 | 2016/08/08 09:26:56 transport: http2Client.notifyError got notified that the client transport was broken EOF. vp3_1 | 09:26:56.572 [peer] handleChat -> ERRO 074 Error during Chat, stopping handler: rpc error: code = 13 desc = "transport is closing" vp0_1 | 09:26:56.574 [peer] handleChat -> ERRO 0b8 Error during Chat, stopping handler: connection error: desc = "transport is closing" vp1_1 | 09:26:56.386 [peer] handleChat -> ERRO 079 Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Error registering Handler: Duplicate Handler error: {name:"vp3" 172.17.0.5:30303 VALIDATOR } ++++++++++++++++++++++++++++++++++++++++ please, Let me know if u get any clue

rickbert
2016-08-09 04:13
has joined #general

bgorman
2016-08-09 05:11
@pushpalatha: Sorry, not sure what's wrong there. It's possibly a bug in the block-listener if "b == nil" at block-listener.go:100

pushpalatha
2016-08-09 05:30
@bgorman: quite possible. Will check it out. Thank you.

pushpalatha
2016-08-09 05:34
@pushpalatha uploaded a file: https://hyperledgerproject.slack.com/files/pushpalatha/F1ZFVK04X/docker-compose.yml and commented: Hi All, Can anyone please share the configuration(docker-compose.yml) for pbft setup? or plz review mine if i'm missing something/ any issues here.

bgorman
2016-08-09 05:42
@pushpalatha: your peers vp1-3 lack CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft

pushpalatha
2016-08-09 06:06
@bgorman: Thank u. I tried adding it. Still looks to be something missing / incorrect. i see following in log : | 06:00:30.734 [peer] handleChat -> ERRO 770a Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created vp0_1 |

bgorman
2016-08-09 06:11
@pushpalatha: you look like you've tried to customise the port numbers (from the docker side) for each peer as well, but not set CORE_PEER_ADDRESS and CORE_PEER_LISTENADDRESS for each peer?

bgorman
2016-08-09 06:12
same with the REST port as well

sbwdlihao
2016-08-09 06:24
has joined #general

gaurav
2016-08-09 06:33
Where can i find good documentation, if i need to explore node sdk HFC features?

dzadorozhnyi
2016-08-09 08:12
has joined #general

mike_edwards
2016-08-09 09:05
has joined #general

havinaykumar
2016-08-09 09:21
has joined #general

havinaykumar
2016-08-09 09:26
Hi All, I am able to deploy and write to a contract on local setup of hyperledger running inside docker container. But I am unable to read the values from the contract deployed. Here is the error "Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for c123c14a65a511ee79e2xxxxxxxxxxxxxxxxe7abdf8812986ac3c5770a9c - LedgerError - ResourceNotFound: ledger: resource not found)'". What am I missing ?

jwiechers
2016-08-09 09:34
has joined #general

abastys
2016-08-09 10:16
has joined #general

gaurav
2016-08-09 11:35
Hi, While deploying chaincode through the REST API, i receive the error, despite informing in beginning that the chaincode was deployed successfully: 11:32:25.311 [rest] ProcessChaincode -> INFO 092 REST successfully deploy chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"c71823f692eeb63ea66c56492d86521941e6656baa10d55d51bbdddff87272d003c185dd8db8ba2fa2986fc8e8b2ef8c962672b151d14d8253fb22cfc2f75add"},"id":1} 11:32:27.008 [dockercontroller] Start -> ERRO 093 start-could not start container API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"} 11:32:27.008 [chaincode] Launch -> ERRO 094 launchAndWaitForRegister failed Error starting container: API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}

abhishekseth
2016-08-09 12:32
I am getting the exactly same error. Someone told me that if we clone new fabric code from gerrit and do our experiments after that, this error will be removed because the patch has been added for this in the new code.

obachu
2016-08-09 12:52
has joined #general

vital
2016-08-09 13:05
has joined #general

vivek.raut
2016-08-09 14:00
has joined #general

mikeg
2016-08-09 22:03
has joined #general

e111e
2016-08-10 00:54
has joined #general

roger.quon
2016-08-10 02:54
has joined #general

murali
2016-08-10 02:57
has joined #general

adsfasdg
2016-08-10 03:13
has joined #general

gaurav
2016-08-10 04:27
i cloned the latest fabric source from github, and i still receive the same error: 04:25:23.294 [rest] ProcessChaincode -> INFO 02a REST successfully deploy chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"da8bdbecad48b109d5503152ddaf12ed20dc13f3ab1fb0c76fa132f3ef502932e251eb24659883133f20a5ab6a0840935a3e8c2e127935d9c92279f8fafa2769"},"id":1} 04:25:37.142 [dockercontroller] Start -> ERRO 02b start-could not start container API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"} 04:25:37.142 [chaincode] Launch -> ERRO 02c launchAndWaitForRegister failed Error starting container: API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}

gaurav
2016-08-10 04:30
surprising is also that now with latest source, i dont see any docker processes started on my vagrant image, i checked with docker ps command. vagrant@hyperledger-devenv:v0.0.10-346f9fb:/opt/gopath/src/github.com/hyperledger/fabric/membersrvc$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES also, i dont see fabric-peer and fabric-membersrc images on my vagrant image also: vagrant@hyperledger-devenv:v0.0.10-346f9fb:/opt/gopath/src/github.com/hyperledger/fabric/membersrvc$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE dev-jdoe-da8bdbecad48b109d5503152ddaf12ed20dc13f3ab1fb0c76fa132f3ef502932e251eb24659883133f20a5ab6a0840935a3e8c2e127935d9c92279f8fafa2769 latest b936e6e13c3c 4 minutes ago 1.731 GB hyperledger/fabric-ccenv latest 13e9a5e2e7b0 10 minutes ago 1.738 GB hyperledger/fabric-src latest fd1551683d26 10 minutes ago 1.721 GB <none> <none> eeb81fe7ab81 15 minutes ago 1.731 GB <none> <none> 34ef5b1bac22 57 minutes ago 1.738 GB hyperledger/fabric-baseimage latest 28123c6944f3 57 minutes ago 1.687 GB busybox latest 2b8fd9751c4c 6 weeks ago 1.093 MB hyperledger/fabric-baseimage x86_64-0.0.10 a2392cc113fd 10 weeks ago 1.076 GB

abhishekseth
2016-08-10 04:59
@gaurav: are u working outside of vagrant?

bgorman
2016-08-10 05:11
@gaurav: have you rebuilt the images since getting the latest code? the peer code has changed to accommodate the docker API HostConfig changes

gaurav
2016-08-10 05:21
@abhishekseth: i m working inside vagrant, and i m trying to a simple development environment setup. Hence, I have just done clone of the github fabric repository, and then done 'vagrant up', and then started peer node with 'peer node start', and they tried to deploy a chaincode through the REST API.

gaurav
2016-08-10 05:23
@bgorman: no, i havent rebuit the images, do i need to do that? i followed simple process as mentioned in the fabric developer setup, and also mentioned in response to @abhishekseth

bgorman
2016-08-10 05:24
ok, if you've only just cloned the repository, you probably built them from the (supposedly) working code anyway

bgorman
2016-08-10 05:51
@gaurav: can you please check inside the archive build\image\src\gopath.tar.bz2 if your vendor\http://github.com\fsouza\go-dockerclient\container.go:688 checks for `c.serverAPIVersion.LessThan(apiVersion124)`

bgorman
2016-08-10 05:53
you could also check inside a peer container for the same file

gaurav
2016-08-10 06:30
@bgorman: i checked inside container.go, but it doesn't have any entry for c.serverAPIVersion.LessThan(apiVersion124)

bgorman
2016-08-10 06:31
does your clone of the source mention it?


bgorman
2016-08-10 06:32
see line :688

bgorman
2016-08-10 06:44
if anyone else is having the docker "HostConfig" errors, make sure you're using the latest code from http://gerrit.hyperledger.org/r/fabric (not github)

gaurav
2016-08-10 06:58
@bgorman: moving to gerrit from guthub, should also then resolve the "LedgerError - ResourceNotFound" errors on query/invoke api's, since this issue results because of previous errors during deployment of the chaincode

flyingtiger.feihu
2016-08-10 08:08
has joined #general

akshay
2016-08-10 08:23
hey..

akshay
2016-08-10 08:23
can we delete users which are mentioned in membersrvc.yaml which are registered to peer network?

ashnur
2016-08-10 08:28
where can I ask about the docker images?

ashnur
2016-08-10 08:29
especially about this message that says deprecated soon: https://hub.docker.com/r/yeasy/hyperledger-peer/~/dockerfile/

simon.boyden
2016-08-10 08:44
has joined #general

elcct
2016-08-10 08:55
has joined #general

balaji.kutty
2016-08-10 09:15
I did a git pull today, built peer and membersrvc and restarted. Now, the users admin, deigo are not able to login. It throws message "Identity lookup error: sql: no rows in result set". Client account jim still works. What is the procedure to publish the users?

yukikaze
2016-08-10 09:25
has joined #general

abhishekseth
2016-08-10 09:37
Hey all, Does anyone know how do I enable security in "outside of vagrant" setup which just uses docker-compose.yml file for all the configuration and stuff?

moosawan
2016-08-10 10:35
has joined #general

rgross
2016-08-10 10:38
has joined #general

cr-mn
2016-08-10 13:45
has joined #general

allenofchina
2016-08-10 14:28
has joined #general

avroom
2016-08-10 15:19
has joined #general

rayin
2016-08-10 16:16
has joined #general

mainlink
2016-08-10 18:09
has joined #general

jce23
2016-08-10 18:16
has joined #general

sriram85
2016-08-10 20:48
has joined #general

nahill
2016-08-10 22:07
has joined #general

ccd
2016-08-11 01:28
has joined #general

jzou3700
2016-08-11 02:11
has joined #general

murali.surampalli
2016-08-11 03:11
has joined #general

thammarat
2016-08-11 04:37
has joined #general

nardo
2016-08-11 06:40
has joined #general

lynx
2016-08-11 06:44
has joined #general

abhishekseth
2016-08-11 07:20
Hey, all… I git cloned the latest gerrit code. When I run "make peer” command, I get the following error: Step 2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/src/.dummy] Error 1

abhishekseth
2016-08-11 07:20
Any clue is appreciated.

jcarrivick
2016-08-11 07:33
@abhishekseth: It looks like the tar file has become corrupted somehow

jcarrivick
2016-08-11 07:33
I would run `make clean` then `make peer` again

sudhir_alluri
2016-08-11 08:14
has joined #general

terzim
2016-08-11 08:43
has joined #general

lyriarte
2016-08-11 09:51
Hi all,

lyriarte
2016-08-11 09:51
I'm having problems with chaincode parameters after sync'ing from gerrit

lyriarte
2016-08-11 09:52
past change eacd0e0de3a0d147efea0278e69bddb8709174ef

lyriarte
2016-08-11 09:52
Merge "Use repeated bytes instead of repeated string for chaincode call args"

lyriarte
2016-08-11 09:53
I'm building peer and chaincode_example02

lyriarte
2016-08-11 09:54
I get the following error when invoking the chaincode as peer chaincode deploy -n example02 -c '{"Function":"init", "Args": [ "a", "200", "b", "100" ] }' Error: Chaincode argument error: illegal base64 data at input byte 0

lyriarte
2016-08-11 09:55
I'm working outside gerrit, running the peer in --peer-chaincodedev mode

lyriarte
2016-08-11 09:55
same thing works fine @f1b6762f569852f1fa75bd9a280507c3178fbe6d

lyriarte
2016-08-11 09:56
Also, I did a clean build for the peer.

lyriarte
2016-08-11 09:59
If I understand correctly, I should not have to rewrite chaincode since change fd498d2fa7fdc048b4150db1a15eef572f536a87 makes no change to chaincode_example02, but just to examples 04 and 05 that call into example 02 ?

zihao.xiao
2016-08-11 10:15
has joined #general

trichalo
2016-08-11 10:21
has joined #general

simon
2016-08-11 11:24
lyriarte: what path did you clone to?

hgabor
2016-08-11 11:25
the problem is that 200 and 100 arent base64

simon
2016-08-11 11:26
wait, why does it have to be base64?

hgabor
2016-08-11 11:26
since Merge "Use repeated bytes instead of repeated string for chaincode call args"

hgabor
2016-08-11 11:26
args are bytes

simon
2016-08-11 11:26
yes

simon
2016-08-11 11:26
and the REST api now expects base64?

hgabor
2016-08-11 11:26
yes it does

simon
2016-08-11 11:27
i see

simon
2016-08-11 11:27
that's inconvenient

simon
2016-08-11 11:27
i see

hgabor
2016-08-11 11:27
i ve also modified the corresponding tests in that commit, to use b64

simon
2016-08-11 11:27
that's the reason

simon
2016-08-11 11:28
maybe that should be a different REST api call?

simon
2016-08-11 11:28
oh i don't know

hgabor
2016-08-11 11:28
maybe we could add some conversion for the command line

gaurav
2016-08-11 11:28
Can someone please point or share some documentation on Hyperledger Fabric Client (HFC) for Node.js, I wish to explore it features, capabilities

simon
2016-08-11 11:28
hgabor: i guess

hgabor
2016-08-11 11:28
I think that is OK if the REST needs b64

simon
2016-08-11 11:28
bloats everything tho

simon
2016-08-11 11:29
silly json

hgabor
2016-08-11 11:29
it is not OK if the command line needs it

simon
2016-08-11 11:29
ideally there would be a way to use strings or b64

simon
2016-08-11 11:29
but json can't distinguish them

simon
2016-08-11 11:29
so yea

hgabor
2016-08-11 11:30
1st we should investigate if there is a way to use string in the REST

hgabor
2016-08-11 11:30
I am not sure there is

hgabor
2016-08-11 11:35
who is the expert of the REST api?


lyriarte
2016-08-11 11:39

gaurav
2016-08-11 11:39
i need more than setup information, information like how to retrieve chain related information like chain height, transaction details, and to explore event related capabilities of hyperledger from HFC

simon
2016-08-11 11:40
lyriarte: no, to which directory locally

lyriarte
2016-08-11 11:40
~/git/hyperledger/fabric

lyriarte
2016-08-11 11:40
that's outside vagrant

lyriarte
2016-08-11 11:41
I don't understand how it is relavant ?

lyriarte
2016-08-11 11:41
BTW I got the issue using the CLI, not REST

lyriarte
2016-08-11 11:41
REST worked before (@f1b6762f569852f1fa75bd9a280507c3178fbe6d)

lyriarte
2016-08-11 11:42
but I haven't even bothered fixing my web clients since I couldn't even get the CLI to work

hgabor
2016-08-11 11:44
@lyriarte: I dont think this has anything to do with the place where you cloned your repo to

lyriarte
2016-08-11 11:44
sure

ashnur
2016-08-11 11:44
gaurav: the url is misleading, you can find a lot of information there, not just about setup

hgabor
2016-08-11 11:45
@lyriarte: the problem is the b64 thing we described below

lyriarte
2016-08-11 11:45
I get that, but what should I do about it ?

hgabor
2016-08-11 11:45
I am looking at the REST code now to sort this out

hgabor
2016-08-11 11:46
lets suppose that I am able to fix it, this way you have to use the fix, and for now you can use master HEAD^1 :slightly_smiling_face:

hgabor
2016-08-11 11:46
if I am unable... that s another story :slightly_smiling_face:

lyriarte
2016-08-11 11:46
But just using the Command Line Interface is broken also, what's the REST supposed to do with it ?

lyriarte
2016-08-11 11:47
Well anyway I'm @f1b6762f569852f1fa75bd9a280507c3178fbe6d and I'm fine, working with the new 705x ports

hgabor
2016-08-11 11:47
the REST wants base64 instead of string like "100"

mohan
2016-08-11 11:47
@gaurav: Yes @ashnur is right. It has lot of information other than setup. Just dig through the links

lyriarte
2016-08-11 11:47
@hgabor: oh... painful.

hgabor
2016-08-11 11:48
and the command line sends just simply what you give to it

lyriarte
2016-08-11 11:48
ok... any example in the documentation ?

simon
2016-08-11 11:48
lyriarte: no, that won't work

hgabor
2016-08-11 11:48
from a program it is no so painful to create a b64 thing and pass that

simon
2016-08-11 11:48
lyriarte: you need to put it in your GOPATH in http://github.com/hyperledger/fabric

lyriarte
2016-08-11 11:49
sure, from a JS web client that would be ok

simon
2016-08-11 11:49
or go will pick up the old files

hgabor
2016-08-11 11:49
@lyriarte: maybe the docs are outdated, please link me those and I will try to fix it or ask somebody who is more familiar :slightly_smiling_face:

lyriarte
2016-08-11 11:51
@simon: my GOPATH is ok, the peer executable I'm running is just a symlink in /usr/local/bin to the one I'm building in build/bin/peer

simon
2016-08-11 11:51
where is your GOPATH

lyriarte
2016-08-11 11:52
/home/lyriarte/obc-distrib/docker:/home/lyriarte/obc-distrib/obc-vendor:/home/lyriarte/obc-distrib/openblockchain

lyriarte
2016-08-11 11:53
the hyperledger sources are the last ones (openblockchain)

lyriarte
2016-08-11 11:53
I started from the github/openblockchain repo, then added a remote to github/hyperledger, then another remote to thehyperledger gerrit

lyriarte
2016-08-11 11:55
@simon: Should I have only one folder in my GOPATH ? In case the docker sources take precedance ?

simon
2016-08-11 11:55
what docker sources?

lyriarte
2016-08-11 11:56
/home/lyriarte/obc-distrib/docker

lyriarte
2016-08-11 11:56
They are also in my GOPATH as I used to build docker - older linux version, I built go + docker from sources

simon
2016-08-11 11:56
no, my point is that the hyperledger sources need to be in gopath

lyriarte
2016-08-11 11:57
they are: /home/lyriarte/obc-distrib/openblockchain

lyriarte
2016-08-11 11:57
that's where I pulled them.

simon
2016-08-11 11:58
you said they're in ~/git/hyperledger/fabric

lyriarte
2016-08-11 11:59
sorry, symlink. look:

lyriarte
2016-08-11 11:59
lyriarte@lyriarte-e5410:~/git/hyperledger/fabric$ ls -al /home/lyriarte/obc-distrib/openblockchain/src/github.com/

lyriarte
2016-08-11 11:59
lrwxrwxrwx 1 lyriarte lyriarte 30 juin 30 11:06 hyperledger -> /home/lyriarte/git/hyperledger

simon
2016-08-11 11:59
ah!

simon
2016-08-11 12:00
then it is not the problem i thought it was

lyriarte
2016-08-11 12:00
I moved my sources around and symlinked everywhere since openblockchain -> hyperledger -> gerrit

lyriarte
2016-08-11 12:00
so yeah it's a symlink spaghetti plate right now

simon
2016-08-11 12:00
i think hgabor is looking at the source

lyriarte
2016-08-11 12:01
but I guess my issue is more the base64 thing @hgabor mentionned

simon
2016-08-11 12:01
yea

hgabor
2016-08-11 12:01
yes definitely

lyriarte
2016-08-11 12:02
Anyway, encoding everything in b64 is ok for the REST API I guess but for the CLI it's painful

hgabor
2016-08-11 12:03
yes I see it the same way

hgabor
2016-08-11 12:03
it seems now that the easy way of fixing this is to modify the cli

hgabor
2016-08-11 12:04
what do you think?

lyriarte
2016-08-11 12:04
If you can upload a patch on gerrit for the CLI I'll try it out

lyriarte
2016-08-11 12:04
That seems to make sense to encode REST in base64

lyriarte
2016-08-11 12:05
but use CLI as plain text

simon
2016-08-11 12:06
right on

lyriarte
2016-08-11 12:07
Ok, so I'll keep an eye on gerrit, and try to update my Javascript code to work in base64 with the latest peer

lyriarte
2016-08-11 12:07
Thanks you guys for explaining.

lyriarte
2016-08-11 12:16
@hgabor: regarding the documentation, I'm using docs/API/CoreAPI.md for reference, and @acac0e98ffd12ecb1c8cd6f766b020bd343a2991 the REST API sample still shows plain text in the JSON args.

lyriarte
2016-08-11 12:17
POST host:port/chaincode .... "args":["a", "1000", "b", "2000"]

marccrafols
2016-08-11 12:20
has joined #general

hgabor
2016-08-11 12:30
lyriarte I am going to fix it

lyriarte
2016-08-11 12:34
Thanks!

hgabor
2016-08-11 12:36
welcome

safitudo
2016-08-11 12:38
has joined #general

hgabor
2016-08-11 12:49
@lyriarte: it seems that there is a JSON parsing in the CLI client itself

hgabor
2016-08-11 12:49
you give something to is and it tries to parse it as a json

hgabor
2016-08-11 12:50
and go json decoder wants []byte as base64. I do not know if there is any way to workaround this

safitudo
2016-08-11 12:52
Hi all, I have few general architecture questions: Will appreciate any input on this (may be in private chat not to bother others). In our project, transaction entity has 4 states. Each state and entity itself has some properties. Is it effective to store that data in shim (chaincodeStub) tables? What are the alternatives? What if data should be easy to access and filter by parties?

lyriarte
2016-08-11 12:56
@hgabor: So that means parsing the JSON structure, and replacing the "args" array in the resulting hash with an array containing the b64 representations of each item? Oh well...

lyriarte
2016-08-11 12:57
BTW, looking at the source it seems that the "function" argument needs to be converted in b64 as well ?

hgabor
2016-08-11 12:58
Please have a look at protos/chaincode.proto

hgabor
2016-08-11 12:58
I remember there is no function parameter now

hgabor
2016-08-11 13:01
function is just an argument if you need one

hgabor
2016-08-11 13:02
you can also pass encoded structures as the arguments are just bytes

hgabor
2016-08-11 13:02
you can have "more than one functions"

lyriarte
2016-08-11 13:03
ok, looking at the json samples you something like:

lyriarte
2016-08-11 13:04
"ctorMsg": {"function":"query", "args":["a"]}

lyriarte
2016-08-11 13:04
but in the chaincode.proto

lyriarte
2016-08-11 13:04
I can see that

hgabor
2016-08-11 13:05
yeah it turns out that the docs are out of date

lyriarte
2016-08-11 13:05
message ChaincodeSpec {.... ChaincodeInput ctorMsg = 3; ....

simon
2016-08-11 13:05
ok, rest_api.go is a spaghetti maze

hgabor
2016-08-11 13:05
I will have to fix those

lyriarte
2016-08-11 13:05
and message ChaincodeInput { repeated bytes args = 1; }

hgabor
2016-08-11 13:05
@simon for lyriarte it is the peer/main.go that fails json unmarshalling

lyriarte
2016-08-11 13:06
so actually ctorMsg is now a byte array.

hgabor
2016-08-11 13:06
yes

lyriarte
2016-08-11 13:07
@hgabor: One thing though: The callbacks signatures in chaincode examples are still like that:

lyriarte
2016-08-11 13:07
func (t *SimpleChaincode) Invoke(stub *shim.ChaincodeStub, function string, args []string) ([]byte, error) {

lyriarte
2016-08-11 13:08
So from the chaincode perspective there's one single "function" parameter.

simon
2016-08-11 13:09
yes

hgabor
2016-08-11 13:09
yeah that remained is it were. chaincode API change will come in another step: the chaincode will have to use stub to get all the args. stub.GetArgs() return [][]byte

simon
2016-08-11 13:10
oh while we're in there we need to change the chaincode api

lyriarte
2016-08-11 13:10
ok so it's not the shim layer underneath that's going to translate the arguments.

simon
2016-08-11 13:11
not in the long run

lyriarte
2016-08-11 13:11
will the "function" arg still have some kind of special statusus though ?

lyriarte
2016-08-11 13:11
I mean, is this:

lyriarte
2016-08-11 13:11
"ctorMsg": {"function":"query", "args":["a"]}

lyriarte
2016-08-11 13:11
still valid ?

simon
2016-08-11 13:11
no

lyriarte
2016-08-11 13:11
okay

lyriarte
2016-08-11 13:12
good to know, I was starting to rely on it as a selector.

simon
2016-08-11 13:12
well i suggest for the cli we can just unmarshal an array of strings

simon
2016-08-11 13:12
and cast them to bytes?

simon
2016-08-11 13:12
does that seem reasonable?

simon
2016-08-11 13:12
lyriarte: now you can just use the first argument as selector

simon
2016-08-11 13:13
we need to change the chaincode API so that you don't pass in an object to the shim

lyriarte
2016-08-11 13:13
@simon: sure, that does'nt prevent anything.

simon
2016-08-11 13:13
but a factory function

lyriarte
2016-08-11 13:13
makes sense

simon
2016-08-11 13:14
people are tempted to store state in the object across invocations

lyriarte
2016-08-11 13:16
kind of kills the purpose of a "REST" API then, especially when you have a blockchain to store state if you need that.

hgabor
2016-08-11 13:18
@simon what kind of factory function you me, explain please

ggrandli
2016-08-11 13:19
My client would like to know where the stderr and stdout logs are located in their hyperledger environment. Is there a configuration file that specified their location?

xapundel
2016-08-11 13:24
Does anybody know if we have any detailed description of Hyperledger Multichain ? Is it implemented?

xapundel
2016-08-11 13:25
do we have any examples of separating solution into some chains?

ggrandli
2016-08-11 13:26
My client would like access to the hyperledger project slack channel, is there a way to request authorization for their access?

xapundel
2016-08-11 13:28
@ggrandli: just use this url https://slack.hyperledger.org/

hgabor
2016-08-11 13:51
@lyriarte: check this pls, it is WIP but I think you can try it, at least it compiles :wink: https://gerrit.hyperledger.org/r/#/c/481/

lyriarte
2016-08-11 13:57
build is okay, let me try it out

ggrandli
2016-08-11 14:00
@xapundel Thx!

abhishekseth
2016-08-11 14:07
hey all,

abhishekseth
2016-08-11 14:08
I git cloned the latest gerrit code. When I run "make peer” command, I get the following error: Step 2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/src/.dummy] Error 1

abhishekseth
2016-08-11 14:08
any help?

abhishekseth
2016-08-11 14:19
@hgabor: Can u please help me regarding my error above?

simon
2016-08-11 14:21
sounds like broken bzip file

abhishekseth
2016-08-11 14:22
yeah, but I am not able to fix this. any idea?

lbonniot
2016-08-11 14:23
@abhishekseth: @jcarrivick already answered to you https://hyperledgerproject.slack.com/archives/general/p1470900830001159

abhishekseth
2016-08-11 14:24
One more thing, since when I cloned the gerrit code instead of github one, i see container made for membersrvc but i don’t see them up and running for in my terminal. Any idea? @ibonniot, That dint help.

abhishekseth
2016-08-11 14:30
@zsolt: I am running outside of vagrant and someone told me that u might help me and answer my queries.

abhishekseth
2016-08-11 14:30
Can u please spare 5 mins of your time to fix the error i mentioned above?

zsolt
2016-08-11 14:47
@abhishekseth: what platform are you on?

abhishekseth
2016-08-11 14:59
MAC OSx

abhishekseth
2016-08-11 15:00
@zsolt: I using docker-compose up to start my peer and membersrvc which reads docker-compose.yml for config and stuff.

zsolt
2016-08-11 15:00
current docker, or the beta?

abhishekseth
2016-08-11 15:04
beta

zsolt
2016-08-11 15:16
it did not work for me with the beta (but with a different error), last time I`ve tried it is about a month ago. I didn’t dive deeper into the problem at that time

abhishekseth
2016-08-11 15:18
Are u working in outside of vagrant setup right now?

zsolt
2016-08-11 15:39
i moved to inside vagrant, as it cause too much hassle to maintain the outside-of-vagrant build working

abhishekseth
2016-08-11 15:42
hmm...

simon
2016-08-11 15:44
lol

simon
2016-08-11 15:44
way to go

simon
2016-08-11 15:44
application that can only be installed in vagrant

abhishekseth
2016-08-11 16:11
hehe. :smile:

bradled
2016-08-11 17:12
has joined #general

bthakur
2016-08-11 17:22
has joined #general

tokugawa
2016-08-11 17:53
has joined #general

devesksi
2016-08-11 18:12
has joined #general

dale.moberg
2016-08-11 18:44
has joined #general

jce23
2016-08-11 18:58
is trying to install sawtooth lake on an Ubuntu vm a non-starter? The tutorial assumes that vagrant and virtualbox are going to work without issues, but I keep hitting walls...It seems to point to virtualbox more than vagrant. I've gotten a few different errors around not running it in a Xen environment. Anyone have any advice?

boydjohnson
2016-08-11 19:11
@jce23: Have you been using the sawtooth-dev-tools ubuntu vagrant vm?

jce23
2016-08-11 19:13
I am going to say no since I was following the tutorial, and the first steps are to ensure that vagrant and vbox are installed. Are there other instructions I should be following? Can you link me?

boydjohnson
2016-08-11 19:16
Yeah, check out https://github.com/hyperledger/sawtooth-docs/issues/10. The tutorial is out of date right now but in the next two weeks should be up-to-date. That github issue shows how some of the Marketplace tutorial issues can be fixed.

jce23
2016-08-11 19:36
thanks for the link...when you ask if I am using the sawtooth-dev-tools Ubuntu vagrant vm, can you expand on that? I am on an Ubuntu 14.04 vm. I've cloned the stl files from github, and have tried multiple times and ways to get virtualbox to work, but it does not. Is the vm you reference within the dev-tools folder structure? I am not used to feeling like such a noob, thanks for the help...

jce23
2016-08-11 19:36
I should be clear, I am not seeing anything in the link you provided that will help me right now.

sdudley
2016-08-11 19:41
has joined #general

jblaszczyk
2016-08-11 19:53
has joined #general

rbuysse
2016-08-11 20:05
@jce23: I don’t think running VirtualBox inside a VM is supported.

jce23
2016-08-11 20:06
•Note that your Host should not run within a VM. If you attempt this, the VM within your Host may fail to boot with a message indicating that VT-x is not available. The above is from the Fabric docs. Should I take this to mean that they (STL and/or Fabric) should be installed on physical hosts, not cloud-based or other VMs?

rbuysse
2016-08-11 20:07
You can install Sawtooth directly onto a VM

jce23
2016-08-11 20:09
ok, so follow up the sys admins guide for STL then if using a VM?

rbuysse
2016-08-11 20:33
yeah the sysadmin guide might be a better place to start. The Transaction Family section of the Tutorial will help you understand the system a little better so that is worth a read too.

jce23
2016-08-11 20:50
thank you. I have a valid txnvalidator running now

kevinsager
2016-08-11 20:59
has joined #general

mdavid
2016-08-11 23:08
has joined #general

frankc
2016-08-11 23:12
has joined #general

stevegreig
2016-08-11 23:34
has joined #general

h2
2016-08-12 00:18
has joined #general

troyronda
2016-08-12 01:06
@lyriarte: fyi - here is the args param as a byte array: "args":[[97], [49, 48, 48], [98], [50, 48, 48]]

celio.nelson
2016-08-12 01:19
has joined #general

prasad.akkinapalli
2016-08-12 01:25
has joined #general

gaurav
2016-08-12 04:41
Thanks. But I am searching specifically if there are APIs part of HFC SDK for Node.js for retrieving transaction details, chain heights, a particular block details(say block no. 10), etc. These capabilities are present as part of the REST API through the /chain, /chain/block/{blockNumber} REST interface. So i am looking for similar API's interfaces in the HFC SDK for Node.js if there.

truc.nguyen
2016-08-12 06:24
has joined #general

kapgoyal
2016-08-12 06:48
has joined #general

mattyv
2016-08-12 06:56
has joined #general

swood
2016-08-12 07:36
any tips on unit testing chain code ?

hgabor
2016-08-12 07:38
@swood have a look at noop chaincode

hgabor
2016-08-12 07:38
not sure it helps but it may

swood
2016-08-12 07:39
@hgabor: perfect, thanks!

swood
2016-08-12 07:42
@hgabor: do you think this same approach would work with a chaintool project?

hgabor
2016-08-12 07:43
what exactly is a 'chaintool project'? :slightly_smiling_face:

swood
2016-08-12 07:44
e.g., examples/chaincode/chaintool/example02

swood
2016-08-12 07:45
chain code that's generated from "fabric-chaintool"

hgabor
2016-08-12 07:49
oh

hgabor
2016-08-12 07:49
yes I think it would work

bgorman
2016-08-12 07:50
@swood I've got a changeset to try and simplify chaincode unit testing, I'm not sure how it will go with chaintool code though: https://gerrit.hyperledger.org/r/#/c/365

swood
2016-08-12 07:51
thanks @bgorman and @hgabor, i'll give it a shot!

synechist
2016-08-12 08:30
has joined #general

synechist
2016-08-12 09:03
Hi all, I'd like to get involved in interoperability discussions. Any recommendations for channels or people?

pradip
2016-08-12 11:49
has joined #general


synechist
2016-08-12 12:31
Thanks @ashnur :slightly_smiling_face: I'll look around.

ashnur
2016-08-12 12:31
yw

synechist
2016-08-12 12:32
Hmm... it doesn't look like there's anything explicitly about inter-chain interoperability in there. Anyone in here interested in this topic?

hgabor
2016-08-12 12:35
# maybe and or #

synechist
2016-08-12 12:37
Thanks @hgabor :slightly_smiling_face:

hgabor
2016-08-12 12:37
sure thing

mzobe
2016-08-12 12:48
has joined #general

middleton
2016-08-12 14:35
heads up on some changes on sawtooth

middleton
2016-08-12 14:36
we took out the default config file and instead set defaults within the validator code. Those can still be overridden by a config file -- see the example in validator/etc

middleton
2016-08-12 14:37
Also I changed the default PoET timing for 5 second interblock timing. The original default settings were for 25 node networks but these settings are more useful for quick turn experiments developers are doing with smaller networks.

hyperpiper
2016-08-12 17:07
has joined #general

matthieuc
2016-08-12 17:21
has joined #general

stewfrue
2016-08-12 17:47
has joined #general

zmyrick
2016-08-12 18:26
has joined #general

delitzer
2016-08-12 18:52
has joined #general

wexdev
2016-08-12 19:47
has joined #general

rashmi_mc
2016-08-12 20:01
has joined #general

lfzkoala
2016-08-13 02:53
has joined #general

lyriarte
2016-08-13 11:04
@troyronda: thanks. With @hgabor patch on the CLI, and JS base64 encoding functions, I hope I'll never have to actually enter parameters this way :wink:

jeervin
2016-08-13 14:46
has joined #general

deathcape
2016-08-13 17:05
has joined #general

vjosisek
2016-08-13 20:45
has joined #general

witwiki
2016-08-14 01:44
has joined #general

tylerchase
2016-08-14 14:57
has joined #general

vijayakrishnnacs
2016-08-14 15:16
has joined #general

bhaskar
2016-08-14 17:46
has joined #general

destenson
2016-08-14 19:08
has joined #general

pushpalatha
2016-08-14 20:15
Hi All, Is there any join table query available in gocode for rocks db?

2012revisited
2016-08-14 21:30
has joined #general

lchiu
2016-08-14 23:12
has joined #general

terry
2016-08-14 23:57
has joined #general

yitch
2016-08-15 02:08
has joined #general

letslego
2016-08-15 03:08
has joined #general

bgorman
2016-08-15 07:56
@pushpalatha: from what I can see there aren't really any table queries... tables just return all their rows

nickgogerty
2016-08-15 14:02
has joined #general

lefkok
2016-08-15 15:22
has joined #general

calvin.powers
2016-08-15 18:01
has joined #general

vijayr24
2016-08-15 20:14
@vijayr24 uploaded a file: https://hyperledgerproject.slack.com/files/vijayr24/F21HUGVRA/snip20160815_1.png and commented: Hi All, I am trying to follow the steps mentioned in the following link "https://github.com/hyperledger/fabric/blob/master/docs/Setup/Chaincode-setup.md#chaincode-deploy-via-cli-and-rest" to setup Hyperledger in my MAC using docker. I am getting the following error when I try to run my peer

vijayr24
2016-08-15 20:15
When I execute the step "CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:30303 ./chaincode_example02"

vijayr24
2016-08-15 20:16
I am using option 2 to setup Hyperledger

rocky
2016-08-15 20:21
zmanage

arnofontaine
2016-08-15 20:24
has joined #general

bgattas
2016-08-15 22:33
has joined #general

trichalo
2016-08-16 01:04
@vijayr24: the port changed from 30303. Try port 7051

trichalo
2016-08-16 01:07
I suggest that we either get the online docs updated or put up a notice that the default port number changed as there are multiple queries coming through here?

sheehan
2016-08-16 01:46
which docs are you looking at? I believe most were updated with the change

bgorman
2016-08-16 01:47
@vijayr24: if you are going to use CORE_PEER_ADDRESS=0.0.0.0:30303 you will need to set CORE_PEER_ADDRESSAUTODETECT=true otherwise you need to set CORE_PEER_ADDRESS to a valid hostname/IP that other machines can connect to @sheehan see the github link vijayr24 posted

sheehan
2016-08-16 01:48
ah, everything has been moved to Gerrit. https://gerrit.hyperledger.org The GitHub docs are outdated at this point

ramesh
2016-08-16 01:48
@bgorman: Please refer this url http://169.53.62.117/site/index.html

bgorman
2016-08-16 01:49
@ramesh: thanks, why am I referring to that URL?

sheehan
2016-08-16 01:49
I realize this is a huge point of confusion currently. I hope that Gerrit will be mirrored in GitHub soon. Maybe @ry or @cbf know the status

sheehan
2016-08-16 01:50
found the issue tracking the mirroring https://jira.hyperledger.org/browse/FAB-77

cbf
2016-08-16 01:51
been traveling today, my plan is to move the archives and get the mirror in place this week

sheehan
2016-08-16 01:53
also there’s a mailing list where these types of updates are posted. http://lists.hyperledger.org/pipermail/hyperledger-fabric/2016-August/000189.html You can see all the lists and subscribe at http://lists.hyperledger.org/mailman/listinfo

bgorman
2016-08-16 01:54
@cbf is http://hyperledger.org/ going to be updated as well at some point?

cbf
2016-08-16 01:54
yes

bgorman
2016-08-16 01:54
great :slightly_smiling_face:

maltaf
2016-08-16 02:10
Anyone deployed car-lease-demo to local fabric instance?

maltaf
2016-08-16 02:11
I am having trouble deploying it. getting following errors: ```02:06:56.673 [crypto] getEnrollmentCertificateFromECA -> ERRO 01c [client.DVLA] Failed invoking CreateCertficatePair [rpc error: code = 2 desc = "Identity lookup error: sql: no rows in result set"]. 02:06:56.674 [crypto] retrieveEnrollmentData -> ERRO 01d [client.DVLA] Failed getting enrollment certificate [id=DVLA]: [rpc error: code = 2 desc = "Identity lookup error: sql: no rows in result set"] 02:06:56.674 [crypto] registerCryptoEngine -> ERRO 01e [client.DVLA] Failed retrieving enrollment data [rpc error: code = 2 desc = "Identity lookup error: sql: no rows in result set"]. 02:06:56.674 [crypto] register -> ERRO 01f [client.DVLA] Failed registering node crypto engine [rpc error: code = 2 desc = "Identity lookup error: sql: no rows in result set"]. 02:06:56.674 [crypto] Login -> ERRO 020 Failed registering client [DVLA] with name [DVLA] [rpc error: code = 2 desc = "Identity lookup error: sql: no rows in result set"]. 02:06:56.674 [rest] Register -> ERRO 021 Error on client login: rpc error: code = 2 desc = 'Identity lookup error: sql: no rows in result set' 02:06:56.771 [rest] Register -> INFO 022 REST client login... 02:06:56.771 [rest] Register -> ERRO 023 {"Error": "enrollId and enrollSecret may not be blank."} ```

maltaf
2016-08-16 02:11
this is happening for all users on startup

maltaf
2016-08-16 02:13
Any help would be appreciated

maltaf
2016-08-16 03:25
@jonathanlevi: may be you can help?

jonathanlevi
2016-08-16 03:27
Hi @maltaf!

jonathanlevi
2016-08-16 03:28
So the last error is thrown at the REST API layer right after marshalling the login spec.

maltaf
2016-08-16 03:28
ok

jonathanlevi
2016-08-16 03:28
Seems like the lookup for the EnrollmentID could not be found.

jonathanlevi
2016-08-16 03:29
I need some more info as for how you run it...

maltaf
2016-08-16 03:29
sure

jonathanlevi
2016-08-16 03:29
(and to be clear, these error messages are not clear!)

maltaf
2016-08-16 03:29
Agreed

jonathanlevi
2016-08-16 03:29
(don't think these have gone unnoticed)

maltaf
2016-08-16 03:30
I am starting membership service first and then the peer node in a development environment

maltaf
2016-08-16 03:31
then I start the car-lease-demo app using node server

maltaf
2016-08-16 03:31
the demo tries to create the users

maltaf
2016-08-16 03:31
this is when these errors appear

maltaf
2016-08-16 03:32
I deployed this to Blumix, and it worked without any issue

maltaf
2016-08-16 03:32
So I guess there is some specific setup configuration that I am missing

jonathanlevi
2016-08-16 03:32
Yes, that's what I think too.

jonathanlevi
2016-08-16 03:33
I can't see the setup - I understand, but I can try to give you more info.

maltaf
2016-08-16 03:33
sure

jonathanlevi
2016-08-16 03:33
The top exception (before the unwinding)... starts at the node...

maltaf
2016-08-16 03:33
ok

jonathanlevi
2016-08-16 03:34
The EnrollID is 'DVLA' and the node is trying to get an ECert from the ECA with a username password pair

maltaf
2016-08-16 03:34
ok

jonathanlevi
2016-08-16 03:34
I don't know what your configuration is...

jonathanlevi
2016-08-16 03:34
But the ECA is trying to retrieve a record from its local db, and I believe that this is where everything is breaking...

jonathanlevi
2016-08-16 03:35
... there isn't a record for DVLA (I suspect)


maltaf
2016-08-16 03:36
I agree, but demo should be creating that record

jonathanlevi
2016-08-16 03:36
So I believe that it's to do with the ECA's configuration...

jonathanlevi
2016-08-16 03:36
Yes, the demo should be creating that record that you are asking for.

maltaf
2016-08-16 03:37
ECA is the membersrvc right?

jonathanlevi
2016-08-16 03:37
Yes, the ECA's (and others') configuration are in fabric/membersrvc/membersrvc.yaml

jonathanlevi
2016-08-16 03:37
` fabric/membersrvc/membersrvc.yaml` for the artists among us (== nicer colors)

jonathanlevi
2016-08-16 03:38
There are both initial users/IDs that are pre-configured, and also the ability to register new ones dynamically

maltaf
2016-08-16 03:39
yes I see that, but DVLA is not one of them

maltaf
2016-08-16 03:41
actually DVLA is in the demo's membersrvc.yaml

maltaf
2016-08-16 03:41
let me try with this one

maltaf
2016-08-16 03:45
yes

jonathanlevi
2016-08-16 03:45
I think we should also slightly change these errors (especially in dev mode)

jonathanlevi
2016-08-16 03:46
[Sorry, a typo]

jonathanlevi
2016-08-16 03:46
To assist us with understanding what's going on.

jonathanlevi
2016-08-16 03:47
BUT the ECA and the TCA are undergoing some more changes... that should make such things easier.

jonathanlevi
2016-08-16 03:48
I'm wondering what other REST (API) calls were expected... after the ECA step. But one thing at a time.

jonathanlevi
2016-08-16 03:48
How does it look over there? :wink:

maltaf
2016-08-16 03:48
It is looking good so far

maltaf
2016-08-16 03:48
no more errors

maltaf
2016-08-16 03:49
somehow I messed up membersrvc.yaml.demo and the actual membersrvc.yaml

maltaf
2016-08-16 03:49
not sure if ```03:48:36.439 [dockercontroller] Start -> ERRO 0fa start-could not start container API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}``` is really an error

maltaf
2016-08-16 03:51
tried to create scenarios using the demo but it failed with a lot of these errors

maltaf
2016-08-16 03:51
perhaps I should try with the latest code base

maltaf
2016-08-16 03:54
Thanks @jonathanlevi I'll try this with HEAD and see if I can fix these error

maltaf
2016-08-16 03:55
will ping you again if I have anything to ask. Thanks for your help

jonathanlevi
2016-08-16 03:55
Good stuff. Yes, feel free to reach out.

jonathanlevi
2016-08-16 03:56
I'm usually monitoring the Membership Services channel more closely... but if you @ ... me then I'd jump on it.

maltaf
2016-08-16 04:04
sure, thanks

pushpalatha
2016-08-16 04:20
@bgorman: I also found the same. Hence wanted to confirm. Thank you.

peter.froystad
2016-08-16 07:07
Hey guys, I have a question regarding replay attack protection and I hope that this is the correct channel to post this kind of question: In section 4.3.3 of the protocol spec there’s a section on replay attack *protection*, where this will be achieved by including a generated nonce together with the user’s Ecert in a transaction. Yet in section 4.7 it states that “Replay attack *resistance* mechanism is not available” Is there a difference between “protection” and “resistance”, or is the nonce-method a planned feature that is not yet added? Does that mean that there is currently no way of ensuring replay protection?

wangbin767
2016-08-16 07:54
has joined #general

simon
2016-08-16 09:19
peter.froystad: i don't think this has been implemented yet

serik
2016-08-16 10:01
has joined #general

gaurav
2016-08-16 10:05
has any one worked or knows about registering, subscribing to Chaincode Events?

bfuentes
2016-08-16 10:06
@ghaskins: @cbf Can someone from IBM help a colleague answering client questions here ? https://w3-connections.ibm.com/forums/html/topic?id=cf1bdfbc-8bf0-4ce9-92da-15898155c251 Thanks

mint
2016-08-16 10:32
has joined #general

nikejain
2016-08-16 10:55
has joined #general

samhendrickx
2016-08-16 11:01
has joined #general

hanskrommenhoek
2016-08-16 11:06
has joined #general

bfuentes
2016-08-16 11:57
Does anyone know if a decision will be taken to choose Fabric or Sawtooth ? Or both project will keep living on parallel ?

hgabor
2016-08-16 12:01
I guess both

bfuentes
2016-08-16 12:02
I heard that a decision should be taken before september

bfuentes
2016-08-16 12:02
but from what I see, the 2 implementations are quite different ...

bfuentes
2016-08-16 12:03
Sawtooth have a hard dependency : use Intel processor compliant

hgabor
2016-08-16 12:21
as I see they are totally different

garisingh
2016-08-16 12:24
I will say that there are some good ideas in Sawtooth that should be taken into consideration. I liked the idea of "transaction families" (at least that's what I recall)

bfuentes
2016-08-16 12:25
So there will be 2 versions ?

garisingh
2016-08-16 12:26
I believe that the current goal of the Hyperledger organization is no longer (maybe never was) to have a single codebase

garisingh
2016-08-16 12:26
@cbf ^^^^

lbonniot
2016-08-16 12:27
Is there any public document about the sawtooth / fabric differences and goals? I must say it's quite confusing ... :confused:

bfuentes
2016-08-16 12:29
Thank you, I have heard so many things around me o.O

simon
2016-08-16 12:30
should the two code bases be able to interact?

rbrinkma
2016-08-16 12:31
has joined #general

garisingh
2016-08-16 12:33
@simon - perhaps in an ideal world, although I am not sure it is a requirement. It would be nice if there were modules / services which could be shared between them - which would be a level of interaction for sure

garisingh
2016-08-16 12:34
I have not really participated in the higher level protocol working group, so not sure if there is some notion of defining some standard APIs

somashekar
2016-08-16 13:01
hi

davisbroda
2016-08-16 13:05
Is there a canonical list of environment variables taken by fabric peer and fabric chaincodes?

somashekar
2016-08-16 13:05
Is there any examples on User Registration and Security / roles or ecert ? I am trying to understand how can I can use security credentials for user validations with in the chaincode.

ausi
2016-08-16 13:33
has joined #general

vijayr24
2016-08-16 14:06
Thank you @trichalo, @bgorman and @sheehan for you help. I will test it and let you know

geahaad
2016-08-16 15:45
has joined #general

obernin
2016-08-16 16:33
has joined #general

kelly
2016-08-16 16:42
@bfuentes: both projects will continue in parallel. hyperledger is meant to be a collection of tools

kelly
2016-08-16 16:43
@bfuentes: Sawtooth does not require an intel processor explicitly, one of the supported consensus mechanisms (PoET) does however

patstoms
2016-08-16 16:43
has joined #general

kelly
2016-08-16 16:43
there is another consensus mechanism in the sawtooth repo (quorom) that does not require an intel processor, and is similar to the ripple/stellar consensus

kelly
2016-08-16 16:44
you could also use a traditional BFT-style consensus mechanism as well, although we have not yet released an open source version of that

jenkins
2016-08-16 16:45
Where is the blocksize parameter for hyperledger?

kelly
2016-08-16 16:46
@lbonniot: I agree, we need a public document highlighting the differences, we will work on getting a draft of that up that IBM can comment on

kelly
2016-08-16 16:47
@jenkins: there is no blocksize parameter for HL

ashnur
2016-08-16 16:47
to me it looked that sawtooth is mostly for intel sgx

ashnur
2016-08-16 16:47
and unless i am interested in sgx, there isn't much interesting in sawtooth

jenkins
2016-08-16 16:48
@kelly: So, a block (and its transactions) can be arbitrarily large? Is there no limit except for network constraints?

kelly
2016-08-16 16:48
@jenkins: hyperledger is focused on private deployments, some consensus mechanism used don't even contain 'blocks'

kelly
2016-08-16 16:48
it's a parameter that can be set by those that deploy it though if it is used

kelly
2016-08-16 16:48
@ashnur: sawtooh is focused more on permisionless networks with POET

kelly
2016-08-16 16:49
the PBFT consensus used by fabric doesn't support dynamic addition of peers, or permisionless usages

kelly
2016-08-16 16:49
It also will be difficult for it to scale to hundreds of validators due to the consensus mechanism

ashnur
2016-08-16 16:49
yeah but permissionless is the more common thing anyway

ashnur
2016-08-16 16:49
dynamic addition of peers is something needed though

kelly
2016-08-16 16:49
we agree :slightly_smiling_face:

ashnur
2016-08-16 16:50
so you can't add new peers to a network of fabric peers that run on pbft?

kelly
2016-08-16 16:50
I believe that is correct

kelly
2016-08-16 16:50
though you may want to ask in #

ashnur
2016-08-16 16:50
i was not aware of this

ashnur
2016-08-16 16:50
i will, thank you

kelly
2016-08-16 16:51
also fabric supports execution of arbitrary chain code in docker containers

kelly
2016-08-16 16:51
we have taken an approach where state transitions are explicitly defined

kelly
2016-08-16 16:52
so in some sense fabric is more 'programmable' while sawtooth makes the tradeoff towards security over expressability

ashnur
2016-08-16 16:52
yeah, the arbitrary chaincode is crazy, it was trivial to write some chaincode that goes online, fetches something and does something else based on the response

ashnur
2016-08-16 16:52
i just wish go wouldn't be the only usable language

jenkins
2016-08-16 16:53
@kelly So, it’s conceivable that a single transaction could be hundreds of megabytes, and a resultant block of such transactions could grow to gigabytes? (all arbitrary) This all comes down to application logic?

ashnur
2016-08-16 16:54
@jenkins: but you don't send all the blocks to everyone

ashnur
2016-08-16 16:54
afaik

kelly
2016-08-16 16:54
@jenkins: it's a parameter that is set when you launch the network

jenkins
2016-08-16 16:56
@kelly: Yes, you can set the number of transactions per block. But there doesn’t seem to be a limit on the size of a single transaction?

kelly
2016-08-16 16:56
well fabric doesn't use blocks as far as i know

kelly
2016-08-16 16:57
but yes, for example the deploy transaction on fabric allows you to push a smart contract to the network which could be arbitrarily large i believe

kelly
2016-08-16 16:57
but with both you could enforce a max transaction size or max block size

kelly
2016-08-16 16:57
when i say both I mean sawtooth and fabric

jenkins
2016-08-16 16:58
@kelly: Thanks.

kelly
2016-08-16 17:02
no problem

frozent
2016-08-16 17:05
has joined #general

bfuentes
2016-08-16 17:45
Cool ! Thanks :slightly_smiling_face:

marcusberlin
2016-08-16 17:52
has joined #general

david_yerger
2016-08-16 17:56
has joined #general

mirela
2016-08-16 19:20
has joined #general

deepakraous
2016-08-16 19:20
when i am issuing he command "/project/sawtooth-validator $ ./bin/txnvalidator -v --http 8800 --config /project/sawtooth-docs/source/tutorial/txnvalidator.js “ from the Sawtooth tutorial http://intelledger.github.io/tutorial.html#building-sawtooth-core) it gives me a error stating -http 8800 command is not found. When remove the “http” parameter it works fine, is there a typo there?

middleton
2016-08-16 19:23
@deepakraous: sorry, that http option is outmoded now. the doc should be updated shortly.

middleton
2016-08-16 19:24
@amundson: is the tutorial config file updated or is the guidance to use the one in etc?

deepakraous
2016-08-16 19:26
@middleton: thx for the update

hajabuza
2016-08-16 19:56
has joined #general

akajain
2016-08-16 21:24
has joined #general

ashutoshkumar
2016-08-16 22:00
has joined #general

lifecareconsultant
2016-08-16 22:07
has joined #general

d_yerger
2016-08-17 00:28
has joined #general

stylix
2016-08-17 01:27
I saw several things were removed from rest_api.json (e.g. port 5000 -> 7050, and deploy function schema was removed) It seemed the code on gerrit, REST API is now going to be deprecated? is that correct? So, which direction should I go for, node.js SDK, or direct grpc?

inatatsu
2016-08-17 03:44
has joined #general

libin.nj
2016-08-17 05:27
has joined #general

abhishekseth
2016-08-17 06:07
Hey all, I have a doubt. Does anyone know how the images for peer and memberservices are built in docker-hub? They might be using fabric code stored somewhere to build these images, right?

hgabor
2016-08-17 06:20
I guess the images are uploaded from somewhere. Docker-hub works that way

abhishekseth
2016-08-17 06:24
Yeah, but what is that "somewhere”? That is my doubt.

hgabor
2016-08-17 06:26
I guess it is the CI - Jenkins

abhishekseth
2016-08-17 06:27
Actually, the problem is that I am working with docker images for peer and memberservices as published by docker-hub. Now, If I change something in my local fabric code, how to reflect that change in the containers for peer and memberservices because peer and member services are still using those images published by docker-hub.

abhishekseth
2016-08-17 06:28
Is there any way by which I could reflect my changes in fabric code to the containers for peer and services?

hgabor
2016-08-17 06:31
the images can be built locally. I have never tried using the ones from docker hub. make images builds all the images locally. make peer-image compiles peer image and the ones needed for that

abhishekseth
2016-08-17 06:35
In the documentation for “outside of vagrant” setup, they have pulled images for both the things from docker-hub and I was following that documentation. By the way, When I run make peer-image, I get the following error Step 2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/src/.dummy] Error 1

abhishekseth
2016-08-17 06:37
@hgabor: Do u know how to eliminate this error?

hgabor
2016-08-17 06:39
so are you running it outside of vagrant?

abhishekseth
2016-08-17 06:40
yup.

hgabor
2016-08-17 06:41
and the docs say that you have to download those images from docker-hub, right?

abhishekseth
2016-08-17 06:42
Yeah, they are using that way only.

hgabor
2016-08-17 06:46
are you on mac?

abhishekseth
2016-08-17 06:46
Yes.

hgabor
2016-08-17 06:50
ah cool

hgabor
2016-08-17 06:50
I think @zsolt had a similar problem

hgabor
2016-08-17 06:51
Error processing tar file(bzip2 data invalid: bad magic value in continuation file): <- this is caused by - not 100% sure but - Mac specific tar implementation

hgabor
2016-08-17 06:51
one should install gnu tar maybe

abhishekseth
2016-08-17 06:57
I will ping u again if i have some other issue.@hgabor

hgabor
2016-08-17 06:57
okay

manikandan
2016-08-17 07:00
has joined #general

mohan
2016-08-17 09:29
I managed to create two validating peers, both running on different virtual boxes. In one of the boxes, I am running membersrvc and started one validating peer. In the other box I started one more validating peer connected to validating peer of the first box and using membersrvc stared in the first box. First box- ``` CORE_PEER_ID="vp0" CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true CORE_PEER_ADDRESSAUTODETECT=false CORE_PEER_PKI_ECA_PADDR=9.161.161.13:50052 CORE_PEER_PKI_TCA_PADDR=9.161.161.13:50052 CORE_PEER_PKI_TLSCA_PADDR=9.161.161.13:50052 CORE_SECURITY_ENROLLID=test_vp0 CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT peer node start --peer-chaincodedev ``` Second box- ``` CORE_PEER_ID="vp1" CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true CORE_PEER_ADDRESSAUTODETECT=true CORE_PEER_DISCOVERY_ROOTNODE=9.161.161.13:30304 CORE_PEER_ADDRESS=9.161.161.13:30304 CORE_PEER_PKI_ECA_PADDR=9.161.161.13:50052 CORE_PEER_PKI_TCA_PADDR=9.161.161.13:50052 CORE_PEER_PKI_TLSCA_PADDR=9.161.161.13:50052 CORE_SECURITY_ENROLLID=test_vp1 CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy peer node start --peer-chaincodedev ``` Here 9.161.161.13 is the ip address of the first box. Once I start the peers, I am seeing the following error ``` 09:21:06.599 [peer] handleChat -> ERRO 266 Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Error Verifying signature for received HelloMessage: rpc error: code = 2 desc = "grpc: the client connection is closing" 2016/08/17 09:21:06 grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 9.161.161.13:30304: getsockopt: connection refused"; Reconnecting to "9.161.161.13:30304" ``` But the command ` peer network list` is able to show the list of peers. a) Should I be concerned about the error? b) Is there a way for me to see or verify how the interaction between validating peers happens, I am trying to understand the scenario of more than one validating peer. Any documentation or test cases which I can use? I couldn't find it, hence posting here

rnemani
2016-08-17 10:30
Hello friends,

rnemani
2016-08-17 10:32
I am a newbie in this space and I have a basic question. The Hyperledger project has sawtooth and fabric. What is the difference between the two and for a person starting new in the blockchain world which one should they concentrate. Apologies if this slack room is not appropriate for my question

scott.tu
2016-08-17 10:50
has joined #general

ashishkel
2016-08-17 11:44
@rnemani: As per my info, they are two diff implementations of blockchain, both in incubating stage, both differing in certain concepts. Fabric is a collaboration of a set of companies ( ibm and a set, don't remember other names now :disappointed: ) Sawtooth is also like wise, but its Intel and another set of companies..

ashishkel
2016-08-17 11:48
@mohan: the error which u have mentioned, which console is printing it? vp1 ?

mohan
2016-08-17 11:51
@ashishkel: Its getting printed on both the consoles, vp0 and vp1

stoney
2016-08-17 11:52
has joined #general

ashishkel
2016-08-17 11:53
@mohan: with each others ip addresses' in the message i guess

ali
2016-08-17 12:06
has joined #general

osmo
2016-08-17 12:26
has joined #general

mohan
2016-08-17 12:49
@ashishkel: vp1 is connected to vp0. In the console of vp1, I am seeing the ip address of vp0. In the console of vp0, I am seeing some random ip address of 9.161.161.254 ip address of vp0 is 9.161.161.13 and that of vp1 is 9.161.161.172

scott.tu
2016-08-17 13:42
how deploy chaincode with 4 pbft peer?

viter
2016-08-17 14:03
has joined #general

kelly
2016-08-17 14:11
@rnemani: as requested we are working on a document that explains the differences

kelly
2016-08-17 14:13
here are is a brief snap shot - fabric: written in go, supports permissioned blockchains, goal is high throughput, smart contracts are deployed as individual dockers | sawtooth: written in python, supports permissioned and permissionless usages, goal is high decentralization, smart contracts are defined as 'transaction families'

ashnur
2016-08-17 14:35
what is an individual docker? i am not up to date with the terminology, do you mean that there will be some kind of separate docker image for each chaincode app?

hgabor
2016-08-17 14:40
individual containers, I guess

hgabor
2016-08-17 14:40
one container per chaincode

anrodon
2016-08-17 14:49
has joined #general

anrodon
2016-08-17 15:08
Hey there, Is there any channel with info for people coming from altcoins to get in deep about all the hyperledger projects? I’ve read all mds in repos, but maybe you’ll know good material to comprehend all this better greetings from Barcelona!!

kelly
2016-08-17 15:24
yes @ashnur that is my understanding, one container per smart contract

kelly
2016-08-17 15:24
hey @anrodon here is the tutorial for sawtooth - http://intelledger.github.io/

otto-mora
2016-08-17 15:25
has joined #general

amarshalkin
2016-08-17 15:36
has joined #general

vj
2016-08-17 17:01
has joined #general

redpillrich
2016-08-17 18:58
has joined #general

ardzii
2016-08-17 19:14
has joined #general

eduffy
2016-08-17 19:18
has joined #general

ardzii
2016-08-17 19:20
Hey there everyone! In advance, I'm sorry for my question which, I guess, is going to be very inapropriate... I'd like to know where I could gather information about Hyperledger and the different projects that are being developed based on the Blockchain. Where could I go to find newbie level information? Again sorry for the bother and thanks in advance for your help!

boydjohnson
2016-08-17 19:23
@ardzii: Not a bad question. Sawtooth Lake has docs here: http://intelledger.github.io/

boydjohnson
2016-08-17 19:24
I’m not sure on an overview level for each project, if there is a good spot for that.

ardzii
2016-08-17 19:30
@boydjohnson: Hey thanks for your quick answer! I'll get into Sawtooth Lake right away. But as you said, if there's like a forum or somethng on the blockchain (I'm trying to avoid Bitcoin forums that are usually full of scams and weird speculation etc...). Truth be told, I work for a leasing company (very small) and I'm interested in understanding how we could implement blockchain technologies to keep up the ownership records of our assets ... :slightly_smiling_face: :upside_down_face:

rnemani
2016-08-17 19:33
@bodyjohnson: I tried running the tutorial example but I get error when I run the validator on txnmain.validator_cli. As a newbie I am not sure how to get this to work

boydjohnson
2016-08-17 19:39
@rnemani: Sorry I gave out of date info

boydjohnson
2016-08-17 19:39
https://github.com/hyperledger/sawtooth-docs/issues/10 This issue runs through some of the issues a person might have with the tutorial.

boydjohnson
2016-08-17 19:45
@rnemani: I was actually out of date with what I just said. A fresh pull from sawtooth-validator will have a file etc/txnvalidator.js.example and that is the file that should be manipulated.

rnemani
2016-08-17 19:49
@boydjohnson: Appreciate your prompt response. I have setup the vagrasnt properly and it seems to be working. the setup.py build has also executed properly.

rnemani
2016-08-17 19:49
When I try the validator command as shown in the previous message. I get this:

rnemani
2016-08-17 19:49
Boydjohnson: Not sure if I can continue on the same question. But I get the following error: vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator$ ./bin/txnvalidator -v --config ./etc/ txnvalidator.js --genesis : No such file or directory Would you be able to throw some light on this

boydjohnson
2016-08-17 19:51
Yeah it is now etc/txnvalidator.js.example. I gave out of date info. If you copy that file to txnvalidator.js and add the marketplace transaction family to it it should work.

boydjohnson
2016-08-17 20:00
@rnemani: Any luck?

rnemani
2016-08-17 20:05
still having the same issue

rnemani
2016-08-17 20:05
vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator/etc$ ls default txnclient-logging.js.example txnvalidator.js init txnload.js txnvalidator.js.example systemd txnload-logging.js.example txnvalidator-logging.js.example txnclient.js txnstats-logging.js.example txnvalidator-logging.yaml.example

rnemani
2016-08-17 20:06
vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator$ ./bin/txnvalidator -v --config /etc/t xnvalidator.js --genesis : No such file or directory

boydjohnson
2016-08-17 20:06
try —config txnvalidator.js

boydjohnson
2016-08-17 20:06
I think it looks in etc by default and so gets confused.

amundson
2016-08-17 20:06
"/etc/" vs. "./etc/"

rnemani
2016-08-17 20:07
vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator$ ./bin/txnvalidator -v --config txnval idator.js --genesis : No such file or directory vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator$ ./bin/txnvalidator -v --config /txnva lidator.js --genesis : No such file or directory vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator$ ./bin/txnvalidator -v --config ./etc/ /txnvalidator.js --genesis : No such file or directory vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator$

amundson
2016-08-17 20:07
you can actually leave off the --config in this case, as CURRENCYHOME/etc/txnvalidator.js is the default location it will look for the config file (CURRENCYHOME being set to /project/sawtooth-validator in the vagrant environment)

rnemani
2016-08-17 20:08
is No such file or directory on the txnvalidator.js

rnemani
2016-08-17 20:09
or on ./bin/txnvalidator

rnemani
2016-08-17 20:09
how can I find tht

rnemani
2016-08-17 20:09
@amundson: vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator$ ./bin/txnvalidator -v txnvalidator.js --genesis : No such file or directory

amundson
2016-08-17 20:10
good point, it is on ./bin/txnvalidator

rnemani
2016-08-17 20:10
vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator/bin$ ./txnvalidator -v txnvalidator.js --genesis : No such file or directory vagrant@vagrant-ubuntu-trusty-64:/project/sawtooth-validator/bin$

amundson
2016-08-17 20:10
is the host OS windows?

rnemani
2016-08-17 20:10
yes

rnemani
2016-08-17 20:10
Windows 10

rnemani
2016-08-17 20:11
but then I am using Vagrant on VM

rnemani
2016-08-17 20:11
so the VM is ubuntu

rnemani
2016-08-17 20:11
vagrant-ubuntu-trusty-64:

amundson
2016-08-17 20:12
probably the git checkout is corrupted due to core.autocrlf=true

rnemani
2016-08-17 20:12
could be how do I fix that

rnemani
2016-08-17 20:12
appreciate your response @amundson

amundson
2016-08-17 20:22
easiest is probably to re-clone the repos with that setting set to 'input'

amundson
2016-08-17 20:23
to verify... you can probably use 'file /project/sawtooth-validator/bin/txnvalidator'

rnemani
2016-08-17 20:42
@amundson and @boydjohnson

rnemani
2016-08-17 20:42
It worked

rnemani
2016-08-17 20:42
the issue was that git checkout was corrupted

rnemani
2016-08-17 20:43
I set the git option on core.autocrlf=false

boydjohnson
2016-08-17 20:43
Good that it got figured out.

dave-shiroma
2016-08-17 20:47
has joined #general

anrodon
2016-08-17 20:54
thanks @kelly I read that tutorial

anrodon
2016-08-17 20:54
I was looking for something more into Fabric

anrodon
2016-08-17 20:54
is there anything like this for fabric?

rhowland
2016-08-17 22:58
has joined #general

blel
2016-08-17 23:01
has joined #general

ian_renwood
2016-08-17 23:10
has joined #general

tuand
2016-08-17 23:28
@anrodon: start with directory hyperledger/fabric/docs

vthirunaukkarasu
2016-08-17 23:44
has joined #general

stylix
2016-08-17 23:46
Hi, I'm talking about fabric project. I saw several things were removed from rest_api.json (e.g. port 5000 -> 7050, and deploy function schema was removed) As I checked on the recent code from gerrit, REST API is now going to be deprecated? is that correct? So, which direction should I go for, node.js SDK, or the direct grpc?

jonathanlevi
2016-08-17 23:48
Membership Services: gRPC

jonathanlevi
2016-08-17 23:49
ClientSDK: NodeJS

jonathanlevi
2016-08-17 23:49
The REST API is still supported, but you might have a lot more control and better granularity as the gRPC API is extended we make progress

jonathanlevi
2016-08-17 23:51
Changing the ports, etc... should not be a big concern (especially if you work within a Vagrant... as these changes have uniformly updated the servers, client, tests... config files, etc.)

dongbum
2016-08-17 23:51
has joined #general

jonathanlevi
2016-08-17 23:52
But, of course, a lot depends on what you are trying to do. Some people write their own wrappers or utilize the ClientSDK API... extensively.

jonathanlevi
2016-08-17 23:52
@stylix ^^^

jonathanlevi
2016-08-17 23:54
(hope this helps)

stylix
2016-08-18 00:05
@jonathanlevi: Thanks for your answer. BTW, for the REST API, which I extensively used a month or two is now changed someway. For the port, it's not a big concern. But another thing, for example, I cannot deploy any chaincode right now, with the error about "Error unmarshalling chaincode request payload: illegal base64 data at input byte" This one, as I checked the rest_api.json, the schema about deploy function was removed from ChaincodeInput, and I think this might be removed for some purpose (not a mistake) ---------- rest_api.json ---------------- ... "ChaincodeInput": { "type": "object", "properties": { ////////////////// <==== "function" used to be here on github version "args": { "type": "array", "items": { "type": "string" }, "description": "Arguments supplied to the Chaincode function." } } }, ... --------------------------------------------------

jonathanlevi
2016-08-18 00:07
Re: the REST API, it wasn't removed - it's still there, but I envision that many of the new features/functionality will be exposed by the gRPC on the Membership Services side and the ClientSDK's end.

jonathanlevi
2016-08-18 00:08
You might also want to follow/watch this item (that was opened this morning): https://jira.hyperledger.org/browse/FAB-156 `[node-SDK] Create a REST wrapper around SDK`

jonathanlevi
2016-08-18 00:08
Which might be of interest to you, too.

stylix
2016-08-18 00:09
I see.

stylix
2016-08-18 00:10
Actually, I use REST for testing purpose. And probably, for building up client, I might need to follow SDK with Node.js direction.

stylix
2016-08-18 00:11
BTW, is there any concern about running fabric under docker swarm?

stylix
2016-08-18 00:20
Right now, I'm working on running fabric at scale. I somehow managed to set the parameters to each fabric node dynamically. But when I deploy a new chaincode, fabric generally creates a new container to handle a new chaincode separately. The problem is there, fabric nodes (system chaincode) run under swarm environment. and the user chaincode run outside of swarm. So, no any communication can be done between them. So, I'm not sure how to deal with this properly.

stylix
2016-08-18 00:22
@jonathanlevi: Since the community seemed to be moved from github, please let me (us) know the right communication channel, for example, to ask some question.

jonathanlevi
2016-08-18 00:25
I think that Slack is fine

jonathanlevi
2016-08-18 00:25
We also have jira.hyperledger.org...

jonathanlevi
2016-08-18 00:25
(which is openly accessible, so you can also open issues there (re: the move from GitHub)

jonathanlevi
2016-08-18 00:26
There are a few current efforts that I know of regarding scale. Nothing confidential, I can share the requirements and I are logged in JIRA.

jonathanlevi
2016-08-18 00:27
One thing is to have multiple Membership Services instances... so that you/the ClientSDK/deployer/etc... don't need to rely only on one instance

jonathanlevi
2016-08-18 00:28
The other is about the collaboration between them (hot-swapping and dynamic addition of nodes/servers)

jonathanlevi
2016-08-18 00:28
I have been playing with some benchmarking WRT generating certs recently. Sometimes working natively on Ubuntu is much faster.

jonathanlevi
2016-08-18 00:29
However, it comes at a cost (say we upgrade to Go1.7 overnight, etc.... having the vbox image is closer to a 'one click deployment')

jonathanlevi
2016-08-18 00:30
As for comm. channels, I would try to pick specific ones. For this kind of general Fabric questions - I'd move to Fabric. There are the # channel, the #, #, #, a few working groups, etc.

stylix
2016-08-18 00:41
@jonathanlevi: Thank you. I'm looking around and following the community.

jonathanlevi
2016-08-18 00:43
Sure thing. I'd suggest obtaining a cool username at http://identity.linuxfoundation.org/

jonathanlevi
2016-08-18 00:43
... it will allow you to do more in Jira, etc.

ac0rn
2016-08-18 02:14
Hi guys. I’m a little confused about the relationship between Hyperledger, Sawtooth Lake, Fabric, etc. Can someone clarify? Are Sawtooth and Fabric two separate projects under the Hyperledger name? is there a product also by the name of Hyperledger, or is Hyperledger just the name of this initiative?

kelly
2016-08-18 02:16
hey @ac0rn, it's a bit confusing now, but hyperledger is the banner name for this open source group

kelly
2016-08-18 02:16
it used to be the name for a specific product that was acquired by digital asset, but now it's just the name of this open source effort

kelly
2016-08-18 02:16
sawtooth and fabric are two projects under the hyperledger name

jonathanlevi
2016-08-18 02:17
"What is the Hyperledger Project?" The Hyperledger Project is a collaborative effort created to advance blockchain technology by identifying and addressing important features for a cross-industry open standard for distributed ledgers that can transform the way business transactions are conducted globally.

kelly
2016-08-18 02:17
here is the quick recap I gave above on the differences

kelly
2016-08-18 02:18
I am working on putting together a file that the Intel and Sawtooth teams can add to that will delineate the two projects

kelly
2016-08-18 02:18
here are is a brief snap shot - fabric: written in go, supports permissioned blockchains, goal is high throughput, smart contracts are deployed as individual dockers | sawtooth: written in python, supports permissioned and permissionless usages, goal is high decentralization, smart contracts are defined as 'transaction families'

ac0rn
2016-08-18 02:21
I see, thanks very much @kelly and @jonathanlevi

kelly
2016-08-18 02:23
no problem, let me know if I can help out any other way

jonathanlevi
2016-08-18 02:25
My (formal) answer was taken from https://www.hyperledger.org. I think we should add @kelly's answer in some form to the docs... as this is becoming a FAQ, and many people like to see the global picture with more/enough detail/overview also about each sub-project (e.g., go/Python, philosophy/approach/...)

ac0rn
2016-08-18 02:25
Do either of the projects have true finality? And, also just curious if either of them have checkpoints for the state of the chain?

jonathanlevi
2016-08-18 02:25
That is, I like @kelly's answer more :wink:

jonathanlevi
2016-08-18 02:25
Define finality please?

kelly
2016-08-18 02:25
yes - fabric supports settlement finality with it's pbft algorithim

kelly
2016-08-18 02:26
sawtooth supports probabalistic finality with PoET, and true finality with quorom consensus

kelly
2016-08-18 02:26
I don't believe there is any 'checkpointing' in either, but don't hold me to that

ac0rn
2016-08-18 02:26
Finality as in, once something has been written into the ledger, that it cannot be changed and is done for good. As in, settlement finality.

kelly
2016-08-18 02:26
correct

ac0rn
2016-08-18 02:26
Thanks @kelly

ac0rn
2016-08-18 02:26
:smile:

kelly
2016-08-18 02:27
fabric uses PBFT which provides finality, sawtooth has an implementation of ripple/stellar protocol that provides finality

kelly
2016-08-18 02:28
sawtooth PoET is form of 'nakamoto consensus' so has the same finality characteristics as bitcoin

ac0rn
2016-08-18 02:31
One more question: you mentioned high throughput for Fabric. Is there a comparison for throughput between the two, in tx/s?

jonathanlevi
2016-08-18 02:32
(btw: glad you didn't ask about execution finality)

ac0rn
2016-08-18 02:32
@jonathanlevi: Well, now that you mention it, I am curious :stuck_out_tongue:

jonathanlevi
2016-08-18 02:33
Well, fabric is very permissive in terms of chaincode (the actual code that is executed).

jonathanlevi
2016-08-18 02:34
The design/architecture, or saw, workflow is one where you have parties that authorize actions or certain sets/types of transactions.

jonathanlevi
2016-08-18 02:35
You can still run into weird 'loops', but it is still executed within a docker container.

ac0rn
2016-08-18 02:35
I see

kelly
2016-08-18 02:48
I don't think there is a comparison

kelly
2016-08-18 02:48
I think I saw fabric is targetting 100k/second or something

kelly
2016-08-18 02:48
which seems insane, but what do I know

kelly
2016-08-18 02:52
"The current performance goal for the fabric is to achieve 100,000 transactions per second in a standard production environment of about 15 validating nodes running in close proximity. The team is committed to continuously improving the performance and the scalability of the system."

kelly
2016-08-18 02:54
i read fabric is targeting geographically centralized blockchains (and perhaps administratively centralized)

ac0rn
2016-08-18 03:01
Yeah seems like the goal is 100k tps, and currently users are getting closer to 700 tx/s

ac0rn
2016-08-18 03:02
can’t find anything on the throughput for Sawtooth

jonathanlevi
2016-08-18 03:53
My quick 2 cents on this @ac0rn, is that tx/s by itself is not a super meaningful metric.

jonathanlevi
2016-08-18 03:54
(I believe you know it, from the impression I get by reading the above - I just feel that I should mention it)

jonathanlevi
2016-08-18 03:55
I have ways of stripping down components, working with a super simple chaincode, and playing with the deployment set-up/configuration that will affect 'performance' in many ways.

jonathanlevi
2016-08-18 03:55
I do think though, in that respect, that we should start assembling a set of 'tests'

jonathanlevi
2016-08-18 03:56
We need a set of 'geekbench'-like tests... or so.

jonathanlevi
2016-08-18 03:56
Because there are many factors there.... and the variance in results is huge.

stylix
2016-08-18 04:00
Actually, I also did some experiment on the throughput. And I agreed about several factors might be involved. BTW, I still not be able to reach ~100k tps. I deployed 15-20 validating nodes on 15-20 VMs, and I can reach only about 800 tps. Then I tested with 4 validating nodes on 4 physical servers, so I reach about 1200 tps. These test were done with a very simple chaincode, by doing just val++ on the state, and transactions were sent through the REST API.

jonathanlevi
2016-08-18 04:00
OK, let's not `compare sizes`... but :wink:

jonathanlevi
2016-08-18 04:01
I can't reach even 50K tx/s... but I can show you some set ups that can reach a *stable* 2K/s

stylix
2016-08-18 04:02
Umm, that was interesting.

jonathanlevi
2016-08-18 04:09
I know, but again, I was focusing on a particular component.... (TCert generation... in case you wondered), and the invoke()d code is super simple, etc.

jonathanlevi
2016-08-18 04:10
I believe we can get 5 figures... in some deployments too (again, subject to hardware, etc.)... I'm talking about a modest, local PC, etc.

jonathanlevi
2016-08-18 04:11
If you either 1) have more patient, or, 2) want to help with some of these...

jonathanlevi
2016-08-18 04:11
We are going to have some nice tasks in that respect.

ashishkel
2016-08-18 04:25
@jonathanlevi : You were telling ... >Membership Services: gRPC >ClientSDK: NodeJS >The REST API is still supported, but you might have a lot more control and better granularity as the gRPC API is extended we make progress >

ashishkel
2016-08-18 04:26
does this mean that we have to use NodeJS to deploy the custom chaincode from now onwards?

bgorman
2016-08-18 05:00
@ashishkel you can use any of the three interfaces: the Node.js SDK, the CLI or the REST interface

bgorman
2016-08-18 05:00
the REST interface is a bit weird at the moment though

ashishkel
2016-08-18 05:02
@bgorman weird, in the sense ? doesn't work as intended?

bgorman
2016-08-18 05:02
the syntax has changed as of last week, I'm working to restore it

bgorman
2016-08-18 05:03

bgorman
2016-08-18 05:03
Function got moved into the args array, all args also need to be base64 encoded at the moment

ashishkel
2016-08-18 05:06
ohkay, thts why stylix mentioned that function is missing.

ashishkel
2016-08-18 05:06
and u mentioned u are gonna restore.

ashishkel
2016-08-18 05:06
so its gonna be back, the way it was. rite? in some days.. ?

ashishkel
2016-08-18 05:09
args in base64 encoded format. that is still okay to live with. One can claim that we should take care of the data security over the n/w a bit.

bgorman
2016-08-18 05:09
sorry, what does base64 have to do with security?

ashishkel
2016-08-18 05:09
i mean its better than sending the bare unencoded data along the network.

bgorman
2016-08-18 05:10
no.... it is no better than unencoded data

bgorman
2016-08-18 05:10
encoding != encryption

bgorman
2016-08-18 05:10
anyone can decode base64 encoded data

ashishkel
2016-08-18 05:10
ohkay... i get it. cos its straightforward decoding

ashishkel
2016-08-18 05:10
yea, i get it

bgorman
2016-08-18 05:10
there is no secret :slightly_smiling_face:

ashishkel
2016-08-18 05:11
:slightly_smiling_face: rite :slightly_smiling_face:

bgorman
2016-08-18 05:15
but yes, I'm trying to change the REST API to take either form of the Function argument, and not to need base64 encoding

ashishkel
2016-08-18 05:17
Thank god. Cos i have a lot riding on this REST API now. - because it makes straightforward decoupled interfacing possible with Fabric

ashishkel
2016-08-18 05:17
and with node.js, i dont know honestly - a client program -> ?? -> Node.js -> Fabric. Dont know how to make this work

bgorman
2016-08-18 05:18
I guess you could write a REST API for the Node.js SDK... or maybe it has one already, I haven't used it

bgorman
2016-08-18 05:19
hopefully you don't need to though

bgorman
2016-08-18 05:19
I just need to figure out why the unit test fail on my code :disappointed:

ashishkel
2016-08-18 05:28
:slightly_smiling_face: Thanks @bgorman , Good luck with that .. I think i should keep an open mind :slightly_smiling_face:

hgabor
2016-08-18 07:12
@bgorman: what's up with the REST API fix? :slightly_smiling_face:

bgorman
2016-08-18 07:12
I've spent all day trying to fix my test cases.... example04 is a pain in my side =P

hgabor
2016-08-18 07:12
could you show me the gerrit changeset?

bgorman
2016-08-18 07:12
you should be able to see https://gerrit.hyperledger.org/r/#/c/531/ now

bgorman
2016-08-18 07:13
I haven't published today's changes, but not too much changed

hgabor
2016-08-18 07:13
yeah I see it now

hgabor
2016-08-18 07:13
and example 04 fails, right?

bgorman
2016-08-18 07:14
it is working with my local changes now

bgorman
2016-08-18 07:14
(I updated the hash)

hgabor
2016-08-18 07:16
originally, was there any change in example02?

bgorman
2016-08-18 07:16
I haven't actually changed example02

bgorman
2016-08-18 07:16
(now)

bgorman
2016-08-18 07:17
I did stick some logging in there for the draft though

hgabor
2016-08-18 07:17
yeah but in your local version there is no change right?

bgorman
2016-08-18 07:17
yep

hgabor
2016-08-18 07:17
sounds strange, why did you have to change hash then

bgorman
2016-08-18 07:19
I am unsure

hgabor
2016-08-18 07:21
we should ask @muralisr about this

bgorman
2016-08-18 07:23
I have updated the draft if you want to see my current changes

anrodon
2016-08-18 07:44
@tuand I’ve read this too, very interesting, but I would like to be able to read more “smooth” or business oriented documentation about it

anrodon
2016-08-18 07:44
:smile:

hgabor
2016-08-18 08:36
@bgorman: can I review it?

hgabor
2016-08-18 08:47
https://gerrit.hyperledger.org/r/#/c/501/ there is a problem with the hash in example04

venkat
2016-08-18 10:12
REST API errors

venkat
2016-08-18 10:12
Error unmarshalling chaincode request payload: illegal base64 data at input byte 0

venkat
2016-08-18 10:13
Anything changed recently??

hgabor
2016-08-18 10:13
yes

venkat
2016-08-18 10:13
What should be converted into base64?

evlanov
2016-08-18 10:14
has joined #general

hgabor
2016-08-18 10:14
ChaincodeInput looks like { Args :: [][]byte } note that function was removed as it is the 0. argument of Args REST API needs base64 strings in a list to be able to unmarshal that as [][]byte

hgabor
2016-08-18 10:15
but this will "fix it", so you can use it with strings https://gerrit.hyperledger.org/r/#/c/531/

venkat
2016-08-18 10:19
Any samples for example02 with base64?

venkat
2016-08-18 10:19
I see that the change is reverted, but is that pushed to dockerhub?

hgabor
2016-08-18 10:20
which change do you mean?

balakrishna
2016-08-18 10:20
has joined #general

hgabor
2016-08-18 10:21
531 is not merged yet, and it does not revert the "[][]byte args in chaincode " change but makes the rest api be able to operate with string args (using conversion)

hgabor
2016-08-18 10:21
https://gerrit.hyperledger.org/r/#/c/499/ this is updated docs. as 531 will deprecate this, we wont merge it

hgabor
2016-08-18 10:22
*updated docs for the rest api which can only handle base64 strings (and that will be modified to handle strings, by 531)

puneet-itpc
2016-08-18 10:25
has joined #general

venkat
2016-08-18 10:27
Thanks! - I got it working now after converting the ctorMsg

venkat
2016-08-18 10:27
I meant the reverting of the base64 related change - whether the reverting has been pushed to dockerhub

hgabor
2016-08-18 10:28
the docker hub pushing thing is done by some automated Jenkins job, I guess

hgabor
2016-08-18 10:33
btw why not using locally built images? :slightly_smiling_face:

venkat
2016-08-18 10:35
I'm trying to use fabric as a platform - something like a blackbox

venkat
2016-08-18 10:36
I'll just pull images and startup a cluster and forget about it.

hgabor
2016-08-18 10:37
oh right, I see

hgabor
2016-08-18 10:38
hmm to be honest I cant really answer your question. :S I just suppose that the change is already on docker hub

venkat
2016-08-18 10:39
no problem. I think the base64 thing should be optional and may be declared through an attribute - may be some content-type etc.?

hgabor
2016-08-18 10:40
that base64 thing is caused by the json encoder/decoder of go. it cannot be made optional, it can only be workarounded. and https://gerrit.hyperledger.org/r/#/c/531/ is doing that. :slightly_smiling_face:

trichalo
2016-08-18 10:51
I have been trying to get my first test done but the base64 thing have caused a major time waste....

trichalo
2016-08-18 10:51
Still not able to get it working ....

trichalo
2016-08-18 10:52
@hgabor: There seem to be no quick test / first step sample ....

trichalo
2016-08-18 10:52
Do you have a quick how to ?

venkat
2016-08-18 10:53
Did it break all your test cases? :slightly_smiling_face:

hgabor
2016-08-18 10:54
what are you trying to do? isn't it included in the docs the updated version of which is https://gerrit.hyperledger.org/r/#/c/499/

trichalo
2016-08-18 10:55
I have tried most of the samples in the docs... none seem to work

trichalo
2016-08-18 10:55
15:29:55.103 [rest] ProcessChaincode -> INFO 049 REST processing chaincode request... 15:29:55.103 [rest] ProcessChaincode -> ERRO 04a Error unmarshalling chaincode request payload: illegal base64 data at input byte 0

trichalo
2016-08-18 10:56
[rest] ProcessChaincode -> ERRO 026 Client must supply ChaincodeSpec for chaincode invoke or query request.

trichalo
2016-08-18 10:56
Some of the errors

venkat
2016-08-18 10:56
@hgabor - which docs were you referring to?

trichalo
2016-08-18 10:56
[chaincode] processStream -> ERRO 023 Error handling chaincode support stream: connection error: desc = "transport is closing"

trichalo
2016-08-18 10:58
All go examples in : fabric/docs/setup/chaincode-setup,md ...

hgabor
2016-08-18 10:58
@venkat @trichalo all the docs from this changeset: https://gerrit.hyperledger.org/r/#/c/499/ those are the same docs you have in your repo but they are updated which means they contain examples for the new REST API where base64 Args parameter is needed. but as I said that changeset won't make it into the repo (that is why I am giving you that link) because it will be deprecated in some days.

hgabor
2016-08-18 10:59
do you get it? :slightly_smiling_face:

trichalo
2016-08-18 11:00
Which repo ? Git or Gerrit/Main

venkat
2016-08-18 11:00
@hgabor - we are fabric users. Not fabric developers. The only documentation we have is from github wiki

trichalo
2016-08-18 11:00
guhub rather

trichalo
2016-08-18 11:00
or github :wink: ....

hgabor
2016-08-18 11:01
yes but you can open the link and see these docs there, right? :slightly_smiling_face: I can't merge it myself for you

hgabor
2016-08-18 11:01
no other way for me to help you, I can only link those docs

trichalo
2016-08-18 11:02
Just saw the changes in the link

trichalo
2016-08-18 11:02
peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}'

venkat
2016-08-18 11:02
Sure - now after you have given the links, I can see and fix. But before that I had no clue about what was going on.

trichalo
2016-08-18 11:02
that is the new cli ....line

hgabor
2016-08-18 11:02
yes that is the CLI

trichalo
2016-08-18 11:02
ah

trichalo
2016-08-18 11:02
same here

hgabor
2016-08-18 11:02
@venkat @trichalo sorry for that

trichalo
2016-08-18 11:04
@hgabor: No worries... I'm sure I'll be up and running now...

hgabor
2016-08-18 11:04
I have updated the docs last week but the other devs said we don't want to merge it

venkat
2016-08-18 11:04
whoever tries to use the latest fabric image from docker hub will run in to this issue

venkat
2016-08-18 11:05
no issues - I'm good now.

hgabor
2016-08-18 11:05
yes I know. we have two ways to solve this: 1) merge those docs 2) workaround rest api to use string as it used to https://gerrit.hyperledger.org/r/#/c/531/

hgabor
2016-08-18 11:06
okay you are right this cannot go on this way. I will try to contact other devs to help and solve this problem

hgabor
2016-08-18 11:09
@trichalo: is it working?

trichalo
2016-08-18 11:10
Just redeploying everthing

venkat
2016-08-18 11:14
@hgabor - can you please help in finding a recent fabric peer image tag that doesn't require base64?

hgabor
2016-08-18 11:14
yes

venkat
2016-08-18 11:14
Thanks!!

trichalo
2016-08-18 11:14
I also noticed some doc errors : COREPEERADDRESS should be CORE_PEER_ADDRESS ...

trichalo
2016-08-18 11:15
Same doc page...

hgabor
2016-08-18 11:15
are there more than one fabric images on dockerhub?

ashnur
2016-08-18 11:15
yeah

ashnur
2016-08-18 11:15
but there is only one that's good, and you can find it easily which one because the others are either old or the dockerfile says that it's deprecated

hgabor
2016-08-18 11:16
@ashnur by being good, do you mean it requires no b64?

ashnur
2016-08-18 11:17
i didn't mean that.


ashnur
2016-08-18 11:17
i was thinking of this one

hgabor
2016-08-18 11:18
@venkat okay, 5 minutes

hgabor
2016-08-18 11:19
master-3ccede0 705 MB 9 days ago

hgabor
2016-08-18 11:19
I guess with MORE THAN 8 days, you are good

hgabor
2016-08-18 11:20
@trichalo: I will note that doc error and fix it asap

trichalo
2016-08-18 11:20
[consensus/pbft] ProcessEvent -> INFO 026 Replica 2 view change timer expired, sending view change: Batch outstanding requests

venkat
2016-08-18 11:20
Cool - so I just need pull it by the tag "master-3ccede0", right?

trichalo
2016-08-18 11:21
I got to submit... think I have a concensus plugin issue....

venkat
2016-08-18 11:21
Will try

hgabor
2016-08-18 11:21
yes, I think you just need that. please try it

trichalo
2016-08-18 11:21
But the chaincode exec did not fail

hgabor
2016-08-18 11:21
@trichalo do you mean that the base64 part works? :slightly_smiling_face:

trichalo
2016-08-18 11:21
yes

trichalo
2016-08-18 11:21
I think... no error but tx not yet processed.

hgabor
2016-08-18 11:22
sorry but in consensus internal issues I cannot help

hgabor
2016-08-18 11:22
do you use pbft?

hgabor
2016-08-18 11:24
@trichalo

trichalo
2016-08-18 11:24
yes

hgabor
2016-08-18 11:25
could you please try it with noop consensus? I know that it is not interesting at all for users but maybe that works and we can be sure that it is a pbft issue :slightly_smiling_face:

leogzl
2016-08-18 11:56
has joined #general

trichalo
2016-08-18 12:02
[chaincode] Launch -> ERRO 01a sending init failed(handler not found for chaincode mycc)

trichalo
2016-08-18 12:03
I find this error with noops

trichalo
2016-08-18 12:03
not sure if it is my setup but I have tried a bunch of things and still get the same error

trichalo
2016-08-18 12:11
Just tried a fresh start but seem to get the same error ... running sample chaincode_example02

cbf
2016-08-18 12:42
@ashnur: I would not rely on dockerhub images other than those in the hyperledger org https://hub.docker.com/u/hyperledger/

ashnur
2016-08-18 12:49
cbf: well, I didn't see anything wrong with them.

asthiema
2016-08-18 12:53
has joined #general

agzagi
2016-08-18 13:19
has joined #general

ac0rn
2016-08-18 13:42
Do Fabric and Sawtooth use hash pointers of the previous block the same way Bitcoin does?

middleton
2016-08-18 13:46
@ac0rn Sawtooth uses a previous block ID in the block header.

middleton
2016-08-18 13:46

middleton
2016-08-18 13:47
And yes, the block ID is the hash.

cbf
2016-08-18 13:47
@ashnur: I didn’t say anything was *wrong* with yeasy’s or joequant’s docker images, but they are a) dated and b) not official

ashnur
2016-08-18 13:51
@cbf: I see, thanks for pointing it out

cbf
2016-08-18 13:53
yep

vbuzov
2016-08-18 14:42
has joined #general

ac0rn
2016-08-18 14:47
@middleton: thanks

tbenzies
2016-08-18 14:55
If you are in interested in participating in a 1-2 hour session of the Whitepaper WG during the virtual Hackfest next week, please indicate your preferred timing at http://doodle.com/poll/qw94asz6qk6d7z8t

k
2016-08-18 17:27
has joined #general

rags
2016-08-18 17:52
has joined #general

ernewton
2016-08-18 17:53
has joined #general

eradelson
2016-08-18 17:55
has joined #general

mikej
2016-08-18 18:16
Hi all. Hyperledger looks like the right blockchain for my new startup. Thanks for all your hard work. We need to be live in the next few months. *When will hyperledger be production ready?* Also, IBM has a hosted hyperledger. Do they deploy from http://gerrit.hyperledger.org? How long is the delay before something hitting the master branch there to when it is deployed in IBM’s hyperledger cloud?

russel
2016-08-18 18:41
has joined #general

acli
2016-08-18 19:05
has joined #general

syamani
2016-08-18 19:33
has joined #general

kazuuu
2016-08-18 19:33
has joined #general

stealthchain
2016-08-18 19:37
has joined #general

karthik1
2016-08-18 20:26
has joined #general

cam.beaudoin
2016-08-18 20:29
has joined #general

rchaitanyareddy
2016-08-19 04:40
has joined #general

ranjan008
2016-08-19 05:22
has joined #general

ranjan008
2016-08-19 05:25
hi i am new here can anybody help me understand the concept of consensus in hyper ledger and why it is used

bithin
2016-08-19 06:16
hey ranjan008

bithin
2016-08-19 06:17
you need to know the concept of blockchain first, so may be you should read about it first

bithin
2016-08-19 06:17
@ranjan008 ^^

ranjan008
2016-08-19 06:18
i am not new to blockchain concept just new to hyperledger

bithin
2016-08-19 06:19
So you know how concensus work in blockchain right?

bithin
2016-08-19 06:20
you now about permissionless and permissioned blockchain?

ranjan008
2016-08-19 06:20
yes

bithin
2016-08-19 06:20
what is it?

bithin
2016-08-19 06:20
can you explain

ranjan008
2016-08-19 06:22
basically permissionless blockchain is public one where you dont need any permission to connect to it while the other is just opposite

bithin
2016-08-19 06:22
can you be more specific?

ranjan008
2016-08-19 06:25
in public blockchain anybody can connect with the chain and implement their own node and do transactions which will again be visible to everyone connected while in private one to connect to the chain you should gain permission from the node which you want to connect then only you will be able to join the network

bithin
2016-08-19 06:25
Ok

bithin
2016-08-19 06:27
So in permissionless blockchain, that is being used by Bitcoin uses a consensus algorithm called as Proof-of-Work whereas in Permissioned Blockchain we usually use concensus algorithm such as PBFT(Practical Byzatine Fault Tolerence).

bithin
2016-08-19 06:27
In case of PoW, the nodes which participate in concensus need not trust each other

bithin
2016-08-19 06:27
so as the case in bitcoin

bithin
2016-08-19 06:28
if you want to add a node to the blockchain, the node which solves a crypto puzzle get the chance to add a new node to the blockchain

bithin
2016-08-19 06:29
but in PBFT, each node participating in the concensus process

bithin
2016-08-19 06:30
so concensus algorithms is basically used by a qurom of node to decide among themselve abt who is going to make change to the blockchain next

bithin
2016-08-19 06:31
In hyperledger, there are different project(you can watch the introductory video in youtube) fabric uses PBFT and also sawtooth lake which have PoEF and quroum voting

bithin
2016-08-19 06:31
this is very abstract explaination and based on my understanding

bithin
2016-08-19 06:31
hope it is clear

ranjan008
2016-08-19 06:31
thanks

bithin
2016-08-19 06:32
You are welcome

ranjan008
2016-08-19 06:33
one more thing if i am deploying a chaincode is it mandatory to put the chaincode in github or we can do it through local path also

bithin
2016-08-19 06:36
I have not worked with chaincode, focusing more on sawtooth :slightly_smiling_face:

bithin
2016-08-19 06:37
may be someone else in the group can help

ranjan008
2016-08-19 06:37
its k anyway thanks for the help

jcarrivick
2016-08-19 06:37
@ranjan008 I believe you can using the NodeJS SDK but I have not had any experience using it myself

ranjan008
2016-08-19 06:38
i am using rest api call but its not taking but github urls its taking

jcarrivick
2016-08-19 06:39
Using the REST api you definitely can only deploy public projects from github

ranjan008
2016-08-19 06:39
in private network also

ranjan008
2016-08-19 06:40
?

jcarrivick
2016-08-19 06:40
it essentially does a `go get <path>` to build the chaincode which requires a public git repository

jcarrivick
2016-08-19 06:40
yes, even in a private network

jcarrivick
2016-08-19 06:40
If you want to deploy private code you will need to use the SDK, however I have not had any experience using it myself unfortunately.

ranjan008
2016-08-19 06:41
thank you for the help i will try with github @jcarrivick

jcarrivick
2016-08-19 06:41
np

rikard
2016-08-19 07:12
has joined #general

chandra
2016-08-19 07:17
has joined #general

rikard
2016-08-19 07:24
Hi Everyone, My name is Rikard Strid. I’m founder of Clayster, a company working with the Internet of Things and the Blockchain. We are on the committee of ISO/IEC JCT1/WG10 (Generic Reference Architecture of IoT) and our mission is to marry Blockchain into that standard. I’ve created a new channel #internetofthings for those who are interested to get involved with the discussion on IoT and Blockchain.

suri
2016-08-19 07:25
has joined #general

seva
2016-08-19 08:24
has joined #general

bhume
2016-08-19 08:34
has joined #general

jmbruzos
2016-08-19 08:39
has joined #general

naiyarah
2016-08-19 09:01
has joined #general

grantpassmore
2016-08-19 09:02
has joined #general

puneet-itpc
2016-08-19 09:32
Hi, I just wanted to understand what all data is logged on the blockchain as a part of a transaction, i understand that it contains hash of the delta (changes made in world state as part of transactions in a block). Can we back trace values of a variable in the world state, so as to get the changes done to it historically, including time at which such changes happened. Hope my question is clear.

puneet-itpc
2016-08-19 09:33
In case we cannot back trace the values as it is all stored in a hash which cannot be decrypted, what are other methods through which we can record this transition of state variable values data, so as to be immutable.

simon
2016-08-19 09:35
puneet-itpc: maintain a log?

simon
2016-08-19 09:35
puneet-itpc: what's your objective?

puneet-itpc
2016-08-19 09:35
how, in a world state itself

simon
2016-08-19 09:35
imagine you design a database

puneet-itpc
2016-08-19 09:36
I am trying to create an auditable record of ownership changes to an asset

puneet-itpc
2016-08-19 09:37
I just want to make sure that we cannot actually do this by decrypting the delta hash in the block

simon
2016-08-19 09:37
in what way do you want to audit it? off-line, or within the chaincode

puneet-itpc
2016-08-19 09:37
within the chaincode

simon
2016-08-19 09:37
then you need to keep the information in the world state

puneet-itpc
2016-08-19 09:38
Is there a limit to memory of world state

simon
2016-08-19 09:38
i don't think that there is currently a quota

puneet-itpc
2016-08-19 09:38
because I guess that will fill up fast if there is

puneet-itpc
2016-08-19 09:38
ok

simon
2016-08-19 09:38
of course physically there is a limit

puneet-itpc
2016-08-19 09:38
yes

simon
2016-08-19 09:39
and make sure that you're only adding to your state, and not change it completely every time

puneet-itpc
2016-08-19 09:39
yes, you mean I just append and not overwrite the rows

simon
2016-08-19 09:39
yes

puneet-itpc
2016-08-19 09:39
ok

suri
2016-08-19 12:14
Hi Any one help me i am new to hyperledger when i am deploying chaincode its working fine when i am querying the value I am getting ledger not found error

hgabor
2016-08-19 12:23
@suri could you show me the query?

suri
2016-08-19 12:40
peer chaincode query -n 4ad4adda2c07741aabee4021762f2051d4d1beb3035ee834caa1768c56226a24eedf532a056b65e62a2ed00e417830076450ccfd29de6251a73b46220f5d4dd1 -c '{"Function":"query", "Args": ["a"]}'

hgabor
2016-08-19 12:58
and what is the response?

muralisr
2016-08-19 13:02
@suri…we should take this to “fabric” :slightly_smiling_face: ...

muralisr
2016-08-19 13:03
one thing…the deploy probably did not work (you just submitted the deploy tx for later processing and just got an transaction ID back)

muralisr
2016-08-19 13:03
let’s take rest on fabric ?

suri
2016-08-19 13:23
Error:Failed to launch chaincode spec(Could not get deployment transaction for 4ad4adda2c07741aabee4021762f2051d4d1beb3035ee834caa1768c56226a24eedf532a056b65e62a2ed00e417830076450ccfd29de6251a73b46220f5d4dd1 - LedgerError - ResourceNotFound: ledger

suri
2016-08-19 13:24
in debug console i am getting 13:21:39.323 [dockercontroller] Start -> ERRO 064 start-could not start container API error (400): {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}

muralisr
2016-08-19 13:25
right. the deploy did not work for sure… I’ll ping you from fabric

kjhall55
2016-08-19 13:35
has joined #general

karn
2016-08-19 14:17
has joined #general

shukla
2016-08-19 14:20
has joined #general

bala.vellanki
2016-08-19 14:24
has joined #general

amolpant
2016-08-19 14:33
has joined #general

vijayr24
2016-08-19 14:56
@garisingh, @muralisr : I am trying to install hyperledger fabric in my local machine using the docker method (option 2 - http://169.53.62.117/site/Setup/Chaincode-setup/#running-the-cli-or-rest-api). I am able to run the peer, CA. I was successful in starting and registering the chain code. I need help to ssh into the docker container that is running the peer and test the Rest API to deploy the example chain code. Thank you in advance for your help!

nagasurya
2016-08-19 15:02
has joined #general

sergeybalashevich
2016-08-19 15:05
@suri as a temporal workaround you can downgrade docker's version "sudo apt-get install docker-engine=1.11.2-0~trusty"

garisingh
2016-08-19 15:26
@vijayr24: not exactly sure what you are trying to do?

vijayr24
2016-08-19 16:14
@garisingh: I was successful until the step where I register the chain code "CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02". When I started a new terminal and tried to deploy the chain code via rest api using the command " peer chaincode deploy -n mycc -c '{"Function":"init", "Args": ["a","100", "b", "200"]}'" at first I got an error bash: peer command not available then I ran the command make peer...and tried to deploy the code, i received this error message "Error: Chaincode argument error: illegal base64 data at input byte 0"

vijayr24
2016-08-19 16:15
i followed the instructions as mentioned in the following link http://169.53.62.117/site/Setup/Chaincode-setup/#running-the-cli-or-rest-api

sergeybalashevich
2016-08-19 16:40
@vijayr24 in latest fabric's version the format was changed. Function name should be in Args and all parameters should be base64 encoded. The arguments for deploy command will look like ""args":['aW5pdA==', 'YQ==', 'MTAwMA==', 'Yg==', 'MjAwMA==']"

kelly
2016-08-19 16:53
@bithin let us know if we can help you at all with #sawtooth

rnemani
2016-08-19 17:35
I am trying to build, test ad run the fabric environment. I have completed the vagrant ssh step and the step --> cd $GOPATH/src/github.com/hyperledger/fabric.

rnemani
2016-08-19 17:35
When I execute the command make peer

rnemani
2016-08-19 17:36
vagrant@hyperledger-devenv:v0.0.10-5cb3984:/opt/gopath/src/github.com/hyperledger/fabric$ make peer make: Nothing to be done for `peer'.

rnemani
2016-08-19 17:37
Here is what I have in the fabric directory

rnemani
2016-08-19 17:37
vagrant@hyperledger-devenv:v0.0.10-5cb3984:/opt/gopath/src/github.com/hyperledger/fabric$ ls -lrt total 84 -rwxrwxrwx 1 vagrant vagrant 8422 Aug 19 11:19 CONTRIBUTING.md -rwxrwxrwx 1 vagrant vagrant 6455 Aug 19 11:19 TravisCI_Readme.md -rwxrwxrwx 1 vagrant vagrant 3568 Aug 19 11:19 README.md -rwxrwxrwx 1 vagrant vagrant 7092 Aug 19 11:19 Makefile -rwxrwxrwx 1 vagrant vagrant 406 Aug 19 11:19 MAINTAINERS.txt -rwxrwxrwx 1 vagrant vagrant 11358 Aug 19 11:19 LICENSE drwxrwxrwx 1 vagrant vagrant 12288 Aug 19 11:19 bddtests drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:19 consensus drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:19 core drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:19 docs drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 events drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 gotools drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 examples drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 images drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 peer -rwxrwxrwx 1 vagrant vagrant 1610 Aug 19 11:19 mkdocs.yml drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:19 membersrvc drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 pub drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:19 protos drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 sdk drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:19 scripts drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:19 tools drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:19 vendor drwxrwxrwx 1 vagrant vagrant 4096 Aug 19 11:39 devenv drwxrwxrwx 1 vagrant vagrant 0 Aug 19 11:59 build

rnemani
2016-08-19 17:37
Can anyone point me to the right direction

rnemani
2016-08-19 17:37
please

ruslan.ardashev
2016-08-19 18:57
has joined #general

cjpray
2016-08-19 19:33
has joined #general

truc.nguyen
2016-08-19 19:35
The binary peer file's location is ./build/bin/ folder. For your configuration the full path is "/opt/gopath/src/github.com/hyperledger/fabric/build/bin/". remove it and make peer, if you want re-make it.

blighli
2016-08-19 20:04
has joined #general

adrianclv
2016-08-19 20:25
has joined #general

tk
2016-08-20 01:30
has joined #general

scott.tu
2016-08-20 07:57
How register user of CA by use client?

scott.tu
2016-08-20 07:58
I think register user to 'membersrvc.yaml' by use REST API

abutler
2016-08-20 08:34
has joined #general

matanyahu
2016-08-20 13:36
Hi - I have a question about an exact number of projects running under Hyperledger umbrella right now. There is Fabric (IBM, Digital Assets, DTCC...) and Sawtooth Lake (Intel). Recently, a block explorer from DTCC was introduced. However, back in March various crypto news sources informed that JPMorgan opened a new blockchain project called "Juno" and that it will be managed through Hyperledger. Since there is no factual reference to this on http://hyperledger.org I assume this either did not come to fruition or news outlets were misinformed.

younker
2016-08-20 16:10
has joined #general

vipinb
2016-08-20 17:44
@matanyahu: Juno links are available from HL

matanyahu
2016-08-20 18:00
@vipinb : could you please provide me with a link?

sanjeev.hegde
2016-08-20 18:04
Hi, how do we deploy chaincode using path ie using -p option. I am not getting any TX output but getting errrroneus txn message in peer

bzhu
2016-08-20 18:45
has joined #general

vipinb
2016-08-20 19:28
@matanyahu Juno github moved to http://Kadena.io https://github.com/kadena-io/juno

matanyahu
2016-08-20 19:35
Thx!

matanyahu
2016-08-20 19:36
any other project i should be aware of?

matanyahu
2016-08-20 19:38
and why is there no reference to hyperledger in juno github page?

amgadpasha
2016-08-21 02:13
has joined #general

sanjeev.hegde
2016-08-21 12:38
Hi, which setup is more preferred for prod env?

sanjeev.hegde
2016-08-21 12:43
Can anyone explain how the setup should be for prod and dev for chaincode development

rafael
2016-08-21 14:43
has joined #general

john_whitton
2016-08-21 15:47
has joined #general

bart
2016-08-21 16:50
has joined #general

rmcgee
2016-08-21 20:21
has joined #general

maia
2016-08-21 21:02
has joined #general

ermyas
2016-08-22 03:34
has joined #general

gpai
2016-08-22 05:06
has joined #general

shianhian
2016-08-22 06:09
has joined #general

a1acapital
2016-08-22 06:16
has joined #general

jlamiel
2016-08-22 08:27
has joined #general

manpreet.singh
2016-08-22 08:59
has joined #general

balakrishna
2016-08-22 09:02
Hi all, i am facing this error while querying the chaincode. {"jsonrpc":"2.0","error":{"code":-32003,"message":"Query failure","data":"Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for mycc - LedgerError - ResourceNotFound: ledger: resource not found)"},"id":5}

balakrishna
2016-08-22 09:02
Can anyone help on this.

sergeybalashevich
2016-08-22 09:20
@balakrishna instead of "-n mycc" you should provide real chaincode ID which was generated by "deploy" command

jizijian
2016-08-22 09:46
has joined #general

venkat
2016-08-22 09:52
Folks, the docs for example02 chaincode seem to be way out of sync with the latest fabric shim code. Can someone look at this?

venkat
2016-08-22 09:52
This is very critical for us as we need a stable shim interface for our chaincode to interact with

venkat
2016-08-22 09:54
We need a really working example that can show us chaincode deployment and using the chaincode through REST API. Currently, both of these basic features are broken, if we follow the docs for the examples.

venkat
2016-08-22 09:59
---------- In DEV mode we get the following errors

venkat
2016-08-22 09:59
09:20:22.097 [rest] processChaincodeDeploy -> INFO 049 Successfully deployed chainCode: mycc 09:20:22.098 [rest] ProcessChaincode -> INFO 04a REST successfully deploy chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"mycc"},"id":1} 09:20:23.100 [chaincode] Launch -> ERRO 04b sending init failed(handler not found for chaincode mycc)

venkat
2016-08-22 09:59
.... .... ... ....

venkat
2016-08-22 10:00
with NON_DEV mode we get the following errors

venkat
2016-08-22 10:00
09:34:05.065 [devops] getChaincodeBytes -> ERRO 01f Error getting chaincode package bytes: Error getting code Getting chaincode took too long 09:34:05.068 [devops] Deploy -> ERRO 020 Error deploying chaincode spec: type:GOLANG chaincodeID:<path:"https://github.com/hyperledger/fabric/blob/master/exa

venkat
2016-08-22 10:01
.... .... ....

venkat
2016-08-22 10:03
in addition, it seems there are changes to the ctorMsg args (method name is added), and base64 is enforced.

venkat
2016-08-22 10:30
We are fabric users and not fabric devs. My expectation is, we can do a standard setup by following the guidelines from the Chaincode Setup page. And then focus on writing chaincodes, deploy them and test. May be I'm wishing for too much?

wiktor.zolnowski
2016-08-22 10:55
has joined #general

handor
2016-08-22 11:04
has joined #general

esraufacik
2016-08-22 11:05
has joined #general

ashnur
2016-08-22 11:09
what is the documentation search link that works?


ashnur
2016-08-22 11:21
that's not searchable imho


ashnur
2016-08-22 11:22
this seems to work, found the url in the docs. the important part is what comes after `latest/`

csehd
2016-08-22 12:35
has joined #general

johnny5
2016-08-22 13:27
has joined #general

thanetapori
2016-08-22 14:04
has joined #general

rnemani
2016-08-22 14:04
I am trying to run the ChainCode and in the process of Starting and Registering the Chain Code in Docker C:\Users\Raghu\GoWorkspace\src\http://github.com\hyperledger\chaincode_example02>CORE_CHAINCODE_ID_NAME=myc c CORE_PEER_ADDRESS=0.0.0.0:30303 .chaincode_example02 'CORE_CHAINCODE_ID_NAME' is not recognized as an internal or external command, operable program or batch file.

rnemani
2016-08-22 14:04
How do I execute this Chain Code

rnemani
2016-08-22 14:04
please help

simon
2016-08-22 14:05
i think you're in windows

simon
2016-08-22 14:05
and not in vagrant

kell
2016-08-22 14:10
as long as we’re discussing chaincode examples and setup… :slightly_smiling_face: ( should be in fabric-dev-env? )


kell
2016-08-22 14:11
about to ditch the mac docker-compose and go to a full vagrant install but seems like this should work. it’s documented that way.

rnemani
2016-08-22 14:43
I am in windows

rnemani
2016-08-22 14:43
but I am using docker example

manas_marthi
2016-08-22 15:18
has joined #general

yacovm
2016-08-22 15:51
what was the full command you were trying to do, @rnemani ?

jbrisbin
2016-08-22 15:53
has joined #general

tohughes
2016-08-22 16:12
has joined #general

rnemani
2016-08-22 16:23
CORE_CHAINCODE_ID_NAME=myc c CORE_PEER_ADDRESS=0.0.0.0:30303 .chaincode_example02

lfservin
2016-08-22 16:29
has joined #general

rnemani
2016-08-22 16:33
I set the variables in windows using the set command

rnemani
2016-08-22 16:33
and then ran the examples

rnemani
2016-08-22 16:34
C:\Users\Raghu\GoWorkspace\src\http://github.com\hyperledger\chaincode_example02>chaincode_example02 12:31:12.456 [shim] DEBU : Peer address: 0.0.0.0:30303 2016/08/22 12:31:13 grpc: ClientConn.resetTransport failed to create client transport: connection er ror: desc = "transport: dial tcp 0.0.0.0:30303: connectex: The requested address is not valid in its context."; Reconnecting to "0.0.0.0:30303" 2016/08/22 12:31:15 grpc: ClientConn.resetTransport failed to create client transport: connection er ror: desc = "transport: dial tcp 0.0.0.0:30303: connectex: The requested address is not valid in its context."; Reconnecting to "0.0.0.0:30303" 12:31:15.129 [shim] ERRO : Error trying to connect to local peer: grpc: timed out trying to connect Erorr starting Simple Chaincode, Error trying to connect to local peer: grpc: timed out trying to co nnect

muralisr
2016-08-22 16:34
@rnemani: are you using latest from gerrit or are you still on the old github code ?

rnemani
2016-08-22 16:35
I am using te github code

surasatish
2016-08-22 16:40
has joined #general

surasatish
2016-08-22 16:41
We have a Blockchain “wells-dev-1” defined on Bluemix. We are using the Peer 0 (https://636189dc-fdf0-4066-b45e-ac10c59ff84d_vp0-api.zone.blockchain.ibm.com:443) And the Chaincode: 526e6e7d7677ef39b777454d835b5ddee9e68b2268a3d83bb8ca0bac4e734a78e300024bb63305a6dde169ea5108c023bb6519860584002d70dc74742ced63fb It worked for some time ( at least an hour) before no results being returned. The logs on the peer do not reveal anything for us to figure out the issue. Could you please help us on this issue. We have notice the same last week and therefore, we reset the chaincode and redeployed it today.

surasatish
2016-08-22 16:42
When performing a curl with the following: curl -X POST --header "Content-Type: application/json" --header "Accept: application/json" -d "{ \"jsonrpc\": \"2.0\", \"method\": \"query\", \"params\": { \"type\": 1, \"chaincodeID\": { \"name\": \"526e6e7d7677ef39b777454d835b5ddee9e68b2268a3d83bb8ca0bac4e734a78e300024bb63305a6dde169ea5108c023bb6519860584002d70dc74742ced63fb\" }, \"ctorMsg\": { \"function\": \"getAll\", \"args\": [ \"true\", \"true\", \"true\", \"true\" ] }, \"secureContext\": \"user_type1_ebafb7be7a\" }, \"id\": 0 }" "https://636189dc-fdf0-4066-b45e-ac10c59ff84d_vp1-api.zone.blockchain.ibm.com:443/chaincode" Seeing the following response: {"jsonrpc":"2.0","error":{"code":-32003,"message":"Query failure","data":"Error when querying chaincode: Error: state may be inconsistent, cannot query"},"id":0}

surasatish
2016-08-22 16:43
I have tried connecting to other peers (vp1, vp2 and vp3) as well and was unsuccessful.

raxeshp
2016-08-22 17:14
has joined #general

nick
2016-08-22 17:49
@nick uploaded a file: https://hyperledgerproject.slack.com/files/nick/F23NB93C6/starting_peer_node_throws_the_following_error.txt and commented: does anyone know what might be causing this?

kell
2016-08-22 17:57
@nick a process is already bound and listening on that port. you can use netstat or fuser to determine a PID then the ps command to determine the name of the process


nick
2016-08-22 18:01
hi Kell. thanks. I did try to find the process and kill but was not able to. So when I tried to execute peer node stop.. i got a panic citing there was a null pointer dereference - not sure if that is normal behavior.

mtgran
2016-08-22 19:15
has joined #general

paolo
2016-08-22 19:58
has joined #general

kell
2016-08-22 20:46
@nick I don’t know but usually panic is not normal :slightly_smiling_face:

kell
2016-08-22 20:48
btw new hot off the presses docker images ( latest ) with new 7051 port and docker-compose.yaml get me past my earlier issue. Update notification on some of these silent updates would be nice if possible in the future.

nishant.usapkar
2016-08-22 21:42
has joined #general

gentrysherrill
2016-08-22 23:36
has joined #general

srikumar15
2016-08-22 23:42
has joined #general

ccooper21
2016-08-22 23:56
has joined #general

walterlsb
2016-08-22 23:57
has joined #general

stevedifilipo
2016-08-23 00:03
has joined #general

johnedgmon
2016-08-23 00:17
has joined #general

aaronreeder
2016-08-23 00:18
has joined #general

bob.kusumoto
2016-08-23 00:18
has joined #general

dtsitrelis
2016-08-23 00:19
has joined #general

spiers
2016-08-23 00:20
has joined #general

electricsilver
2016-08-23 00:20
has joined #general

walt
2016-08-23 00:24
has joined #general

jzou3700
2016-08-23 02:47
Am I right to ask sawtooth issues? I just followed tutorial http://intelledger.github.io/tutorial.html . After ./bin/txnvalidator -v --http 8800 --config /project/sawtooth-docs/source/tutorial/txnvalidator.js command there is an issue that No module named sawtooth.config from File "/project/sawtooth-validator/txnmain/validator_cli.py", line 25

jzou3700
2016-08-23 02:48
The python code is that "from sawtooth.config" import ArgparseOptionsConfig

jzou3700
2016-08-23 02:49
How could I do? Thanks

kelly
2016-08-23 02:49
hey @jzou3700, i believe there have been a few changes so the tutorial is a bit out of date

kelly
2016-08-23 02:50
I believe the new txnvalidator.js you want to use is now called txnvalidator.js.example

kelly
2016-08-23 02:50
let me see if I can find the thread the explains the change

middleton
2016-08-23 02:51
Hi @jzou3700 . We just restructured the repos this past weekend.

middleton
2016-08-23 02:52
Whereas there was a separate repo for sawtooth-validator and so forth, now everything is in sawtooth-core. The directory structure under sawtooth-core maps pretty closely to the old repo structure ... e.g. sawtooth-validator is in sawtooth-core/validator etc.

middleton
2016-08-23 02:54
That json configuration file will be in /sawtooth-core/docs/source/tutorial

middleton
2016-08-23 02:55
and the config module in the error is here: /sawtooth-core/core/sawtooth

kelly
2016-08-23 03:09
@middleton also the -http command is deprecated now too right?

middleton
2016-08-23 03:11
yes good point @kelly

middleton
2016-08-23 03:11
so here's what you do in a brief...

middleton
2016-08-23 03:11
cd sawtooth-core/core/

middleton
2016-08-23 03:12
python setup.py clean --all

middleton
2016-08-23 03:12
python setup.py build

middleton
2016-08-23 03:13
cd ../bin

middleton
2016-08-23 03:13
./txnvalidator --config ../docs/source/tutorial/txnvalidator.js

shuanglu
2016-08-23 03:14
has joined #general

middleton
2016-08-23 03:14
and voila, robert is your mother's brother.

jzou3700
2016-08-23 03:19
Thank you for your kindly support. So far the issue is still there after I followed the above steps. .

shuanglu
2016-08-23 03:19
I have the same error

jzou3700
2016-08-23 03:20
Only typing ./txnvalidator , the issue will be report

jzou3700
2016-08-23 03:23
I have few experience of python.  I suppose the sawtooth.config should be a directory structure like config/sawtooth. After searching sawtooth with find , no config/sawtooth directory exists

middleton
2016-08-23 03:24
ok, let's take it over to the #sawtooth channel.

jzou3700
2016-08-23 03:26
Many thanks

hyperpiper
2016-08-23 03:26
Hey everyone if I'm having an issue with the command `make peer` what channel should I ask about it in? I have a screenshot of the error as well

middleton
2016-08-23 03:27
probably #fabric

hyperpiper
2016-08-23 03:27
ok thx!

middleton
2016-08-23 04:30
@amundson actually already updated the tutorial doc. the docs just didn't get republished to the website, but the correct text is available here: https://github.com/hyperledger/sawtooth-core/blob/master/docs/source/tutorial.rst

dnevgi
2016-08-23 04:31
has joined #general

sabakauser
2016-08-23 05:59
has joined #general

lssilva
2016-08-23 08:14
has joined #general

ashnur
2016-08-23 09:01
what's the login method to jira? or is that closed from the public?

elcalafate
2016-08-23 09:19
has joined #general

roryodonnell
2016-08-23 09:23
has joined #general

cbf
2016-08-23 09:41
@ashnur: you need a linux foundation account https://identity.linuxfoundation.org/

ashnur
2016-08-23 09:56
@cbf thanks. May I ask what is the process surrounding the generation of documentation? What should I do if I want stuff fixed in it? (like how certain parts of it still refer to the github repo). Also, are there maybe docker images with v0.5?

ashnur
2016-08-23 09:57
or whatever the current suggested version is.

cbf
2016-08-23 10:00
@ashnur it is baked into the build. however, when we transitioned to Gerrit, we also had to change how the docs are hosted. Previously, they were hosted by http://redthedocs.com servers, but they don’t support Gerrit, only GH with webhooks. We currently have an ask in to spin up a server to host all of our docs (fabric and sawtooth) and I hope to have that operational in a couple days. IN the interim, you can use https://cbf-fabric-docs.readthedocs.io/

cbf
2016-08-23 10:00
I maintain a fork that runs the readthedocs build.

ashnur
2016-08-23 10:02
I see, just because all the http://github.com mentions are really confusing imho

cbf
2016-08-23 10:23
@ashnur we welcome help in improving the docs. Yes, there are some references still because we only recently transitioned to Gerrit. If you see things needing to be changed, please either open a JIRA issue or send in a patch. Thanks!

stevedifilipo
2016-08-23 10:37
Am new to Hyperledger. Am interested in use case examples of blockchain in education. K-12. Universities. Private schools. etc. Looking to share & collaborate. Is anyone here using blockchain in education or know of anyone who is? Thanks.

gaurav
2016-08-23 10:49
Hi, while doing vagrant up with latest hyperledger fabric source from gerrit, it is exiting with result below ==> default: make: *** ==> default: No rule to make target `devenv/images/openchain-dev-env-deployment- diagram.png', needed by `build/image/src/.dummy' ==> default: . Stop. The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

balakrishna
2016-08-23 10:58
Hello all, I am trying to run asset management example code for hyperledger/fabric. when i run the asset management application code i am facing some error. Error : sending init failed(handler not found for chaincode bbf06fd3705f348f759199e5fa42f158b36fd39e46ac1407196ebecf990676cec6c5578d1febafe5256741a7a4bad5b625a664355d0da62bd04f91541a5fa94b)

balakrishna
2016-08-23 10:59
i am using vagrant setup for running asset management code.

balakrishna
2016-08-23 10:59
Can anyone help me with this issue

muralisr
2016-08-23 11:02
@balakrishna: can we take this up in “fabric” channel ?

ashnur
2016-08-23 11:14
I have a linuxfoundation account but I still can't log into jira.

ashnur
2016-08-23 11:15
because it doesn't have a password, I guess

ashnur
2016-08-23 11:15
and I can't add password on their page, because it's asking for a password for that too.

muralisr
2016-08-23 11:16
@ashnur: I see this..


ashnur
2016-08-23 11:17
i see the same thing

muralisr
2016-08-23 11:17
ok

muralisr
2016-08-23 11:17
and I was able to login with my gerritt credentials

ashnur
2016-08-23 11:18
I was told that I need linuxfoundation account. I made such an account using github login, and it's not good enough.

muralisr
2016-08-23 11:18
ok

ashnur
2016-08-23 11:19
same thing with gerrit, I am asked user/pass, I don't have a pass

ashnur
2016-08-23 11:20
and on the linuxfoundation page, you can't add a new password, unless you already have a password. I am not going to say what I think of the persons who managed to put stuff together like this.

balakrishna
2016-08-23 11:41
@muralisr Sure. Thanks

tiapashentsava
2016-08-23 12:24
has joined #general

skarumba
2016-08-23 14:54
has joined #general

kell
2016-08-23 15:05
kells-MacBook-Pro:cscripts kcanty$ ./invoke.sh invoke.dat {"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error","data":"Error unmarshalling chaincode request payload: illegal base64 data at input byte 0"},"id":null}

kell
2016-08-23 15:05
Any timeline on resolution, I guess by 531?

barath.oct
2016-08-23 15:41
has joined #general

chowdhu
2016-08-23 16:11
has joined #general

archimy
2016-08-23 17:55
has joined #general

kenmo
2016-08-23 18:08
has joined #general

cscurry
2016-08-23 18:13
has joined #general

bok.
2016-08-23 18:53
has joined #general

jstclair
2016-08-23 19:46
has joined #general

christophera
2016-08-23 20:47
Due to summer vacations and other schedule problems, there will be no Hyperledger Identity WG meeting tomorrow (Wednesday). The next meeting will be September 7th, at 9am ET (12 PT).

pramttl
2016-08-23 23:53
has joined #general

ijingo
2016-08-24 02:31
has joined #general

gagrawal
2016-08-24 06:28
has joined #general

gkiller
2016-08-24 07:26
has joined #general

darrylf
2016-08-24 10:54
has joined #general

cm
2016-08-24 11:42
has joined #general

bruce
2016-08-24 12:45
has joined #general

claytonsims
2016-08-24 13:11
jim zhang

claytonsims
2016-08-24 13:11
oops sorry typo

ashnur
2016-08-24 14:09
I still have not given up that some day someone will answers questions in #chaincode. but sooner or later i will have to ask those questions elsewhere if this trend of no activity whatsoever will continue :disappointed:

hgabor
2016-08-24 14:10
e.g. you could ask me

hgabor
2016-08-24 14:10
maybe, I can help

ejiang
2016-08-24 14:43
has joined #general

tzaktzak
2016-08-24 16:04
has joined #general

aliblackwell
2016-08-24 17:38
has joined #general

benbooth
2016-08-24 17:46
has joined #general

nikileshsa
2016-08-24 21:53
has joined #general

alain
2016-08-24 22:10
has joined #general

nsalami
2016-08-25 01:37
has joined #general

lanski
2016-08-25 02:40
has joined #general

tblevins
2016-08-25 03:01
has joined #general

vkandy
2016-08-25 04:44
has joined #general

stylix
2016-08-25 05:31
@stylix uploaded a file: https://hyperledgerproject.slack.com/files/stylix/F24Q1PEFR/discovery_list.png and commented: Hi, I managed to run Hyperledger/Fabric at scale with docker swarm on the cluster. In this scenario, the new node can join the network when we scale up, and some will leave when we scale down. ---- Thing is that ---- The running nodes have it list of "Discovery nodes", which is never be updated (if I'm right). Since the peer know the full list, then it try to communicate to the other nodes on the list, at which some may not come back anymore. Even this shows the annoying ERROR on the log, but it has no problem with any later invokes. ---- Questions ---- Should we still keep the full discovery list? Should we update the list for keeping only it's active member?

yacovm
2016-08-25 07:22
@stylix when peers emerge they use the root peer to know which node to connect to

yacovm
2016-08-25 07:23
the root peer can be a list of peers, not only a single one

yacovm
2016-08-25 07:23
I mean, I think, unless it has changed and i don't know

yacovm
2016-08-25 07:23
in fabric 0.5 all validating peers should connect to all because they all participate in concensus

stylix
2016-08-25 07:41
@yacovm well, I don't know either it has changed or not. However, I set the CORE_PEER_DISCOVERY_ROOTNODE dynamically depends on the current active nodes. BTW, my question, I mean, the running node (that's still alive) has a list of discovery nodes then keep growing and synchronizing the list between running nodes. In the situation that, some node down (they may come back or maybe down forever), should we still keep its IP address in the list of discovery node? Since we will always have the annoying ERROR appears when we cannot connect to it. Example 1. Start all nodes vp0, vp1, vp2, vp3 Discovery know about: vp0, vp1, vp2, vp3 Trying to connect: vp0, vp1, vp2, vp3 ==> All OK 2. Join 1 new node vp0, vp1, vp2, vp3 <== vp4 (join) Discovery know about: vp0, vp1, vp2, vp3, vp4 Trying to connect: vp0, vp1, vp2, vp3, vp4 ==> All OK 3. Drop vp2 vp0, vp1, vp3, vp4 ==> vp2 (drop) Discovery know about: vp0, vp1, vp2, vp3, vp4 Trying to connect: vp0, vp1, vp2, vp3, vp4 ==> vp2 ERROR From the example, you see that connecting to vp2 is not possible, and cause the error message. So, I'm not sure should vp2 IP be deleted from discovery node list after some timeout?

yacovm
2016-08-25 07:42
I think you can set that env var to be a list, e.g peer1,peer2,peer3

yacovm
2016-08-25 07:42
and yeah of course you'll have an error...

stylix
2016-08-25 07:43
Yes, I meant, I set CORE_PEER_DISCOVERY_ROOTNODE dynamically as a list of IP:PORT,IP:PORT,...

yacovm
2016-08-25 07:43
how can you set it dynamically while a peer is running?

yacovm
2016-08-25 07:43
I mean, you could use gdb to change the env var, but i think the code caches it. I remember there was a configuration cache

stylix
2016-08-25 07:45
Before running "peer node start" I run my script to set the ENV dynamically for each peer

yacovm
2016-08-25 07:45
oh

yacovm
2016-08-25 07:45
then it's only for that peer

stylix
2016-08-25 07:46
it means, each peer will be feed ENV to the wider root node as possible

yacovm
2016-08-25 07:46
well, what are you asking basically- whether should the peer "forget" about dead peer(s)?

stylix
2016-08-25 07:46
yes, right

yacovm
2016-08-25 07:47
I don't think it's too "bad", I'll tell you why- the communication uses gRPC streams

yacovm
2016-08-25 07:47
which means, it's asynchronous

yacovm
2016-08-25 07:47
you put the data in the TCP buffer and don't wait for an application-level ACK

yacovm
2016-08-25 07:47
if the system "knows" there is no one in the other side, it'll simply emit an error

yacovm
2016-08-25 07:47
(the method call, that is)

stylix
2016-08-25 07:50
But, will it keeps this dead peer forever? I meant, maybe it's annoying with the ERROR message. And we might not avoid this message with CORE_LOGGING_LEVEL=INFO.

yacovm
2016-08-25 07:52
i know. I don't know if it's that important. version 0.5 isn't supposed to be used in a highly dynamic environment. The next architecture will deal with this much better, however i'm pretty sure there will still be ERROR messages

stylix
2016-08-25 07:56
Well, I think this kind of connection ERROR is somehow important to know. But, the system should not keep it as the ERROR for long. E.g. delete those peers from the list after timeout.

stylix
2016-08-25 07:56
it just my random idea.

yacovm
2016-08-25 07:56
yeah, like i said- in the next architecture they'll get deleted after a period

stylix
2016-08-25 07:56
BTW, thank for letting me know, a bit insight.

yacovm
2016-08-25 07:57
well, at least the part that disseminates messages to most of the peers

yacovm
2016-08-25 07:57
np

szlaci83
2016-08-25 08:04
Hi, i am trying to set up a 4 validating peer environment. After stopping all docker containers, and deleting the /var/hyperledger/production I always run into the same problem. Vp0- vp2 starts up fine, but for some reason vp3 says that it has already been registered....

szlaci83
2016-08-25 08:04
^[[31m17:02:53.387 [crypto] register -> ERRO 00d^[[0m [validator.test_vp3] Failed registering [test_vp3]: [Already registered.] ^[[31m17:02:53.387 [crypto] register -> ERRO 00e^[[0m [validator.test_vp3] Failed registering [test_vp3]: [Already registered.]

szlaci83
2016-08-25 08:05
has anyone had any issue like this before?

stylix
2016-08-25 08:05
BTW, I'm now working in between Docker swarm and Fabric. I made some tools to generate parameter dynamically for each fabric node under swarm. The solution goes well under cluster to make fabric lives under swarm, and possible to scale up/down on the fly. But, I somehow hope we will have this thing works out-of-the-box. Let me know, if my configuration needed to be explained.

stylix
2016-08-25 08:08
@szlaci83 Do you mount the /var/hyperledger/production to your host? Please make sure you delete it well, all containers, and database.

stylix
2016-08-25 08:09
It usually happens if you do not clean it perfectly.

stylix
2016-08-25 08:10
Especially docker, you better use 'docker ps -a' to see your containers

szlaci83
2016-08-25 08:11
in my script i do rm -rf /var/hyperledger/production first than delete the containers..... that might be the issue....

szlaci83
2016-08-25 08:13
@stylix thanks for the idea.... can i disturb you later with my network setup issues? it seems you are good at it :slightly_smiling_face:

stylix
2016-08-25 08:17
You better do 'docker rm your_container' before doing 'rf -rm ...' Then the database will not get locked by the container.

szlaci83
2016-08-25 08:17
yepp now i see

szlaci83
2016-08-25 08:32
@stylix it didnt solve it, but i realised that i have modified a running peer once and I didnt delete the database directory in the peer and commited it like that... :smile:

stylix
2016-08-25 08:57
I see, that happens to me, sometime. when I have lot of thing to do...

cfompowou
2016-08-25 10:44
has joined #general

vikasmalhotra
2016-08-25 12:11
has joined #general

shafqatahmed
2016-08-25 13:10
has joined #general

s.matthew.english
2016-08-25 14:10
is the tsc meeting happening today?

vdoblockchain
2016-08-25 14:12
i wonder as well…meeting has not started yet

s.matthew.english
2016-08-25 14:17
ah ok- so then- I'm not the only one- that's a relief

middleton
2016-08-25 14:19
I believe it was cancelled.

s.matthew.english
2016-08-25 14:23
hmm- it was in one of the mailing list email I didn't read I guess

gokul
2016-08-25 15:29
has joined #general

jce23
2016-08-25 15:42
hi, I am stepping through the Fabric installation for the first time. I have it up and running, but am hitting a snag chaincode_example02. I'm getting a lot of 'cannot find package' errors when I try to run 'go build' on chaincode_example02.go. Any suggestions? I had to install go prior to this, not sure if there are steps I am missing. The docs assume go is installed, I beleive

misameel
2016-08-25 16:21
has joined #general

ricardo
2016-08-25 16:37
has joined #general

sukrith
2016-08-25 18:04
has joined #general

sukrith
2016-08-25 18:32
hey looking to start a project on hyperledger and I am wondering which one I should start experimenting with ‘fabric’ or ‘sawtooth’? any suggestions or guides to help me choose?

middleton
2016-08-25 18:33
That would probably depend on a lot of things. I'd recommend taking a look at the docs and seeing how it matches your interest. For Sawtooth there are some tutorials to help you get started.


middleton
2016-08-25 18:34

sukrith
2016-08-25 18:34
are the differences between the 2 highlighted somewhere?

middleton
2016-08-25 18:35
No I don't think anyone has made a cheat sheet like that.

middleton
2016-08-25 18:35
There are 2 main difference that come to mind.. consensus:

middleton
2016-08-25 18:35
sawtooth= PoET; Fabric=Pbft variant

middleton
2016-08-25 18:35
Transaction Logic:

middleton
2016-08-25 18:36
Sawtooth= Transaction families; Fabric = Chain code

middleton
2016-08-25 18:36
PoET is a green form of Random Leader Election (c.f. Proof of Work)

middleton
2016-08-25 18:37
Fabric consensus is a variant of PBFT

middleton
2016-08-25 18:37
Transaction Familes are transaction logic deployed on the validator.

middleton
2016-08-25 18:38
Chain code is transaction logic deploy in dockers via Ledger transactions.

sukrith
2016-08-25 18:39
hmm i see thanks for the summary. I will start reading the 2 wikis!

vramu
2016-08-26 06:36
has joined #general

georges
2016-08-26 07:32
has joined #general

u_peter
2016-08-26 08:07
has joined #general

sportshark
2016-08-26 09:00
has joined #general

khongks
2016-08-26 11:26
has joined #general

khongks
2016-08-26 11:30
#newinibmplatforn

khongks
2016-08-26 11:52
#newincloudplatform

puneet-itpc
2016-08-26 12:25
Is there a way to trace history of a variable in the world state of fabric, i.e. how has it changed through blocks.

schristie
2016-08-26 13:43
has joined #general

mqmatt
2016-08-26 13:43
Not easily - today you'd need to code this yourself. Provenance is recorded at the transaction level, not the world state.

lorenzoasr
2016-08-26 16:50
has joined #general

cnapier
2016-08-26 17:11
has joined #general

middleton
2016-08-26 18:30
@ry there's a PR on hyperledger/hyperledger from @marcie just now answering the questions from @sukrith above.. which seem to be asked quite frequently.

middleton
2016-08-26 18:30
She was more thorough than my brief replies above.

ry
2016-08-26 18:35
@middleton do you want me to merge it so people can iterate?

middleton
2016-08-26 18:35
Yeah I think that would be good.

ry
2016-08-26 18:36
done

middleton
2016-08-26 18:36
thx

sukrith
2016-08-26 18:43
just saw the guide! fabric can only support 6 nodes?

sukrith
2016-08-26 18:49
im referring to the max network size field

middleton
2016-08-26 18:59
I think that's a reference to the size of the validator network. Not the amount of clients.

anirudhp2014
2016-08-26 19:05
has joined #general

imolfar
2016-08-26 20:41
has joined #general

seburn
2016-08-26 21:49
has joined #general

seburn
2016-08-26 21:51
Im new to this channel, does anyone know why the IBM Bluemix Commercial Paper Demo will not run

mono
2016-08-27 00:15
has joined #general

tsmse
2016-08-27 05:40
has joined #general

sanjer
2016-08-27 06:58
has joined #general

roderik
2016-08-27 08:18
Does anyone know of a good getting started tutorial or post? From installing to sending transactions and deploying a smart contract?

shangsong
2016-08-27 11:40
Hi, while doing make with latest hyperledger fabric source from github, it is exiting with result below

shangsong
2016-08-27 11:40
root@sonyshang:/usr/local/gopkg/src/github.com/hyperledger/fabric# make Building docker base-image Error: No such image, container or task: hyperledger/fabric-baseimage:x86_64-0.0.11 BUILD-CACHE: Pulling "hyperledger/fabric-baseimage:x86_64-0.0.11" from dockerhub.. Pulling repository http://docker.io/hyperledger/fabric-baseimage Tag x86_64-0.0.11 not found in repository http://docker.io/hyperledger/fabric-baseimage Error: No such image, container or task: hyperledger/fabric-baseimage:x86_64-0.0.11 BUILD-CACHE: WARNING - Build-cache unavailable, attempting local build make[1]: Entering directory '/usr/local/gopkg/src/github.com/hyperledger/fabric/images/base' Generating docker Sending build context to Docker daemon 885.8 kB Step 1 : FROM ubuntu:trusty trusty: Pulling from library/ubuntu 862a3e9af0ae: Pulling fs layer 6498e51874bf: Pulling fs layer 159ebdd1959b: Pulling fs layer 0fdbedd3771a: Waiting 7a1f7116d1e3: Waiting error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/4a/4a725d3b3b1cc18c8cbd05358ffbbfedfe1eb947f58061e5858f08e2899731ee/data?Expires=1472298733&Signature=EJV75fbjSKmoK~pFhGK19po-3zQpjLXSWPMxJYKg-wti9e-6abeTbEhO89wj02mjq-rppAf83SdVbHmjBUCCE7vEPC~29gc5rO3BVhNkRwc0W3GRuaCmAS~eADB5T15bNS-eLyxUy~8XAnFGkNGpv48k9aXuXRF0QFeDyZurKfY_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: net/http: TLS handshake timeout Makefile:33: recipe for target 'docker' failed make[1]: *** [docker] Error 1 make[1]: Leaving directory '/usr/local/gopkg/src/github.com/hyperledger/fabric/images/base' ERROR: Build-cache could not be compiled locally Makefile:181: recipe for target 'build/image/base/.dummy' failed make: *** [build/image/base/.dummy] Error 255

avram
2016-08-27 13:13
has joined #general

cbf
2016-08-27 13:49
@shangsong are you building on AWS?

alwaysanirudh
2016-08-27 14:12
has joined #general

matanyahu
2016-08-27 14:57
where can i report an issue with a failed deployment of fabric dev environment via vagrant as per readthedocs manual?

ghaskins
2016-08-27 14:59
#fabric-dev-env is a good place within the slack

ghaskins
2016-08-27 14:59
note that there is a known issue introduced last night, the fix is in now its just being tested

sh_balfas
2016-08-27 15:59
has joined #general

jmfranc
2016-08-27 16:51
has joined #general

szlaci83
2016-08-28 02:32
hi im trying to run 4 peers with pbft using v0.5 of fabric and i get this error after deploying chaincode: ^[[36m02:27:24.930 [consensus/obcpbft] unicastOne -> DEBU 5cf^[[0m could not send to replica 1: Message handler not found for receiver vp1 ^[[36m02:27:24.930 [consensus/obcpbft] unicastOne -> DEBU 5ce^[[0m could not send to replica 3: Message handler not found for receiver vp3 ^[[36m02:27:24.931 [consensus/obcpbft] unicastOne -> DEBU 5d0^[[0m could not send to replica 2: Message handler not found for receiver vp2 0 Replica 0 found incorrect signature in view-change message: Could not verify message from vp0

garisingh
2016-08-28 09:52
@szlaci83 - seems like vp0 was not able to connect to the 3 other peers (I think)

viviancpy
2016-08-28 10:31
has joined #general

szlaci83
2016-08-28 19:18
@garisingh thanks, but I dont get the reason, as it was fine without pbft(security, privacy enabled)

garisingh
2016-08-28 19:29
you mean running 4 peers with security and privacy but no PBFT?

garisingh
2016-08-28 19:29
in NOOPS mode you won't get an error if it can't send to the other peers

szlaci83
2016-08-28 19:44
@garisingh yes, but in noops mode it sent the deployed chaincode to others -> I had 4 docker containers for the peers + 4 for the chaincode, so i assumed it could communicate to others

szlaci83
2016-08-28 20:16
@garisingh Is my logic right?

garisingh
2016-08-28 20:18
yeah - seems like it did work with NOOPS.

garisingh
2016-08-28 20:18
did you happen to set `CORE_PEER_ID=vp0` , `CORE_PEER_ID=vp1` , `CORE_PEER_ID=vp2`, `CORE_PEER_ID=vp3` when using PBFT?

szlaci83
2016-08-28 20:22
nope

szlaci83
2016-08-28 20:23
does it help? :smile:

szlaci83
2016-08-28 20:23
i will see... at the moment it seems i killed docker

szlaci83
2016-08-28 20:23
(on 2 machines )

garisingh
2016-08-28 20:37
yeah - PBFT has a fixed set of IDs - so you need to set the ID for each peer you run and they need to be in the form `vpX` - hence `vp0,vp1,vp2,vp3` etc

garisingh
2016-08-28 20:39
@szlaci83 - I gotta run for a bit (my cupboards are bare) - didn't want you to thing I abandoned you

szlaci83
2016-08-28 20:43
:smile: thanks @garisingh

szlaci83
2016-08-28 21:02
@garisingh I have just checked actually its not missing, its just :CORE_PEER_ID=test_vp0

garisingh
2016-08-28 21:14
Hmmm - I think it has to be vp0,vp1,etc but I might be wrong

szlaci83
2016-08-28 21:18
yes u r right :smile:

szlaci83
2016-08-28 21:18
@garisingh up and running 4 peers with pbft

szlaci83
2016-08-28 21:19
thanks a lot

garisingh
2016-08-28 21:21
Cool. No problem

djeverette
2016-08-29 01:02
has joined #general

julio
2016-08-29 01:07
Is there a channel, team or expert in charge of the security of the hyperledger?

poly
2016-08-29 03:07
@poly uploaded a file: https://hyperledgerproject.slack.com/files/poly/F25R2DCDD/pasted_image_at_2016_08_29_11_07_am.png and commented: Hi, in a doc from @binhn , he drafted there will be "Member services HA" support in Aug, how is it going, is there any newer plan/roadmap?

stylix
2016-08-29 03:54
Hi @poly, can you also give the link to this

poly
2016-08-29 03:56
@poly shared a file: https://hyperledgerproject.slack.com/files/binhn/F1VDNHG4E/fabricnext-community.pptx and commented: Deck I discussed with community today

vdoblockchain
2016-08-29 03:57
Hi, quick question around deployment model. I understand that we have a deployment model of - Cloud Hosted One Network. And by this it means that - cloud vendor will own physical resources but Participant will control Computing resources, making it decentralized within a centralized environment. Please can someone explain this in bit detail? (I am confused because once I am on cloud, cloud vendor owns/manage/controls hardware as well computing resources. In case of Blockchain, what is changing when we go with cloud hosting?)

stylix
2016-08-29 03:59
I'm not sure where do you get this doc. BTW, I'm checking. Thanks @poly

2016-08-29 04:04
@poly commented on @binhn’s file https://hyperledgerproject.slack.com/files/binhn/F1VDNHG4E/fabricnext-community.pptx: Hi binhn, how is this going, is there any newer plan? I'm concerned more on membership HA and 3rd party integration. Thanks!

poly
2016-08-29 04:06
I was searching for membership support of Hyperledger, and someone attached this doc to SO

uday.chaudhari
2016-08-29 05:44
has joined #general

hanhzf
2016-08-29 07:15
In Fabric Protocol Specification, I found following explanation: “This implementation of membership services provides the following basic functionality: there is no expiration/revocation of ECerts;”. While I also find some difference explanation in this doc “ECert Expiration: Enrollment certificates have different validity period length(s) than those in transaction certificates.”, “Enrollment Certificates (ECerts) ECerts are long-term certificates.” My question is whether ECert will expire and how can I configure it ? I’m a little confused

roman.kaplun
2016-08-29 08:33
has joined #general

stylix
2016-08-29 08:40
Hi, I'm using PBFT. I somehow manage to run Fabric on Docker swarm, means, I can scale up/down nodes on the fly. BTW, I have a question. Is it possible to join a new VP after the existing nodes already have blocks? E.g. 1. I start with 4 VPs (vp1, vp2, vp3, vp4). 2. Deploy chaincode, all 4 VPs create a new image and run create a new chaincode attaches to itself. 3. Pump transactions, all 4 VPs update its chain. 4. Join a new node as vp5, all existing 4 VPs know the newly join node, discovery list got updated, all 5 VPs connection seemed to be fine. **Problem** All new transactions, will not affect to the vp5, but only old 4VPs. Means, I can also send transaction to vp5, but it will pass all the transaction to the rest 4 VPs.

thomas.marckx
2016-08-29 08:42
has joined #general

thomas.marckx
2016-08-29 08:50
Can someone help me explain the main difference - and advantages - of created a HL BC over an Ethereum BC? There’s a lack of trustworthy information I can find online.

ksd
2016-08-29 09:14
has joined #general

chandanacheerla
2016-08-29 09:27
has joined #general

anirudhp2014
2016-08-29 10:54
I am still learning .. can anyone suggest where to start.


yp
2016-08-29 11:27
has joined #general

ashnur
2016-08-29 11:28
i think we need a FAQ that can be extended regularly with ease

ashnur
2016-08-29 11:28

anirudhp2014
2016-08-29 11:30
Thanks Thomas and Ashnur

hanlsin
2016-08-29 11:33
has joined #general

arunkumarsp
2016-08-29 13:15
has joined #general

kikhlas2016
2016-08-29 13:30
has joined #general

cbf
2016-08-29 13:41
@ashnur please use and reference the official docs now that we’ve restored the build http://hyperledger-fabric.readthedocs.io/en/latest/

ashnur
2016-08-29 13:59
@cbf, right, sorry :slightly_smiling_face:

ashnur
2016-08-29 14:03
@cbf, do you know something about the search in the sidebar if anyone is working on it? previously i was sure it's broken on the whole readthedocs site, but now I found out that for example the solidity docs work properly.

cbf
2016-08-29 14:07
@ashnur readthedocs search UX sucks


alexrosen
2016-08-29 14:07
@cbf That doc view is a lot better than what I was perusing last week. I went back to http://hyperledger.org to figure out how a new person to the project could find that spot. It was not simple. It might help if the http://hyperledger.org link to Github pointed to the Hyperledger repo's readme.md which is a decent index. I'm sorry if this is not the right place for such a suggestion. Just lmk where it should go.

cbf
2016-08-29 14:07
of course that URL also seems broken in terms of actually working

cbf
2016-08-29 14:08
thanks for the feedback. I’ll get that changed

ashnur
2016-08-29 14:08
@cbf the search in the sidebar works for example here: http://solidity.readthedocs.io/en/latest/

alexrosen
2016-08-29 14:08
thanks

ashnur
2016-08-29 14:09
@cbf i don't doubt that readthedocs UI/UX suck, I also think they could improve a lot, but maybe it's worth trying to fix this instead of having to tell people 2 separate urls in order for the docs to be usable?

khewling
2016-08-29 14:59
has joined #general

cbf
2016-08-29 15:05
I am not sure why we aren’t picking anything up

cbf
2016-08-29 15:05
@ramesh can you please look into why the readthedocs search isn’t working?

ramesh
2016-08-29 15:07
ok

denis.polish
2016-08-29 15:27
has joined #general

sogryffindor
2016-08-29 16:39
has joined #general

mads
2016-08-29 16:50
has joined #general

venkat
2016-08-29 17:33
newbie question - if there is no mining in fabric, how is the immutability guaranteed? Isn't is easy for an "authoritative" peer to republish the entire blockchain?

garisingh
2016-08-29 17:35
the transaction log (ledger) is immutable - it is a "hash chain" of blocks which contain batches transactions (e.g. invoke chaincode xyz with parameters 1,2,3) and a hash of the world state at the time the block was created.

venkat
2016-08-29 17:41
so, there is only one main chain - no forked chains as in bitcoin blockchain?

venkat
2016-08-29 17:44
like in serializable consistency - all transactions are strictly ordered.?

garisingh
2016-08-29 17:47
@venkat - correct - it is a permissioned blockchain which currently used PBFT for consensus. One of the requirements of a permissioned network and for Paxos-like algorithms such as PBFT is that you must know all of the participants in the network. So when you start the fabric using PBFT, the default setting is that there will be 4 validators that will be part of the network. The network won't start until at least 3 of them are active and connected to each other. They transactions are indeed ordered

venkat
2016-08-29 17:48
Is there a possibility that 2 txns could be recieved almost at the same time by two validating peers?

garisingh
2016-08-29 17:49
when a transaction is submitted to a peer from a client, that peer then submits the transactions for consensus which then orders the transactions

garisingh
2016-08-29 17:50
all validating nodes then agree on the order of transactions and then that "batch" is sent to the peers who then execute the transactions in order

garisingh
2016-08-29 17:52
(there's lots more low-level detail, but hopefully this helps clarify / explain the basics)

venkat
2016-08-29 17:54
for example, two different clients submit transactions based on what they saw as current state (which is the same as seen by both), then the results after the transactions executed, could be somewhat unexpected by he clients?

venkat
2016-08-29 17:54
or sometimes those txns could be invalid (because the state no longer what the clients saw)

venkat
2016-08-29 17:56
sorry - ignore my last question.

venkat
2016-08-29 18:05
Any sample code to understand adding and using user certs etc for a chaincode app?

marymunaro
2016-08-29 18:49
has joined #general

matanyahu
2016-08-29 19:48
@garisingh : I was curious what would happen if we have a federation/consortium network deployed in two sites, each having 4 approval peers, and suddenly a connection between the two would be cut. How does PBFT behave in split brain scenario and afterwards, when a reconciliation has to happen?

aditya-prasad
2016-08-29 22:00
has joined #general

akeys
2016-08-29 22:54
has joined #general


shuanglu
2016-08-30 01:04
when I run this line of codes ./bin/txnvalidator -v --config /project/sawtooth-arcade/txnvalidator.js I got an error "LogLevel is no longer supported, use LogConfigFile instead". Does anyone know why?

kelly
2016-08-30 01:05
hey @shuanglu there have been some recent changes to sawtooth that the doc's havent yet incorporated

kelly
2016-08-30 01:06
@mitchell @middleton can probably help you over in #sawtooth

shuanglu
2016-08-30 01:07
ok, thanks

kelly
2016-08-30 01:08
oh, and @amundson :slightly_smiling_face:

ckichler
2016-08-30 01:50
has joined #general

chainsaw
2016-08-30 04:21
has joined #general

ohhopi
2016-08-30 07:21
has joined #general

rajeshsubhankar
2016-08-30 08:50
has joined #general

bok
2016-08-30 09:19
has joined #general

suri
2016-08-30 09:39
Any telll me fuction differences between hyperledger fabric and sawtoothlake. and why we are using hyperledger fabric only

garisingh
2016-08-30 09:53
@suri - I believe there was a response to the differences question in #fabric yesterday. There is also a #sawtooth channel as well. `why we are using hyperledger fabric only` - not sure what you mean? people can choose to use / contribute to either project

huilixiang
2016-08-30 10:32
has joined #general

ant2221
2016-08-30 10:36
I have an old presentation from April called ‘Overview of Hyperledger - Introduction to the Linux Foundations Hyperledger Project’. Is there an updated version with the new TSC members coming soon?

hfeeki
2016-08-30 10:41
Hi, guys, Does fabric can support head only sync now or plan to support ?

thomas.marckx
2016-08-30 10:41
I’m trying to deploy the newest version of fabric locally. (I’m following these steps : http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/build/) It’s setup on box via vagrant but the `make peer`command is trowing some error related to `protoc` Anyone have this as well or knows how to fix this? ```protoc --proto_path=/opt/gopath/src/github.com/hyperledger/fabric/consensus/pbft --go_out=plugins=grpc:/opt/gopath/src/github.com/hyperledger/fabric/consensus/pbft /opt/gopath/src/github.com/hyperledger/fabric/consensus/pbft/*.proto messages.proto:17:10: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2". make: *** [consensus/pbft/messages.pb.go] Error 1```

pmcosta
2016-08-30 12:52
has joined #general

sksundaram
2016-08-30 13:02
has joined #general

noonan
2016-08-30 13:32
has joined #general

dmitrysklyarov
2016-08-30 14:18
has joined #general

rajeshsubhankar
2016-08-30 14:59
Does any one knows how to find CORE_PEER_ADDRESS value in a situation where there is one validating peer running over fabric inside docker toolbox for mac ? My docker-compose.yaml has "CORE_VM_ENDPOINT=http://172.17.0.1:2375" and I am getting "Auto detected peer address: 172.17.0.3:7051" in my validating peer debug output screen. When I am trying to register a chaincode in another terminal using "CORE_PEER_ADDRESS=172.17.0.3:7051" I am getting grpc timeout error. I have tried a lot of ip address combination but failed to register.

muralisr
2016-08-30 15:01
@rajeshsubhankar I do `docker ps` to get peer container id and `docker inspect <peer container id>` to look at its env. you should see its IP iaddress

muralisr
2016-08-30 15:01
I’d expect 172.17.0.2

rajeshsubhankar
2016-08-30 15:09
@rajeshsubhankar uploaded a file: https://hyperledgerproject.slack.com/files/rajeshsubhankar/F26D94812/-.txt and commented: @muralisr Thanks for your input. Didn't found ip from env section. Any specific part I need to look after ? BTW I tried 172.17.0.2 as well.

muralisr
2016-08-30 15:10
I meant as part of the environment … :slightly_smiling_face:, in the output somewhere

rajeshsubhankar
2016-08-30 15:15
@muralisr Oh sorry. The only thing regarding IP I am am able to find out there is "Gateway": "172.17.0.1", "IPAddress": "172.17.0.3" and nothing about port.

muralisr
2016-08-30 15:18
@rajeshsubhankar no problem. right so 172.17.0.3 should be accessible but you cannot get it to work with 172.17.0.3:7051 ?

rajeshsubhankar
2016-08-30 15:22
@rajeshsubhankar uploaded a file: https://hyperledgerproject.slack.com/files/rajeshsubhankar/F26DTR4KZ/-.txt and commented: @muralisr This is the error I am getting. I think it might be listening in some other port.

muralisr
2016-08-30 15:24
did you try from within Vagrant ?

muralisr
2016-08-30 15:25
not know the environment … I guessing a bit here

rajeshsubhankar
2016-08-30 15:25
No. I am not using Vagrant. I am trying by running docker quickstart terminal

rajeshsubhankar
2016-08-30 15:26
No Problem. Thanks for your input.

kelly
2016-08-30 15:26
@suri here is a first pass at a comparison


cheyi
2016-08-30 15:30
has joined #general

ethan
2016-08-30 15:54
has joined #general

jjjjibm
2016-08-30 17:11
@thomas.marckx a bad fix went into fabric last night. I think it is fixed now. You should try your tests again.

gnsortino
2016-08-30 17:38
has joined #general

phwallace
2016-08-30 18:33
has joined #general

dshuffma
2016-08-30 19:08
has joined #general

ulysses
2016-08-30 19:56
@ulysses uploaded a file: https://hyperledgerproject.slack.com/files/ulysses/F26HCK3C5/peer.png and commented: I'm running a single peer setup using noops and membersrvc. The car lease demo is running on my local machine. Starting the server (node app.js) results in all the users being enrolled. However, the peers indicates errors in missing keys. This error is consistent across all users being enrolled (19:27:56.250 [crypto] Error -> ERRO 025 [client.DVLA] Failed loading TCertOwnerKDFKey. Key is missing.) Is there a fix for this?

riker
2016-08-30 21:00
has joined #general

damelon
2016-08-30 21:45
has joined #general

ethan
2016-08-30 22:37
Anybody have seen this error in peer when deploy the chaincode example2? `16:15:51.986 [ledger] sendProducerBlockEvent -> ERRO 01e Error unmarshalling deployment transaction for block event: proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group`

tuand
2016-08-30 23:49
The event code doesn't work quite right when security and privacy are set on. In most cases, you can ignore that message

annap
2016-08-31 00:45
has joined #general

muralisr
2016-08-31 01:21
@ethan that is a benign - but annoying - log … like @tuand mentions, you can ignore it in most cases

udaykiran77
2016-08-31 01:22
has joined #general

allwelder
2016-08-31 02:11
has joined #general

donnieg
2016-08-31 02:21
has joined #general

surpf0sh
2016-08-31 03:44
has joined #general

mart-e
2016-08-31 05:26
has joined #general

angelo.littera
2016-08-31 06:53
has joined #general

thomas.marckx
2016-08-31 06:55
Thanks @jjjjibm !

amos644
2016-08-31 06:55
has joined #general

ingne
2016-08-31 07:06
has joined #general

danielw
2016-08-31 07:58
has joined #general

kiko3333
2016-08-31 10:00
has joined #general

dingxinyi
2016-08-31 10:52
has joined #general

newmedia
2016-08-31 11:46
has joined #general

ngradwohl
2016-08-31 11:59
has joined #general

balakrishna
2016-08-31 12:00
Hi, can someone tell me how to create new ECert/TCert for role based access for new user

thomas.marckx
2016-08-31 12:14
Can anyone explain the different security steps/certificates that are completed when a new peer wants to join the network and when a user want to register on it?

thomas.marckx
2016-08-31 12:15
As far as I understand, both a new peer and user always need to pass the membership services

davidma
2016-08-31 13:12
has joined #general

ertogrul
2016-08-31 13:56
has joined #general

shireesh18
2016-08-31 13:59
hi am new to hyperledger world. Could you please help me to fix the below issue that am facing while setting up the development environment

shireesh18
2016-08-31 13:59
Am following this link https://github.com/hyperledger/fabric to set up development environment on my machine. I am using Vagrant and Oracle virtual box to deploy the fabric code onto the virtual machine(ubuntu) . I could able to clone the code from the gerrit repository and bring up the virual box but the code has not been deployed or build on the virtual machine. It keeps giving me the below error. How can I update protobuf on ubuntu, does the update still help ? I have read somewhere that even the latest protobuf version supports only proto2. Plz help to overcome this issue ==> default: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2". ==> default: make: *** [vendor/github.com/golang/protobuf/jsonpb/jsonpb_test_proto/more_test_objects.pb.go] Error 1 The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

ghaskins
2016-08-31 14:21
@shireesh18 its unclear how this is happening, but it appears you have protoc v2 installed when we require protoc v3

ghaskins
2016-08-31 14:21
this should have been managed for you in vagrant though

ghaskins
2016-08-31 14:22
can you clarify: are you using _our_ vagrant, or did you roll one yourself?

dimitri
2016-08-31 14:24
has joined #general

thomas.marckx
2016-08-31 14:28
@ghaskins, @shireesh18: I had the same issues yesterday using ‘your’ - don’t mean to point fingers - vagrant. I was told there was bad fix included in the current fabric; but haven’t received any further information

ghaskins
2016-08-31 14:30
@thomas.marckx you are saying you checked out fabric.git, cd devenv, vagrant up, and you saw that proto3 error?

ghaskins
2016-08-31 14:31
vagrant was broken between Friday and Monday, but at no time was I aware of a problem that would have resulted in proto2 getting installed

shireesh18
2016-08-31 14:31
@ghaskins , I have downloaded from the link https://www.vagrantup.com/ that has been mentioned in the docs

shireesh18
2016-08-31 14:33
I have clone the code using this command it clone && scp -p -P 29418 :hooks/commit-msg fabric/.git/hooks/

shireesh18
2016-08-31 14:33
git clone && scp -p -P 29418 :hooks/commit-msg fabric/.git/hooks/

thomas.marckx
2016-08-31 14:34
@ghaskins I followed these steps (http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/devenv/) I was able to access the VM via vagrant ssh, but received the proto3-error while trying `make peer`

ghaskins
2016-08-31 14:34
interesting…not sure how that could have happened

shireesh18
2016-08-31 14:34
@ghaskins @thomas Yes I too have followed the steps from that link

ghaskins
2016-08-31 14:34
ok, good to know

thomas.marckx
2016-08-31 14:36
I’ve continued using deployments on docker, but it would be nice to boot a peer locally. Please keep in touch if you’d find a solution

shireesh18
2016-08-31 14:39
@thomas.marckx , could you ping me the documentation if any on how to deploy on docker . Thanks in advance

shireesh18
2016-08-31 14:45
@ghaskins while cloning into fabric am getting the below error at the end , why is that so. I do have the private key on my local machine Cloning into 'fabric'... Enter passphrase for key '/c/Users/IBM_ADMIN/.ssh/id_rsa': Enter passphrase for key '/c/Users/IBM_ADMIN/.ssh/id_rsa': remote: Counting objects: 2928, done remote: Finding sources: 100% (51/51) remote: Total 4425 (delta 1), reused 4398 (delta 1) Receiving objects: 100% (4425/4425), 22.81 MiB | 64.00 KiB/s, done. Resolving deltas: 100% (1235/1235), done. Checking connectivity... done. Checking out files: 100% (1618/1618), done. Permission denied (publickey).

ghaskins
2016-08-31 14:46
@thomas.marckx will do

ghaskins
2016-08-31 14:46
@shireesh18 its not clear what SSH host you are trying to connect to, but it seems like standard ssh type problems

shireesh18
2016-08-31 14:50
@ghaskins , let me know if this helps Permanently added '[http://gerrit.hyperledger.org]:29418,[198.145.29.90]:29418' (RSA) to the list of known hosts

ghaskins
2016-08-31 14:50
can you describe your workflow?

ghaskins
2016-08-31 14:50
where are you running this, where are you cloning fabric from, etc

shireesh18
2016-08-31 14:51

ghaskins
2016-08-31 14:52
oh, i see

shireesh18
2016-08-31 14:52
Have used the command as mentioned in the doc to clone git clone && scp -p -P 29418 :hooks/commit-msg fabric/.git/hooks/

ghaskins
2016-08-31 14:52
I just use "git clone "

ghaskins
2016-08-31 14:52
which I got from the gerrit UI

ghaskins
2016-08-31 14:52
that seems to work…i havent tried the method in the docs

ghaskins
2016-08-31 14:53
if you find the above works (adjusted for your LFID) please file a doc bug in JIRA

ghaskins
2016-08-31 14:53

shireesh18
2016-08-31 14:53
@ghaskins let me try that

ghaskins
2016-08-31 14:54
Oh I see where the doc author got that: its if you click the “Clone with commit-msg hook"

ghaskins
2016-08-31 14:54
my guess is you havent configured your SSH key, in which case both methods should fail

ghaskins
2016-08-31 14:54
also note that you only need the SSH method if you plan to submit patches

ghaskins
2016-08-31 14:55
if you dont, you can just use: git clone http://gerrit.hyperledger.org/r/fabric

thomas.marckx
2016-08-31 15:01
@shireesh18: https://hub.docker.com/u/hyperledger/ Have a look at the tutorials to see how docker works

shireesh18
2016-08-31 15:05
@ghaskins I did configure SSH keys both private and public and I have added the public key in http://gerrit.hyperledger.org under settings--->SSH Public Keys

ghaskins
2016-08-31 15:08
@shireesh18 if none of the clone methods work and you get that error, I suspect you need to review your ssh setup

venf2k
2016-08-31 16:07
has joined #general

aso
2016-08-31 16:09
has joined #general

rajeshsubhankar
2016-08-31 17:37
@ghaskins @shireesh18 http://gerrit.hyperledger.org is down now. This might be the reason.

bramwelt
2016-08-31 19:15
http://gerrit.hyperledger.org came back online around 11:15 PDT

bramwelt
2016-08-31 19:16
Please send an email to if you see anything awry.

br0nline
2016-08-31 20:46
has joined #general

luiserpa
2016-08-31 21:13
has joined #general

oli
2016-08-31 21:22
has joined #general

mmellobribm
2016-09-01 00:22
has joined #general

huilixiang
2016-09-01 01:00
in chaincode, which api i can use to get detail info of a transaction by txid

muralisr
2016-09-01 01:13
@huilixiang there’s no api in chaincode for that

ajelly
2016-09-01 01:22
has joined #general

huilixiang
2016-09-01 01:43
@muralisr thx

prashant.lalchandani
2016-09-01 02:02
has joined #general

kunallimaye
2016-09-01 02:02
has joined #general


bgorman
2016-09-01 03:05
@kunallimaye I think you want to run that from `/opt/gopath/src/github.com/hyperledger/fabric`

bgorman
2016-09-01 03:05
there is a `Makefile` in that folder

kunallimaye
2016-09-01 03:07
Thanks @bgorman. It actually was `/opt/gopath/src/github.com/hyperledger/fabric` and not the one in my original post. But I am still getting the same error

bgorman
2016-09-01 03:08
you're in the fabric folder where the Makefile is and still getting `make: Nothing to be done for peer`?

kunallimaye
2016-09-01 03:09

bgorman
2016-09-01 03:10
does `build/bin/peer` exist? perhaps you have simply built it already and there really is nothing new to do :slightly_smiling_face:

kunallimaye
2016-09-01 03:11
Yep it does exist. So I take it that it has got smarts to *work out* if the build is required on not? Many thanks @bgorman

bgorman
2016-09-01 03:12
yeah, `make` does some timestamp comparisons and if all of the inputs are older it won't rebuild an output file

kunallimaye
2016-09-01 03:12
thanks mate

bgorman
2016-09-01 03:12
no worries :slightly_smiling_face:

donnieg
2016-09-01 03:13
me still on the environment setup step...

donnieg
2016-09-01 03:13
access to the site from China is so slow...

cccc
2016-09-01 03:19
has joined #general

warm3snow
2016-09-01 04:02
@donnieg yeah, the vagrant way is not wise in China. I recommend you build the env mannually. It cost me several days to make it

donnieg
2016-09-01 04:24
@warm3snow thanks, will go and have a look.

kuzman
2016-09-01 05:26
has joined #general

michael.y
2016-09-01 05:39
has joined #general

prateek
2016-09-01 06:11
has joined #general

hschell
2016-09-01 07:55
has joined #general

amold
2016-09-01 10:00
has joined #general

shireesh18
2016-09-01 11:20
Thanks @ghaskins using the below command worked for me.

shireesh18
2016-09-01 11:20
git clone

oiakovlev
2016-09-01 11:41
Hi QQ: If I create few peers using `docker-compose up` from vagrant host where are peer logs will be located, logs related to chaincode execution? Can they be accessible just from vagrant host or shall I ssh to peer using `docker exec` command? Also in my example peers are started in dev mode - does it make any difference for the logging? Also what will be the most appropriate channel here for asking such env specific questions? :slightly_smiling_face:

det
2016-09-01 12:01
has joined #general

rabulist
2016-09-01 12:44
has joined #general

sudhird
2016-09-01 13:07
has joined #general

oiakovlev
2016-09-01 13:28
answering on mine question they are under `/var/lib/docker/containers/` :slightly_smiling_face:

vhanchar
2016-09-01 13:34
has joined #general

annap
2016-09-01 14:31
Hello, I am trying to setup a chaincode test environment using docker toolbox for windows (Option 3 as described in https://github.com/hyperledger/fabric/blob/master/docs/Setup/Chaincode-setup.md). I am able to startup the membership service and the single peer using docker-compose up. The logfile looks like below:

annap
2016-09-01 14:35
Hello, I am trying to setup a chaincode test environment using docker toolbox for windows (Option 3 as described in https://github.com/hyperledger/fabric/blob/master/docs/Setup/Chaincode-setup.md). I am able to startup the membership service and the single peer using docker-compose up. The logfile looks like below:$ docker-compose up Starting dockerstart_membersrvc_1 Starting dockerstart_vp0_1 Attaching to dockerstart_membersrvc_1, dockerstart_vp0_1 ←[33mvp0_1 |←[0m ←[36m20:19:48.838 [logging] LoggingInit -> DEBU 001←[0m Setting default logging level to DEBUG for comman ←[33mvp0_1 |←[0m 20:19:48.840 [nodeCmd] serve -> INFO 002←[0m Running in chaincode development mode ←[33mvp0_1 |←[0m 20:19:48.840 [nodeCmd] serve -> INFO 003←[0m Set consensus to NOOPS and user starts chaincode ←[33mvp0_1 |←[0m 20:19:48.840 [nodeCmd] serve -> INFO 004←[0m Disable loading validity system chaincode ←[33mvp0_1 |←[0m 20:19:48.841 [peer] func1 -> INFO 005←[0m Auto detected peer address: 172.17.0.3:7051 ←[33mvp0_1 |←[0m 20:19:48.843 [peer] func1 -> INFO 006←[0m Auto detected peer address: 172.17.0.3:7051 ←[33mvp0_1 |←[0m ←[36m20:19:48.846 [eventhub_producer] AddEventType -> DEBU 007←[0m registering BLOCK ←[33mvp0_1 |←[0m ←[36m20:19:48.847 [eventhub_producer] AddEventType -> DEBU 008←[0m registering CHAINCODE ←[33mvp0_1 |←[0m ←[36m20:19:48.848 [eventhub_producer] AddEventType -> DEBU 009←[0m registering REJECTION ←[33mvp0_1 |←[0m ←[36m20:19:48.848 [eventhub_producer] AddEventType -> DEBU 00a←[0m registering REGISTER However, I get a grpc timeout error when I try to execute the sample chaincode example $ CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=172.17.0.3:7051 ./chaincode_example02 10:33:55.113 [shim] DEBU : Peer address: 172.17.0.3:7051 10:33:58.114 [shim] ERRO : Error trying to connect to local peer: grpc: timed out trying to connect Error starting Simple chaincode: Error trying to connect to local peer: grpc: timed out trying to connectsh: __git_ps1: command not found Can someone who has done this before help me understand what's going on?

isay1234
2016-09-01 14:46
has joined #general

fsiddiqi
2016-09-01 15:15
has joined #general

erpalmer
2016-09-01 15:22
has joined #general

shireesh18
2016-09-01 15:24
@shireesh18 uploaded a file: https://hyperledgerproject.slack.com/files/shireesh18/F27AKQ2P2/pasted_image_at_2016_09_01_05_24_pm.png and commented: hi guys, after successful development setup , am trying to start peer node , this is what I see for last 30 mins. Any idea??

muralisr
2016-09-01 15:26
@shireesh18 what do you see when you add CORE_LOGGING_LEVEL=debug ?

steph_h
2016-09-01 15:27
has joined #general

shireesh18
2016-09-01 15:28
@muralisr where to add? could you ping me the command

muralisr
2016-09-01 15:28
sure

muralisr
2016-09-01 15:28
CORE_LOGGING_LEVEL=debug peer node start

shireesh18
2016-09-01 15:34
@shireesh18 uploaded a file: https://hyperledgerproject.slack.com/files/shireesh18/F27AQRZD4/pasted_image_at_2016_09_01_05_34_pm.png and commented: @muralisr Tried with the command, below is what I see. Still piling up

shireesh18
2016-09-01 15:35
@muralisr how much time does it usually take to start a peer node?

muralisr
2016-09-01 15:36
ok. I think it is started…

muralisr
2016-09-01 15:36
not sure why you think its not ?

muralisr
2016-09-01 15:36
also, can we take this in “fabric” channel please ?

shireesh18
2016-09-01 15:37
@muralisr sure

tprafull
2016-09-01 15:41
has joined #general

awnapier
2016-09-01 16:50
has joined #general

rajeshsubhankar
2016-09-01 17:43
@rajeshsubhankar uploaded a file: https://hyperledgerproject.slack.com/files/rajeshsubhankar/F27D02D1Q/-.txt and commented: Anyone ever encountered similar issue ? I took the latest fabric-peer and fabric-membersrvc from dockerhub as well as referred latest docs at http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/

david.acton
2016-09-01 17:55
@rajeshsubhankar what does ./safety_device do?

david.acton
2016-09-01 17:56
at first look, the peer port looks incorrect. (as I discovered today)

roman.pavlov
2016-09-01 19:55
has joined #general

miro
2016-09-01 20:05
has joined #general

rakshith
2016-09-01 21:35
has joined #general

gustav
2016-09-01 21:37
Sawtooth and Fabric are both implementation of the same Hyperledger vision/protocol right? Does that mean they should eventually be able to talk to eachother? And what does Bletchley add? They still talk about Hyperledger as being a generation 1.0 blockchain in their whitepaper...

arveez
2016-09-01 22:35
has joined #general

bleonard
2016-09-01 22:38
has joined #general

kelly
2016-09-01 23:02
@gustav: no

kelly
2016-09-01 23:04
There is a comparison in the hyperledger github


gustav
2016-09-01 23:54
@elliot Thank you

ymlee
2016-09-02 02:59
has joined #general

nathan
2016-09-02 03:11
has joined #general

blocko-allan
2016-09-02 03:12
has joined #general

sunpuyo
2016-09-02 03:12
has joined #general

swon
2016-09-02 03:15
has joined #general

ima
2016-09-02 03:15
has joined #general

paddolker
2016-09-02 04:36
has joined #general

sudhird
2016-09-02 04:53
Hi All, Can someone guide for best tutorial or Do it yourself guide for Hyperledger?

sportshark
2016-09-02 05:33
hi ,i see Sawtooth Lake‘s Max Network Size: ~100 and Fabric’s Max Network Size: ~6, does it mean the Fabric's max network peers is 6 ? if i use Fabric to build a network it only can connect 6 peers?

doublek26
2016-09-02 06:13
has joined #general

ultrafellen
2016-09-02 06:17
has joined #general

rajeshsubhankar
2016-09-02 06:25
@david.acton ./safety_device will register the safety_device chaincode in the blockchain. I deployed the same code in IBM bluemix and its working fine. Peer port is correct one as I found it by running **netstat -atp tcp | grep -i "listen"** command. I am using docker toolbox for mac as an option for fabric runtime env. Below is the jira ticket for this bug but I don't know whether the issue has been resolved or not. (https://jira.hyperledger.org/browse/FAB-246)

hypertux
2016-09-02 09:07
has joined #general

bankie
2016-09-02 09:53
has joined #general

isabellegillot
2016-09-02 10:10
has joined #general

aespinosa
2016-09-02 10:58
has joined #general

aloughran
2016-09-02 14:30
has joined #general

kelly
2016-09-02 15:07
@sudhird here is the tutorial for Sawtooth - http://intelledger.github.io/tutorial.html

kelly
2016-09-02 15:07
@sportshark I'm not sure the max network size that has been tested with Fabric

kelly
2016-09-02 15:08
I know we've tested ~100 validators on Sawtooth

rajeshsubhankar
2016-09-02 15:51
Does anyone knows where to find core.yaml and membersrvc.yaml in my local system. I am using docker toolbox for mac as a run time for fabric. I downloaded the fabric-peer and fabric-membersrvc images from dockerhub using docker pull command. My first validating peer is up and running.

sayandeep
2016-09-02 16:43
has joined #general

tomvandevelde
2016-09-02 16:53
has joined #general

mshap
2016-09-02 18:02
has joined #general

architmathur
2016-09-02 18:25
has joined #general

rekirby
2016-09-02 19:04
has joined #general

trakus
2016-09-02 19:32
has joined #general

miglaros
2016-09-02 19:46
has joined #general

matanyahu
2016-09-02 20:22
Does anyone have a comprehensive deployment manual for building Fabric outside of Vagrant? Readthedocs is pretty cryptic here and I wanted to start mastering deployment closer to real-time scenarios (multi-VM ; dedicated docker engine host etc.)

gulshan
2016-09-02 20:26
has joined #general

2016-09-02 22:46
Christopher Ferris commented >>>ci-management (master): Patch Set 1: Code-Review+1 (http://gerrit.hyperledger.org/r/849)

garisingh
2016-09-02 23:06
@matanyahu - do you really want to build the fabric outside of Vagrant or are you really trying to *run* the fabric outside of Vagrant? Docker images are published - you should take a look at the chaincode development section of readthedocs where it describes how to run Docker images of peers and membership services. Unless you actually plan to contribute code changes to the fabric, you should simply be able to use the published Docker images

chrisgutierrez3737
2016-09-03 00:13
has joined #general

matanyahu
2016-09-03 05:46
@garisingh : thanks for your response. Currently vagrant builds all components into a single VM. I wanted to build and run it in enterprise-like conditions, where redundancy must be preserved, i.e. multiple VMs and docker engine cluster. This does not exclude contributing to an existing effort :slightly_smiling_face:

matanyahu
2016-09-03 05:47
@matanyahu uploaded a file: https://hyperledgerproject.slack.com/files/matanyahu/F27V10W94/vagrant-up_fails.txt and commented: I pulled new content from gerrit and re-executed vagrant up command, with the following result.

matanyahu
2016-09-03 05:59
Just to make sure that I get it right: after I successfully deploy new dev environment with vagrant I should build the fabric core and run unit tests (http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/build/). But what is the next step to complete my dev setup? Setting Up a Network For Development, Writing, Building, and Running Chaincode in a Development Environment and then eventually Certificate Authority (CA) Setup?


ganeshify
2016-09-03 08:27
has joined #general


2016-09-03 12:10
@matanyahu commented on @matanyahu’s file https://hyperledgerproject.slack.com/files/matanyahu/F27V5517G/another_error_from_vagrant_up.txt: this issue is happening regularly

venkat
2016-09-03 13:02
Fabric devs - for a chaincode development project, which fabric version do you recommend? The v0.5 version from the github, or is there a Gerrit tag that can be used?

venkat
2016-09-03 13:08
My hunch is, v0.5 could have mre un-fixed bugs than Gerrit, and we might not get much help from this community if we report issues while using v0.5. But then I'm not sure if Gerrit code has any "stable" tags or atleast closer to creating one such tag.

venkat
2016-09-03 13:09
Any suggestions?

garisingh
2016-09-03 13:11
@venkat - there is a new release being planned (v0.6) for later this month ( @cbf ? ). The v0.5 branch no longer exists in the github mirror. I'd stick with working with the latest for now

venkat
2016-09-03 13:12
Thank Gari - that's what I thought too.

venkat
2016-09-03 13:13
Jut one more question - is HFC/NodeSDK working fine with Gerrit code? We seem to have run into issues.

garisingh
2016-09-03 13:15
are you doing `npm install hfc` ? I have not tried that latently against the master branch, but the SDK code in the master branch appears to be working (I have pushed a fix minor fixes and all my tests are passing)

garisingh
2016-09-03 13:16
what issues are you seeing?

venkat
2016-09-03 13:17
Will ask my devs to post the issue here. We are almost thinking whether we should stick to v0.5 if we have to use nodeSDK. I'm sure that sould not be the case.

garisingh
2016-09-03 13:18
great- can you make sure they post to the #nodesdk channel ?

venkat
2016-09-03 13:18
Sure.

venkat
2016-09-03 13:37
Also, Blumix blockchain seems to be using v0.5. If we code against Gerrit version of fabric, can we still deploy on Bluemix?

matanyahu
2016-09-03 13:54
@garisingh @venkat : do you think that devenv documentation on reathedocs is up to date with regards to the source from which devenv is pulled? I am constantly experiencing issues when deploying devenv environment via vagrant (see logs above for details).

rajeshsubhankar
2016-09-03 14:01
Does anyone experienced exact same issue as https://jira.hyperledger.org/browse/FAB-246

venkat
2016-09-03 14:20
@matanyahu - for some reason, there is no latest tagged base image. However, you can either pull the other base image tagged "x86" etc and re-tag it as "latest" or build the code and it should produce a latest image.

matanyahu
2016-09-03 14:26
@venkat : do you mean line 34 in setup.sh ?

venkat
2016-09-03 14:26
not sure about the line, but regading pulling base image.

matanyahu
2016-09-03 14:35
@venkat : OK, got it, I will wait until the setup fails, log on into vagrant vm, pull the image and rename it

matanyahu
2016-09-03 14:36
@venkat : do you think http://hyperledger-fabric.readthedocs.io is still the most relevant manual for fabric deployments and testing?

ti678
2016-09-03 15:49
has joined #general

matanyahu
2016-09-03 16:03
does anyone know which script actually invokes pulling docker images for hyperledger? Vagrantfile invokes setup.sh. Within setup.sh there is a reference to host.sh. However, in neither file there is an actual operation for pulling relevant images. Within vagrant-provisioned VM I've seen docker.sh which *probably* does this job but I cannot see a link between executables ran by Vagrant and this file. I am obviously missing something.

klaus
2016-09-03 17:01
has joined #general

benjyz
2016-09-03 19:20
has joined #general

ghaskins
2016-09-03 19:30
@matanyahu: it's all in scripts/provision. Host.sh calls docker.sh

ghaskins
2016-09-03 19:30
Iirc

ghaskins
2016-09-03 19:30
Actually scratch that

ghaskins
2016-09-03 19:30
That's how it used to work, now the Makefile calls docker.sh

gmullagu
2016-09-03 23:24
has joined #general

ericjaffe
2016-09-04 00:20
has joined #general

poramin
2016-09-04 07:44
Hi, do we have sawtooth explorer ?

tomoaki
2016-09-04 12:45
hi what is the best way to create dynamic membership by hyperledger ? Personally I like tendermint like round robin type algorithm for developing not-so-fast-tps app

flyingtiger.feihu
2016-09-05 03:29
@poramin Yes, we have. there are many explorers in sawtooth channel. you can join it and have a discussion with them.

flyingtiger.feihu
2016-09-05 03:36
@poramin as @kelly said, "we do have a JS framework to view the blockchain and issue transactions for marketplac we haven't yet submitted it into open source but may be able to provide it in advance if you need it".

poramin
2016-09-05 03:37
@flyingtiger.feihu Thank in advance :slightly_smiling_face:

stylix
2016-09-05 06:50
I have questions about a smart contract. As we know, the definition of a smart contract is the contract that will execute itself when it meets the defined condition. Questions, please correcting my understanding of Hyperledger/Fabric: 1. In the Hyperledger/Fabric, smart contract is the deploying chaincode. 2. The chaincode will be executed only when we deploy/invoke on it. 3. The chaincode is *not* a persistent process that can be run forever on it own. 4. The chaincode is stateless, and impossible to store any temporary value on it. 5. Making a smart contract on the Hyperledger/Fabric means to invoke the function on our customized chaincode by the external caller. e.g. calling the function through REST API, SDK, etc. So, if my understanding is correct, is the chaincode smart?

stylix
2016-09-05 07:02
The scenario for example, we want to transfer money from *A* to *B* at tomorrow 15:00 So, how can we implement a smart contract correctly? Currently, 1. I implemented simple functions, e.g. create_acc() and money_transfer(), then deploy it as a chaincode. 2. Create users *A* and *B* with the initial money. 3. If I want to transfer money at 15:00, I have to call money_transfer() at 15:00. (not smart) 4. The block is then appends to the chain. Can I implement the function that will accept a transaction with a specific contract detail, then the chaincode will execute for me. e.g. Submitting a transaction at 8:00, transfer money from *A*->*B*, exec at 15:00?

bgorman
2016-09-05 07:02
@stylix the chaincode can persist state between invocations... GetState() PutState()

bgorman
2016-09-05 07:05
the time thing is interesting... you could technically write a chaincode that is long-lived and waits until 15:00 to commit

bgorman
2016-09-05 07:05
but it won't be on the blockchain until then

stylix
2016-09-05 07:06
Yes, that is what I think it is smart.

stylix
2016-09-05 07:07
I mean, I just want the value to be store temporary on the chaincode, and when the condition meet, the block is then append to the blockchain.

stylix
2016-09-05 07:08
GetState and PutState will interact with the current state from the blockchain, somehow from the validating node, not from the variable of the chaincode.

stylix
2016-09-05 07:08
If my understanding is correct.

stylix
2016-09-05 07:08
BTW, please correct me if I'm wrong, somewhere

bgorman
2016-09-05 07:08
if the peer doesn't reboot, you could very well let the chaincode sleep until a specific time... maybe even write a temporary file to disk?

bgorman
2016-09-05 07:09
you're pretty free to do what you want in the chaincode

bgorman
2016-09-05 07:09
you could have a "temporary" space on disk (not on the chain) that the peer maintains...

bgorman
2016-09-05 07:10
not sure how you would check it on startup to load those still-pending transactions though... perhaps another type of "startup" invoke

stylix
2016-09-05 07:10
You mean, R/W file? well that's another way

bgorman
2016-09-05 07:10
I take it you're comparing to Ethereum... do you know how it happens in those systems?

stylix
2016-09-05 07:10
BTW, if the chaincode done, it will not be back until I call it from API

stylix
2016-09-05 07:11
I don't know how Etherium works in practical, actually.

bgorman
2016-09-05 07:12
another idea would be you could have a chain for "pending" transactions and a chain for "committed" transactions... then you just need a way to check and commit them at the right time ... perhaps an independent program?

stylix
2016-09-05 07:14
How about, can I implement a kind like event emitter on the chaincode? And this event will be fired, like javascript, e.g. setTimeout ?

stylix
2016-09-05 07:14
That will be interesting, and that's exactly smart contract, probably.

bgorman
2016-09-05 07:14
there are events ... I'm not familiar with them though

bgorman
2016-09-05 07:15
you can definitely invoke one chaincode from another too

stylix
2016-09-05 07:15
You mean, one normal chaincode, and one timer-like chaincode?

stylix
2016-09-05 07:16
and timer chaincode will run indefinitely? kind of?

bgorman
2016-09-05 07:16
as long as the peer doesn't shut down, I think they can run forever, yes

bgorman
2016-09-05 07:17
so you could have a chaincode that accepts a "singleton-timer" function... then a "add-new-timer-task" function

stylix
2016-09-05 07:18
Now sure how heavy load of this chaincode...

stylix
2016-09-05 07:18
Probably while(true) { GetState().... } ?

bgorman
2016-09-05 07:19
that one? a lot put some sleeps in there :slightly_smiling_face:

stylix
2016-09-05 07:19
And can we trust a time of the container?

lbonniot
2016-09-05 07:20
@stylix you might find this one interesting https://golang.org/pkg/time/#Ticker

stylix
2016-09-05 07:20
To be exactly a smart-contract platform, I think this should be with Hyperledger job, actually.

stylix
2016-09-05 07:21
I'm checking...

stylix
2016-09-05 07:24
Well, I will check about Ticker, it must be kind of interesting. But not sure if it will fire at the specific time after I called it within an invoke

stylix
2016-09-05 07:24
BTW, thanks for @bgorman and @lbonniot . Now I have some idea to try.

bgorman
2016-09-05 07:26
good luck :slightly_smiling_face:

bgorman
2016-09-05 07:27
I'm tempted to read up on how Ethereum would work with your example

stylix
2016-09-05 07:28
Me too, not sure how the others work, smartly. Thanks you, again, btw :slightly_smiling_face:

bgorman
2016-09-05 07:28
"smart" is just hand waving for "programming" :smile:

bgorman
2016-09-05 07:29
it's just a matter of who has to do the programming

stylix
2016-09-05 07:31
well, let's embed the 'smart' to each transaction, that's a bit smarter. haha

stylix
2016-09-05 07:34
BTW, can we actually create a variable on the chaincode? I mean local variable, not to use PutState/GetState.

stylix
2016-09-05 07:38
With that, it will let timer works, otherwise I need to go through while(){ sleep... } which will may caused the whole chain sleep, and may caused some negative affects about synchronization....

stylix
2016-09-05 07:38
BTW, just ask, I'm trying my side..

bgorman
2016-09-05 07:42
@stylix when you're writing your chaincode (e.g. in Go) you can do pretty much whatever you like locally

bgorman
2016-09-05 07:43
so `var <name> <type>` to make local variables

lbonniot
2016-09-05 07:45
@bgorman are these variables conserved between queries / invokes / reboots? And if we use local files, are they kept in the container between peer restarts? If yes, that's pretty cool :slightly_smiling_face:

bgorman
2016-09-05 07:47
no, they're not, they're local

bgorman
2016-09-05 07:47
file between restarts? I guess that might work

bgorman
2016-09-05 07:48
if you want variables to persist between queries/invokes/reboots then you should use PutState() :slightly_smiling_face:

bgorman
2016-09-05 07:48
save them to some specially named key that won't be used otherwise

lbonniot
2016-09-05 07:49
thanks, I'm just working on something that might need each endorsing peer to hold different (secret) data, so files could be the answer :wink:

bgorman
2016-09-05 07:49
(not you can't PutState in a query)

bgorman
2016-09-05 07:49
@lbonniot sounds like a plan, just make sure your peers don't get their disks wiped :slightly_smiling_face:

bgorman
2016-09-05 07:49
or keep them in another blockchain I guess

lbonniot
2016-09-05 07:50
sure!

stylix
2016-09-05 07:56
When I first trying to learn Go, that's the same time when I'm trying to understand Hyperledger :stuck_out_tongue: Well, just to confirm some understanding, A deployed chaincode actually run forever with shim.start() to listen on the gRPC from the validating peer. And we can create any local variable on our chaincode_xxx.go, which will be persistent as just a normal process. And storage, is to keep it persistent after reboot, etc.

stylix
2016-09-05 07:57
I see, thanks, I'm trying, will see the result..

bgorman
2016-09-05 08:00
the chaincodes actually run as their own docker container inside hyperledger/fabric... thinking about it I'm not sure how persistent their disks are

bgorman
2016-09-05 08:00
so deploying a chaincode really starts up a new container

stylix
2016-09-05 08:00
I think we cannot mount the external volume on the chaincode container, at least this version...

bgorman
2016-09-05 08:01
the chaincodes also run on each peer... so if something is derived from a local file on disk, your other peers might not have it and might not reach consensus

bgorman
2016-09-05 08:01
sounds like an interesting thing to try out

stylix
2016-09-05 08:05
Yes, interesting, at least some kind of value need not to be stored in the chain. Btw, a bit complicate, if the system shutdown... Thinking about the better way..

zhangke
2016-09-05 08:06
has joined #general

stylix
2016-09-05 08:08
Can we send the data to peer, which has the attachable volume? In that case, peer can store the data locally, and can send the data back to the chaincode when it need to be recovered.

stylix
2016-09-05 08:09
But I think, peer does not have this ability this time.

stylix
2016-09-05 08:10
... just my first randomized idea.

bgorman
2016-09-05 08:15
If it affects the block chain then all peers would need that data

crawlem
2016-09-05 10:04
has joined #general

rvaughan
2016-09-05 10:50
has joined #general

hoshino
2016-09-05 11:20
has joined #general

duncanjw
2016-09-05 12:46
Which channel would you recommend for discussing deploying / managing blockchain networks? Specifically the work we’ve been doing which was featured here - https://developer.ibm.com/blockchain/2016/08/03/running-hyperledger-fabric-on-ibm-blue-box-with-cloudsoft-amp/

viking1
2016-09-05 12:50
has joined #general

muralisr
2016-09-05 12:51
@duncanjw “fabric” seems appropriate

imas
2016-09-05 12:54
has joined #general

sviehrig-de.ibm.com
2016-09-05 13:01
has joined #general

duncanjw
2016-09-05 13:08
@muralisr thx

vriffier
2016-09-05 13:50
has joined #general

courtnayguima
2016-09-05 15:04
has joined #general

zemtsov
2016-09-05 16:20
Hello, I'm trying to start a node with security enabled and getting this error: `[rpc error: code = 2 desc = "grpc: the client connection is closing"]` Can anyone help me to find out what I missed?

garisingh
2016-09-05 16:48
@zemtsov - do you have a membersrvc node running and is your peer configured to point at it?

zemtsov
2016-09-05 16:51
I think I have only one node running. I followed this tutorial to build and start it: https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md

garisingh
2016-09-05 17:05
Assuming that you are really looking to be able to develop and test chaincode, you might want to have a look at http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/ You'll see some example Docker Compose files like the one below for running a single peer with a membersrvc node as well (membersrvc is needed when enabling security) ``` membersrvc: image: hyperledger/fabric-membersrvc ports: - "7054:7054" command: membersrvc vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7053:7053" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev" ```

zemtsov
2016-09-05 17:07
thank you! I'll read it and try to start all required services

mint
2016-09-05 17:52
hi, everyone, I have a question. We know that fabric rest api is based on swagger. And so I am using swagger client generator to generate client sdk for golang. The generated code looks seems good, but can't be use. ```"ConfidentialityLevel":{ "type": "string", "default": "PUBLIC", "example": "PUBLIC", "enum":[ "PUBLIC", "CONFIDENTIAL" ], "description": "Confidentiality level of the Chaincode." },```

mint
2016-09-05 17:53
ConfidentialityLevel will be generated as ``` /*ConfidentialityLevel Confidentiality level of the Chaincode. swagger:model ConfidentialityLevel */ type ConfidentialityLevel string // for schema var confidentialityLevelEnum []interface{} func (m ConfidentialityLevel) validateConfidentialityLevelEnum(path, location string, value ConfidentialityLevel) error { if confidentialityLevelEnum == nil { var res []ConfidentialityLevel if err := json.Unmarshal([]byte(`["PUBLIC","CONFIDENTIAL"]`), &res); err != nil { return err } for _, v := range res { confidentialityLevelEnum = append(confidentialityLevelEnum, v) } } if err := validate.Enum(path, location, value, confidentialityLevelEnum); err != nil { return err } return nil } // Validate validates this confidentiality level func (m ConfidentialityLevel) Validate(formats strfmt.Registry) error { var res []error // value enum if err := m.validateConfidentialityLevelEnum("", "body", m); err != nil { return err } if len(res) > 0 { return errors.CompositeValidationError(res...) } return nil } ```

mint
2016-09-05 17:54
but vp will get ```[rest] ProcessChaincode -> ERRO 04f Error unmarshalling chaincode request payload: json: cannot unmarshal string into Go value of type protos.ConfidentialityLevel ``` Is there a solution to avoid the bug?

mint
2016-09-05 18:05
I registered an account in https://jira.hyperledger.org, but it seems avoid me to login. And GitHub can not open a issue, make me creazy

mcampora
2016-09-05 20:13
has joined #general

bgorman
2016-09-05 22:40
@mint you need to register here https://identity.linuxfoundation.org

chainsaw
2016-09-06 00:02
@chainsaw uploaded a file: https://hyperledgerproject.slack.com/files/chainsaw/F28E2SCTF/screen_shot_2016-09-05_at_6.59.55_pm.png and commented: Any participation and or ideas for future technical sessions I can facilitate are welcome. Maybe get some real feedback the emerging community?

chainsaw
2016-09-06 00:03
They are the same and Austin Hyperledger is new.

rabuckley
2016-09-06 01:26
has joined #general

mint
2016-09-06 02:18
@bgorman thks, I can create issue now.

bgorman
2016-09-06 02:26
@mint you are welcome and that's great :)

jsong
2016-09-06 03:08
has joined #general

tuanba1
2016-09-06 04:01
has joined #general

lserafin
2016-09-06 05:41
has joined #general

heshansp
2016-09-06 05:57
has joined #general

heshansp
2016-09-06 06:05
Hi guys, is there any documentation around how to spawn a Non Validating Peer please? I am trying to spawn a Non Validating Peer to communicate with a four peer network and so far not a lot of luck….

bgorman
2016-09-06 06:29
@heshanp is it not the same as when you run a normal peer, except set CORE_PEER_VALIDATOR_ENABLED=false (or equivalent in a peer/core.yaml)?

heshansp
2016-09-06 06:35
@bgorman: Exactly my understanding as well so far but how is it going to communicate with a given validator? Can I invoke a function in the NVP using CLI? I can't get these to work.

bgorman
2016-09-06 06:39
it communicates the same way as the other peers, over gRPC, and I think it talks directly to whichever peer you specified as CORE_PEER_DISCOVERY_ROOTNODE

bgorman
2016-09-06 06:40
I seem to be able to invoke CLI commands on my NVP vagrant@hyperledger-devenv:v0.0.10-84431e3:/hyperledger$ CORE_PEER_ADDRESS=172.17.0.6:7051 peer network list {"Peers":[{"ID":{"name":"vp1"},"address":"172.17.0.3:7051","type":1},{"ID":{"name":"vp0"},"address":"172.17.0.2:7051","type":1},{"ID":{"name":"vp2"},"address":"172.17.0.4:7051","type":1},{"ID":{"name":"vp3"},"address":"172.17.0.5:7051","type":1}]} note that .6 is not part of the peer network list

heshansp
2016-09-06 06:40
So does a NVP get a copy of the chaincode? I guess thats a no...

bgorman
2016-09-06 06:40
no, it wouldn't need it

heshansp
2016-09-06 06:41
So how will it validate the request coming through CLI please? Does it run its own GO code with a main func?

bgorman
2016-09-06 06:42
my understanding is that NVPs get a copy of the current blockchain state (e.g. a rocksDB) to handle `query` requests... anything else gets sent to a VP

bgorman
2016-09-06 06:43
hmm... query would need the chaincode

bgorman
2016-09-06 06:43
let me spin up some chaincode :slightly_smiling_face:

stylix
2016-09-06 06:44
In my case, there is no block in NVP, and I can query only from VP.

stylix
2016-09-06 06:46
Not sure if I missed some parameter, but it happens

bgorman
2016-09-06 06:47
definitely not got any chaincode running on my NVP

heshansp
2016-09-06 06:49
Hmmmmmm interesting... So how exactly is the NVP signing the transaction before sending to the VP?

bgorman
2016-09-06 06:50
signing?

heshansp
2016-09-06 06:51
Oh I mean adding the security metadata

bgorman
2016-09-06 06:51
@stylix I seem to be able to query my NVP, get the same results as the VPs

bgorman
2016-09-06 06:52
I can even invoke on the NVP

bgorman
2016-09-06 06:53
@heshansp sorry, not sure what or if the NVP adds to the requests on the way to the VP

bgorman
2016-09-06 06:53
my NVP is definitely not handling the chaincode side of things ... the logs just show a transaction ID and nothing else

bgorman
2016-09-06 06:53
06:51:23.490 [devops] invokeOrQuery -> INFO 010 Transaction ID: 91b42ce4-29d3-4a7a-b2f1-26e20d199f4f 06:51:29.825 [devops] invokeOrQuery -> INFO 011 Transaction ID: 371f5582-d4df-435c-9e70-aece9a63d490 06:51:51.411 [devops] invokeOrQuery -> INFO 012 Transaction ID: 95417023-06ea-49c2-b3be-0186fb4e5621 06:51:54.014 [devops] invokeOrQuery -> INFO 013 Transaction ID: e8a958e0-3c87-4cce-920a-1ee71ab7fe5b

bgorman
2016-09-06 06:54
whereas my VP has a whole bunch of rest / devops / consensus logs as well

bgorman
2016-09-06 06:54
06:47:17.894 [rest] ProcessChaincode -> INFO 03c REST successfully query chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"99"},"id":0} 06:51:20.797 [devops] invokeOrQuery -> INFO 03d Transaction ID: 9ed46def-2ddf-4b87-9d1a-34c7ce950d63 06:51:52.414 [consensus/pbft] ProcessEvent -> INFO 03e Replica 0 batch timer expired 06:51:52.414 [consensus/pbft] sendBatch -> INFO 03f Creating batch with 1 requests 06:51:52.429 [consensus/pbft] executeOne -> INFO 040 Replica 0 executing/committing request batch for view=0/seqNo=4 and digest uKRPmdaugfUjqHBtSoegxP1N/BeGojpNZ+3Y7ZDM9Uheh48GXa/zHzVFOrx2/5BfHKMIA8QTXd6qk4dGncabAA== 06:51:52.456 [consensus/pbft] execDoneSync -> INFO 041 Replica 0 finished execution 4, trying next 06:51:58.113 [devops] invokeOrQuery -> INFO 042 Transaction ID: 059680e5-c391-42a4-8890-57077d4ed171

heshansp
2016-09-06 06:57
@bgorman I was referring to this example here... https://github.com/hyperledger/fabric/tree/master/examples/chaincode/go/asset_management/app where the NVP adds the security metadata to the transaction which gets validated by the VP.

abhishekseth
2016-09-06 06:57
Hey all, I am running in “non-dev” environment. Therefore, I need to give the url to the chaincode in the “path”. But most of the tym, I get this error which is very frustrating. { "jsonrpc": "2.0", "error": { "code": -32001, "message": "Deployment failure", "data": "Error when deploying chaincode: Error getting chaincode package bytes: Error getting code Getting chaincode took too long" }, "id": 1 } Anyone having any clue of it?

bgorman
2016-09-06 07:01
@abhishekseth you could try increasing the `chaincode.deploytimeout` setting...?

stylix
2016-09-06 07:01
@bgorman How could you query on NVP? What I did is actually through REST, and I have nothing on it.

bgorman
2016-09-06 07:02
it looks like it's running `go get` on your chaincode package and has a timeout occurring

bgorman
2016-09-06 07:02
@stylix I'm using the CLI - `CORE_PEER_ADDRESS=172.17.0.6:7051 peer chaincode query -c '"function":"query", "args":["a"]'`

bgorman
2016-09-06 07:02
.6 is my NVP

bgorman
2016-09-06 07:03
the actual query seems to be handled by the VP still

stylix
2016-09-06 07:03
Umm, strange. It should not be different. I will try it with CLI, then.

bgorman
2016-09-06 07:04
@abhishekseth looks like that timeout is 30s by default ... if your network is slow or your chaincode large, that might not be enough

abhishekseth
2016-09-06 07:23
@bgorman , okk.. i will try increasing it.

abhishekseth
2016-09-06 07:26
Hiii, How do we make sure whether Attribute certificate authority is running properly or not? What kind of logging we get on terminal after enabling this? In my docker-compose.yml file, I did - MEMBERSRVC_CA_ACA_ENABLED=true

heshansp
2016-09-06 07:37
So guys I'm still not sure about how a NVP is going to validate a request if the only thing it does is pass on the message to the validating peer.

bgorman
2016-09-06 07:40

heshansp
2016-09-06 07:41
Yes sir....

bgorman
2016-09-06 07:41
that looks like it's a stand-alone app that runs and interacts with the NVP

bgorman
2016-09-06 07:42
I don't see the bit that says the NVP does validation

heshansp
2016-09-06 07:42
Interacts? Hmmmmmm I thought the app initiates the NVP... Isn't that what main function is doing?

bgorman
2016-09-06 07:43
ah you're right, the app acts as an NVP

bgorman
2016-09-06 07:43
submitting things to the VP

heshansp
2016-09-06 07:43
Exactly!!

heshansp
2016-09-06 07:43
So that's the one I'm after.... Because I have a very similar usecase...

heshansp
2016-09-06 07:46
So in a scenario like this, is there a way for CLI to interact with the app? Would the REST API still work?

bgorman
2016-09-06 07:47
do you mean use the `peer` CLI to interact with the asset_management app?

heshansp
2016-09-06 07:47
Hmmmmmm yes.....

heshansp
2016-09-06 07:48
Is that even possible?

bgorman
2016-09-06 07:50
sorry, I'm not sure

bgorman
2016-09-06 07:50
it would depend on what the app implements really

heshansp
2016-09-06 07:53
So my dilemma is that my chaincode expects security metadata just like the asset management chaincode here.... Without a NVP executing the transaction I have no way of adding the metadata to the request...

bgorman
2016-09-06 08:12
do the VPs not embed the same meta data?

andriian
2016-09-06 09:01
has joined #general

pushpalatha
2016-09-06 09:32
AnyOne know where the logs go when we log something in our code using op/logging ? In earlier versions we used to see that on register chain code console...

andriian
2016-09-06 09:49
Hello, Does anyone know the way to debug Go chaincode with some IDE (for ex. LineIDE) ? I mean the possibility set breakpoints, use "Step over", "Step into", etc. Should a local peer be set up for that or is it possible with Bluemix environment?

garisingh
2016-09-06 10:14
I've used LiteIDE to do this

mint
2016-09-06 10:17
@andriian: just use fmt,log package, can also debug chaincode

donnieg
2016-09-06 12:46
print out the value where you want to 'debug'

hgabor
2016-09-06 12:49
as I know there are some useful debuggers https://blog.cloudflare.com/go-has-a-debugger-and-its-awesome/

hgabor
2016-09-06 12:49
I also use fmt and log but I must admit that there are more adequate methods than that

donnieg
2016-09-06 12:49
:grin:

matanyahu
2016-09-06 12:56
I am currently working on a practical use for Hyperledger Fabric where the blockchain would become a single instance of knowledge about assets which would be used for a more effective analysis by external analytical mechanisms. I will make three major assumptions about the data and the process related to this use for clarity: (1) The Fabric network would be capable of sending and receiving data from/to outside world through API and chaincode. (2) Data source from which some date would interact with blockchain would be provided in a standardized format with exactly the same kind of information residing in fixed locations across databases. (3) Whatever changes happen in account A, they will also be reflected by changes in account B, although both accounts may not necessarily be aware of each other. Within the blockchain network, they would be two completely separate entities with separate tCerts issued to change their state. An example would be a simple accounting excercise where payment of 50USD from A to B would mean that A would incur a change of -50USD in their books, whereas B would incur a change of +50USD in their books. With that in mind, I will describe the subject-matter of my problem described below: One of crucial aspects related to the solution is the kind of information and its format that can be reasonably retained within the blockchain without impacting its performance, scalability and security. I am currently analyzing different approaches to data processing by taking into account Fabric's main features, such as Consensus, Provenance, Finality and Immutability. However, I want to make sure that I do not step on a landmine I would not be able to defuse once it's too late. Therefore, I am taking an assumption that: (a) the Blockchain should not be considered as an equivalent to a database. It can rather be compared to the ledger (b) Therefore, it should not be used for amounts and types of data typical to relational databases (RDBMS), unstructured databases (NOSQL/Hadoop) or data warehouses. This means that real data should be kept (conserved) in a structured format on an external (central) database. Here, blockchain's role could possibly be used as: - a hash list proving existence of an immutable piece of data - an archive for some particular entries extracted from a external database(s) used for reconciliation of conflicting information between various data sources - a ledger grouping some variables extracted from central database(s) under a single (unique) account with a possibility of tracing changes horizontally (cross-comparison with other accounts) and vertically (changes across time within a single account). Vertical tracing (changes within a single account) would be possible through a clustered analysis of tCerts provided by the CA to sign new transactions Can someone please confirm, correct, append or deny abovementioned assumptions? p.s. Although there is a possibility to perform vertical tracing with tCerts, I find no possibility to have clustered analysis made horizontally (i.e. across accounts). Here I need to assume that external analytical tools would have to be used to take all tCerts and compare their changes one against another.

matanyahu
2016-09-06 13:03
Otherwise, can someone please direct me to a documentation that describes: (a) how data is stored and structured within PBFT-consensus-driven blockchain and (b) how blockchain data is persistent if peers are based on Docker images.

mint
2016-09-06 13:33
Is there a pure utxo model chaincode demo?

mint
2016-09-06 13:34
farbic examples has a bitcoin utxo model

hgabor
2016-09-06 13:34
examples / ... utxo ?

hgabor
2016-09-06 13:34
yeah, it uses bitcoin related files

mint
2016-09-06 13:39
more pure utxo?

mint
2016-09-06 13:41
In order to read the bitcoin utxo model example, I read txscript package from btcd, so hard to understand.

mint
2016-09-06 13:41
So I wonder is there a more pure example

mint
2016-09-06 13:54
I reported an issue: https://jira.hyperledger.org/browse/FAB-307, please checkout

hgabor
2016-09-06 13:55
I do not think there is more

pbottein
2016-09-06 14:43
I have a question: when a new peer arrive on the network, how does the sync work for blocks and transactions? Is this new peer capable to query and invoke on previously deployed chaincode (if we have the chaincodeID)?

hgabor
2016-09-06 14:44
as I know, chaincode is synched

bfuentes
2016-09-06 14:51
A new peer will synchronize all blocks , it means chaincode and transaction to have a 'state' actualized locally ;o)

bfuentes
2016-09-06 14:51
Does anyone hear about this : http://iotatoken.com ?

bfuentes
2016-09-06 14:52
An acyclic directed graph (MerkleTree) without mining

hgabor
2016-09-06 14:54
sounds interesting

mint
2016-09-06 14:54
a blockchain of things?

ashnur
2016-09-06 14:54
there was a mention of it on the new your blockchain conference ~2 weeks ago


hgabor
2016-09-06 15:03
something different but also interesting: https://zeronet.io/

hgabor
2016-09-06 15:04
I guess I am the only one who haven't heard of that before :slightly_smiling_face:

bfuentes
2016-09-06 15:04
blockchin of whatever in fact

markparz
2016-09-06 15:36
I created #playbacks channel in slack, for folks that want to do playbacks on their recent work. There is a group of folks working on the ledger, that did some charts and a video playback, which is awesome. Just a 2 min video, or written explanation works well too. There will be more coming soon and regularly. If there is a google drive or different location that we should post these let me know, else will use slack for now as they code is churning quickly so long term storage is probably not an issue.

rajeshsubhankar
2016-09-06 15:41
Is there anything similar to docker-compose.yaml to start multiple peers in vagrant environment ?

2016-09-06 16:08
Jonathan Levi commented >>>lf-sandbox (feature/convergence): Patch Set 1: Code-Review+1 (1 comment) Well said Luis! (http://gerrit.hyperledger.org/r/753)

susanto
2016-09-06 16:11
has joined #general

2016-09-06 18:21
Ramesh Babu proposed >>>ci-management (master): FAB-277 enable ci setup on power node (http://gerrit.hyperledger.org/r/845)

2016-09-06 18:21
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 3: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/227/ (http://gerrit.hyperledger.org/r/845)

2016-09-06 18:21
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 3: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/227/ : SUCCESS (http://gerrit.hyperledger.org/r/845)

2016-09-06 18:28
Srirama Sharma commented >>>ci-management (master): Patch Set 2: (7 comments) Info on ARCH and other details. In addition have few suggestions/queries. Please have a look. (http://gerrit.hyperledger.org/r/845)

2016-09-06 19:02
Ry Jones commented >>>ci-management (master): Patch Set 3: Code-Review-1 (2 comments) (http://gerrit.hyperledger.org/r/845)

heshansp
2016-09-06 20:33
Hi guys is there a way to retrieve a tcert of a user from CLI please?

garisingh
2016-09-06 20:57
@heshansp - what exactly are you trying to do?

heshansp
2016-09-06 21:02
Well my chaincode requires security metadata to be added to the transaction for security and confidentiality purposes.

alung
2016-09-06 21:02
has joined #general

heshansp
2016-09-06 21:03
I am trying to see whether there is a way to do this without creating an app like in asset management example

wendall
2016-09-06 21:06
has joined #general

heshansp
2016-09-06 21:31
@garisingh: do you happen to know a better way to do this please? I also have a Web app which communicates with the chaincode through a rest api. I can't think of a way to make it work.

szlaci83
2016-09-06 21:52
Hi guys, can anyone tell me any useful info about auditors, I couldnt find much in docs. (The way they can audit the ledger etc.....)

2016-09-06 21:58
Ramesh Babu proposed >>>ci-management (master): FAB-277 enable ci setup on power node (http://gerrit.hyperledger.org/r/845)

2016-09-06 21:58
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 4: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/228/ (http://gerrit.hyperledger.org/r/845)

2016-09-06 21:58
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 4: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/228/ : SUCCESS (http://gerrit.hyperledger.org/r/845)

titocastro
2016-09-06 23:34
has joined #general

gdavideh
2016-09-07 01:19
has joined #general

christophera
2016-09-07 01:22
We have no presenters available for tomorrow’s Hyperledger Identity WG Meeting (normally biweekly at 12pm ET / 9am PT), so I’m cancelling the meeting. I guess it is too close to summer vacations and the US Labor Day holiday. In two weeks, on Wednesday, August 21st, Mic Bowman of Intel will be giving us an update on the architecture of Hyperledger Sawtooth’s EPR (End Point Registry), also at 12pm ET (9am PT). As always, information on scheduled WG meetings are in the Hyperledger Wiki is at https://github.com/hyperledger/hyperledger/wiki/PublicMeetingCalendar — notes and recordings of Hyperledger Identity WG prior meetings are also in the Wiki at https://github.com/hyperledger/hyperledger/wiki/Identity-WG.

stylix
2016-09-07 01:49
For those who want to try out Hyperledger Fabric under Docker Swarm 1.12, I published a quick solution how to play on it. It's not a one click solution, it's not official, it's just an idea how to go over the problem running at scale. https://github.com/stylixboom/param_daemon

anwenzel
2016-09-07 01:51
has joined #general

fango
2016-09-07 02:27
has joined #general

aldenc
2016-09-07 02:33
has joined #general

kenmazsyma
2016-09-07 03:08
has joined #general

jin
2016-09-07 04:30
has joined #general

rickystef
2016-09-07 04:44
Is antshares a part of hyperledger? I read they have proposed to collaborate. Any news on this?

bgorman
2016-09-07 05:32
@rickystef I have no idea what Antshares is but there is a proposal related to it here: https://github.com/hyperledger/hyperledger/wiki/Proposals

bgorman
2016-09-07 05:33
there's also a bit about it on the [Hyperledger Project TSC] mailing list

zhangsong
2016-09-07 06:27
has joined #general

mbwhite
2016-09-07 07:24
has joined #general

jchenibm
2016-09-07 09:06
@bgorman @rickystef Antshares is a bitcoin/blockchain startup company in China. They are a member of HL now.

andriian
2016-09-07 10:00
Hi Yesterday I asked about debugging and got some answerd from @garisingh, @mint , @donnieg, @hgabor. Thank you for that. It helped to improve my development process. However it is still not ideal. Let me explain more precisely what I really would like to have: Ideally, I would like to be able to run debug for Go chaincode in my IDE (like LiteIDE for ex) and be able to use some standard features: breakpoints in the code, Step Into & Step Over commands, watch variables as any step, etc. Currently, if I do that in LiteIDE get error "peer.address not configured, can't connect to peer" somewhere in the err := shim.Start(new(SimpleChaincode)) of the main() function. Is there a way to avoid that error by some config changes or something? Or set up debug in any other way?

mdenavacc
2016-09-07 10:04
has joined #general

2016-09-07 10:27
Christopher Ferris commented >>>lf-sandbox (feature/convergence): Patch Set 1: Verified+1 (http://gerrit.hyperledger.org/r/753)

abhishekseth
2016-09-07 10:34
Hey, all.. I am running in non-dev mode. To deploy chaincodes via REST API, I needed to give the URL to the chaincode which is kept in some public repository. But the problem is that if there are some packages imported in that chaincode file, It throws error like: `Error when deploying chaincode: Error getting chaincode package bytes: Error getting code 'go get' failed with error: \"exit status 1\"\npackage http://github.com/hyperledger/fabric/op/go-logging: cannot find package \"http://github.com/hyperledger/fabric/op/go-logging\" in any of:\n\t/opt/go/src/github.com/hyperledger/fabric/op/go-logging (from $GOROOT)\n\t/opt/gopath/_usercode_/193600567/src/github.com/hyperledger/fabric/op/go-logging (from $GOPATH)\n\t/opt/gopath/src/github.com/hyperledger/fabric/op/go-logging\n`

abhishekseth
2016-09-07 10:35
where `http://github.com/hyperledger/fabric/op/go-logging` is the package it is unable to find.

abhishekseth
2016-09-07 10:35
any help is highly appreciated.

2016-09-07 10:50
Christopher Ferris commented >>>ci-management (master): Patch Set 4: Code-Review+1 (http://gerrit.hyperledger.org/r/845)

dselman
2016-09-07 10:51
has joined #general

jakub.fijolek
2016-09-07 11:53
has joined #general

gnsortino
2016-09-07 12:07
Hi All - I'm following the network setup instructions http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Network-setup/ to run multiple peers on a single VM (setup via Vagrant) and I was just wondering how the peer node decides which core.yaml file to read when it is launched? In other words when launching a peer node via the "docker run ... hyperledger/fabric-peer" command what is the search path for determining the core.yaml file to read configuration from. Kind Regards, Graham

garisingh
2016-09-07 12:16
@gnsortino - the peer image itself contains the core.yaml file. So technically if you start multiple peer containers they are actually using identical configurations. Right now, there is no externally mounted volume to pick up a different core.yaml per container instance. The simplest thing to do is to actually use something like Docker Compose and then override per container settings for core.yaml using environment variables - e.g. ``` membersrvc: image: hyperledger/fabric-membersrvc ports: - "7054:7054" command: membersrvc vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7053:7053" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev" ```

gnsortino
2016-09-07 12:23
@garisingh Thank you. Just to make sure I understand correctly... if I use docker compose all settings will default from the core.yaml file associated with the docker image but I can override core.yaml settings using the docker-compose.yml file?

garisingh
2016-09-07 12:24
yeah - the `environment` section will allow per container instance override - so for example you can give each peer container a different `CORE_PEER_ID`,`CORE_SECURITY_*`

gnsortino
2016-09-07 12:24
cheers. I think I understand this now. Many thanks again

garisingh
2016-09-07 12:25
the naming of environment variables is to use `CORE_` as the prefix and then just capitalize any parameter from the core.yaml and replace `.` with `_`

2016-09-07 12:26
Gari Singh commented >>>lf-sandbox (feature/convergence): Patch Set 1: at times like this best to say nothing (http://gerrit.hyperledger.org/r/753)

felixa
2016-09-07 12:29
has joined #general

2016-09-07 13:01
Ramesh Babu proposed >>>ci-management (master): FAB-277 enable ci setup on power node (http://gerrit.hyperledger.org/r/845)

2016-09-07 13:01
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 5: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/229/ (http://gerrit.hyperledger.org/r/845)

2016-09-07 13:01
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 5: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/229/ : SUCCESS (http://gerrit.hyperledger.org/r/845)

stephanbaur
2016-09-07 13:34
has joined #general

2016-09-07 14:18
Gabor Hosszu commented >>>lf-sandbox (feature/convergence): Patch Set 1: Code-Review+2 (http://gerrit.hyperledger.org/r/753)

2016-09-07 14:19
Gabor Hosszu commented >>>lf-sandbox (feature/convergence): Patch Set 1: Did you push to the feature/convergence branch of lf-sandbox? (http://gerrit.hyperledger.org/r/753)

echenrunner
2016-09-07 15:16
has joined #general

lgrace896
2016-09-07 15:22
has joined #general

2016-09-07 15:26
Christopher Ferris merged >>>lf-sandbox (feature/convergence): I don't know what to say. (http://gerrit.hyperledger.org/r/753)

anastasia.paterson
2016-09-07 15:34
has joined #general

jeffgarratt
2016-09-07 16:39
@rajeshsubhankar wrt to docker-compose.yml.... yes, docker-compose-4-batch.yml is a standard config for starting a 4 peer ndetwork with PBFT batch consensus and a memberservice instance. These files are in fabric/bddtests

rajeshsubhankar
2016-09-07 16:44
@jeffgarratt Thanks a lot.

jeffgarratt
2016-09-07 16:44
yw

rjvanzanten
2016-09-07 17:35
has joined #general

donna-dillenberger
2016-09-07 17:38
has joined #general

tdietter
2016-09-07 17:41
make peer

capaez
2016-09-07 18:06
has joined #general

2016-09-07 18:39
Mahesh Gutala proposed >>>blockchain-explorer (master): Initial commit (http://gerrit.hyperledger.org/r/761)

2016-09-07 18:42
Mahesh Gutala commented >>>blockchain-explorer (master): Patch Set 6: Made changes. Please review. (http://gerrit.hyperledger.org/r/761)

anarayan
2016-09-07 19:10
has joined #general

vzhou
2016-09-07 19:45
has joined #general

robert_vieira
2016-09-07 20:35
has joined #general

echenrunner
2016-09-07 23:55
can someone explain 16:11:54.293 [shim] DEBU : [c99c1dd2]Received message QUERY from shim 16:11:54.294 [shim] DEBU : [c99c1dd2]Handling ChaincodeMessage of type: QUERY(state:ready) 16:11:54.295 [shim] DEBU : [c99c1dd2]Sending GET_STATE 16:11:54.309 [chaincode] func1 -> ERRO 04f [c99c1dd2]Got error (Decryption failed.) while decrypting. Sending ERROR 16:11:54.309 [shim] DEBU : [c99c1dd2]Received message ERROR from shim

sanjay
2016-09-08 01:22
has joined #general

mint
2016-09-08 01:29
@echenrunner so many possibilities, you can print some log to locate the error

xiejunan
2016-09-08 01:52
has joined #general

gucc1
2016-09-08 02:28
has joined #general

mizukisonoko
2016-09-08 02:29
has joined #general

2016-09-08 03:16
Baohua Yang commented >>>blockchain-explorer (master): Patch Set 6: Code-Review+1 (http://gerrit.hyperledger.org/r/761)

bgorman
2016-09-08 03:23
what's with the gerrit bot being in #general?

bgorman
2016-09-08 03:24
is it because it hasn't been configured for the new projects ... unlike fabric and #fabric-ci-status?

baohua
2016-09-08 03:46
strange...

yonezu
2016-09-08 04:57
has joined #general

5cotty
2016-09-08 07:37
has joined #general

matshank
2016-09-08 08:17
has joined #general

kh2se2013
2016-09-08 08:19
has joined #general

echenrunner
2016-09-08 09:11
There are two DEPLOY in this example, zVMuser01 and zVMuser02. Afte r I deploy zVMuser01, I will QUERY(zVMuser01) get output from the query. I then DEPLOY it again for zVMuser02 and it does not get deployed as you can see in the log. To get DEPLOY it again, you will see a KILLED of the chaincode EBS. I then re-started again, and now I DEPLOY zVMuser02 with SUCCESS. Now I QUERY zVMuser02 with SUCCESS but when I query zVMuser01 I got Decryption failure 16:11:54.293 [shim] DEBU : [c99c1dd2]Received message QUERY from shim 16:11:54.294 [shim] DEBU : [c99c1dd2]Handling ChaincodeMessage of type: QUERY(state:ready) 16:11:54.295 [shim] DEBU : [c99c1dd2]Sending GET_STATE [31m16:11:54.309 [chaincode] func1 -> ERRO 04f [0m [c99c1dd2]Got error (Decryption failed.) while decrypting. Sending ERROR 16:11:54.309 [shim] DEBU : [c99c1dd2]Received message ERROR from shim { "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID":{ "name":"mycc" }, "ctorMsg": { "function":"init", "args":["zVMuser02", "Kfd100", "/home/sysadmin/MyDocu"] }, "secureContext": "jim" }, "id": 1 } { "jsonrpc": "2.0", "method": "query", "params": { "type": 1, "chaincodeID":{ "name":"mycc" }, "ctorMsg": { "function":"query", "args":["zVMuser01"] }, "secureContext": "jim" }, "id": 5 }

hgabor
2016-09-08 09:13
let me grep that error message

hgabor
2016-09-08 09:15
could you set all logging levels to debug? in core.yaml somewhere under logging, e.g. chaincode: debug

garisingh
2016-09-08 10:20
@echenrunner - you are trying to deploy 2 different instances of the chaincode using the same name (`mycc`)

garisingh
2016-09-08 10:21
this will be problematic as each chaincode must have a unique name

garisingh
2016-09-08 10:22
the question I have is are we really trying to run separate chaincode instances or do you want to be able to store the data for both `zVMuser01` and `zVMuser02` in the same instance of chaincode?

2016-09-08 10:55
Christopher Ferris commented >>>blockchain-explorer (master): Patch Set 6: Code-Review+1 LGTM thanks (http://gerrit.hyperledger.org/r/761)

2016-09-08 10:58
Gabor Hosszu commented >>>blockchain-explorer (master): Patch Set 6: (3 comments) (http://gerrit.hyperledger.org/r/761)

prateekgo
2016-09-08 11:38
has joined #general

2016-09-08 11:45
Satheesh Kathamuthu commented >>>blockchain-explorer (master): Patch Set 6: Code-Review+1 Verified+1 (1 comment) (http://gerrit.hyperledger.org/r/761)

2016-09-08 11:45
Satheesh Kathamuthu commented >>>blockchain-explorer (master): Patch Set 6: Code-Review+2 (http://gerrit.hyperledger.org/r/761)

2016-09-08 11:45
Satheesh Kathamuthu commented >>>blockchain-explorer (master): Patch Set 1: Verified+1 (http://gerrit.hyperledger.org/r/731)

2016-09-08 12:38
Satheesh Kathamuthu merged >>>blockchain-explorer (master): Initial commit (http://gerrit.hyperledger.org/r/761)

2016-09-08 12:38
Satheesh Kathamuthu merged >>>blockchain-explorer (master): Add README.md (http://gerrit.hyperledger.org/r/731)

2016-09-08 12:56
Satheesh Kathamuthu commented >>>blockchain-explorer (master): Patch Set 6: Submitting this chance, as this is only the initial commit, and minor things can be fixed with follow up requests. (http://gerrit.hyperledger.org/r/761)

tcnthomas
2016-09-08 13:09
has joined #general

adrianosnow
2016-09-08 13:40
has joined #general

xinlinw
2016-09-08 13:57
has joined #general

danielkadamsjr
2016-09-08 14:33
has joined #general

echenrunner
2016-09-08 15:12
Hi Garisignh, I'm trying to store data for both zVMuser1 and 2. I also set DEBUG and the output is very large. Are you also saying zVMuser01 run chaincode "mycc" and "02" runs "mydd" ? Thanks

wintera
2016-09-08 15:17
has joined #general

garisingh
2016-09-08 15:24
sorry @echenrunner - so there are 2 options: 1) If you want a single instance of the chaincode, you should add another function which basically does the same thing as you are doing on deploy (so basically create an "AddUser" function and call it from init if you want to add a user during deploy and then call it using an invoke transaction to add additional users after deployment) 2) If you really wanted multiple instances of the chaincode, then use different names each time you deploy

echenrunner
2016-09-08 15:50
Hi Garisingh, Option1. I did something similar where in the INVOKE I issue "PutState" for zVMuser02 as a go around. I am going to create new function... better ideal. Thanks for the help

garisingh
2016-09-08 15:51
no problem

j3st3r
2016-09-08 15:56
has joined #general

2016-09-08 16:02
Ramesh Babu proposed >>>ci-management (master): disable fabric behave tests temporarily in CI (http://gerrit.hyperledger.org/r/951)

2016-09-08 16:02
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/230/ (http://gerrit.hyperledger.org/r/951)

2016-09-08 16:02
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/230/ : SUCCESS (http://gerrit.hyperledger.org/r/951)

bmccurti
2016-09-08 16:32
has joined #general

paulomahony
2016-09-08 16:43
has joined #general

nhrishi
2016-09-08 17:02
Hi, do we need to configure iptables for accessing docker container service from vagrant host ? If yes, could you please help on steps and related commands ?

mhagelstrom
2016-09-08 17:55
has joined #general

markparz
2016-09-08 19:55
Atomic broadcast demo posted on #playbacks

markparz
2016-09-08 19:56
Once we settle on the wiki, I will post out tehre

blockchainrand
2016-09-08 20:13
has joined #general

psalvitti
2016-09-08 20:15
has joined #general

efeatherston
2016-09-08 20:21
has joined #general

venkat
2016-09-08 20:50
just wondering: Does the consensus happen at block level or at txn level? If it is at transaction level, what happens if some txns in a blcock fail to get consensus?

2016-09-08 21:38
David Huffman proposed >>>blockchain-explorer (master): Initial Commit (http://gerrit.hyperledger.org/r/959)

bellajbadr
2016-09-08 22:58
has joined #general

bellajbadr
2016-09-08 23:01
@venkat consensus is at block level the invalid tx are not brodcasted in the enntire network

2016-09-08 23:26
Jonathan Levi commented >>>blockchain-explorer (master): Patch Set 1: Code-Review-1 Hi Dave, this is a nice contribution! (by IBM to Hyperledger, I take it). Would you like to add some licensing information? (e.g., a top level LICENSE file, related tex... (http://gerrit.hyperledger.org/r/959)

2016-09-08 23:42
Ramesh Babu proposed >>>ci-management (master): upgrade grpcio package version to 1.0.0 (http://gerrit.hyperledger.org/r/961)

2016-09-08 23:54
Ry Jones commented >>>ci-management (master): Patch Set 1: Code-Review-1 (1 comment) one question (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:13
Ramesh Babu commented >>>ci-management (master): Patch Set 1: (1 comment) (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:16
Ry Jones commented >>>ci-management (master): Patch Set 1: Code-Review+2 Verified+1 this will affect CI on all branches, so I suppose it is OK. (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:17
Ry Jones commented >>>ci-management (master): Patch Set 1: -Verified (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:17
Ry Jones proposed >>>ci-management (master): disable fabric behave tests temporarily in CI (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:17
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: -Verified Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/231/ (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:17
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/231/ : SUCCESS (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:18
Ry Jones merged >>>ci-management (master): disable fabric behave tests temporarily in CI (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:18
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Started https://jenkins.hyperledger.org/job/ci-management-merge/116/ (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:18
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Successful https://jenkins.hyperledger.org/job/ci-management-merge/116/ : SUCCESS (http://gerrit.hyperledger.org/r/951)

2016-09-09 00:31
Ry Jones commented >>>ci-management (master): Patch Set 5: Code-Review-1 (1 comment) (http://gerrit.hyperledger.org/r/845)

2016-09-09 00:31
Ry Jones proposed >>>ci-management (master): Include Docker Compose Version in env listing (http://gerrit.hyperledger.org/r/849)

2016-09-09 00:31
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/232/ (http://gerrit.hyperledger.org/r/849)

2016-09-09 00:31
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/232/ : SUCCESS (http://gerrit.hyperledger.org/r/849)

2016-09-09 00:32
Ry Jones commented >>>ci-management (master): Patch Set 2: Code-Review+2 (http://gerrit.hyperledger.org/r/849)

2016-09-09 00:32
Ry Jones merged >>>ci-management (master): Include Docker Compose Version in env listing (http://gerrit.hyperledger.org/r/849)

2016-09-09 00:32
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Started https://jenkins.hyperledger.org/job/ci-management-merge/117/ (http://gerrit.hyperledger.org/r/849)

2016-09-09 00:32
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Successful https://jenkins.hyperledger.org/job/ci-management-merge/117/ : SUCCESS (http://gerrit.hyperledger.org/r/849)

shiseki
2016-09-09 01:53
has joined #general

sufiyan
2016-09-09 02:35
has joined #general

35830956
2016-09-09 03:27
has joined #general

35830956
2016-09-09 03:30
Nice to meet everyone

bgorman
2016-09-09 03:33
hi 35830956, interesting name :slightly_smiling_face:

shiseki
2016-09-09 04:50
Hi, everybody. I'm using Hyperledger 0.5 on IBM Bluemix.

venkat
2016-09-09 05:16
@shiseki - how do you know which version of HL you are using on the IBM Bluemix?

maltaf
2016-09-09 05:40
@35830956 is "35830956" your first name or last name?

shiseki
2016-09-09 05:44
I am working for IBM Japan and that's why I know it.

35830956
2016-09-09 05:57
35830956 is a virtual number , it is not a name. Haha

jonathanlevi
2016-09-09 06:36
Oh, I see. At first I confused you with `3583 0956` (aka Mr. 0956)…

jonathanlevi
2016-09-09 06:36
Thanks for clarifyig @35830956 !

venkat
2016-09-09 06:44
what is a virtual number?:thinking_face:

baohua
2016-09-09 07:10
something like facebook id?

bgorman
2016-09-09 07:56
something like an imaginary number?

stylix
2016-09-09 07:56
his password? :smile:

stylix
2016-09-09 07:57
well, those are welcome messages :slightly_smiling_face:

stylix
2016-09-09 07:59
BTW, I'm curious what's the general time zone for this community.

stylix
2016-09-09 08:00
Me, JST (kind of +09:00)

bgorman
2016-09-09 08:00
UTC+8 here

stylix
2016-09-09 08:00
I will active here around my afternoon, or sometime late morning

bgorman
2016-09-09 08:00
there's a lot of people in the US and EU... it's pretty global

stylix
2016-09-09 08:02
Umm, I see that why a lot message here during me on the bed. I will try to catch up the community, anyway :slightly_smiling_face:

stylix
2016-09-09 08:13
@shiseki probably, we are quite close :slightly_smiling_face: I'm not from IBM, but some how I also use Docker swarm 1.12, and the most recent Fabric from gerrit.

adamw
2016-09-09 08:47
has joined #general

joao.costa
2016-09-09 09:14
has joined #general

merlin
2016-09-09 09:16
has joined #general

ablivio
2016-09-09 09:26
has joined #general

a.klenik
2016-09-09 10:03
has joined #general

2016-09-09 13:36
Ramesh Babu proposed >>>ci-management (master): run only behave tests in new fabric jobs (http://gerrit.hyperledger.org/r/979)

2016-09-09 13:36
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/233/ (http://gerrit.hyperledger.org/r/979)

2016-09-09 13:36
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/233/ : SUCCESS (http://gerrit.hyperledger.org/r/979)

2016-09-09 13:42
Gabor Hosszu commented >>>ci-management (master): Patch Set 1: Code-Review+1 (http://gerrit.hyperledger.org/r/961)

2016-09-09 13:50
Ramesh Babu proposed >>>ci-management (master): FAB-277 enable ci setup on power node (http://gerrit.hyperledger.org/r/845)

2016-09-09 13:50
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 6: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/234/ (http://gerrit.hyperledger.org/r/845)

2016-09-09 13:50
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 6: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/234/ : SUCCESS (http://gerrit.hyperledger.org/r/845)

2016-09-09 13:52
Ramesh Babu commented >>>ci-management (master): Patch Set 6: (1 comment) (http://gerrit.hyperledger.org/r/845)

2016-09-09 13:59
Ry Jones commented >>>ci-management (master): Patch Set 6: Code-Review+2 (http://gerrit.hyperledger.org/r/845)

2016-09-09 13:59
Ry Jones merged >>>ci-management (master): FAB-277 enable ci setup on power node (http://gerrit.hyperledger.org/r/845)

2016-09-09 14:00
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 6: Build Started https://jenkins.hyperledger.org/job/ci-management-merge/118/ (http://gerrit.hyperledger.org/r/845)

2016-09-09 14:00
Ry Jones commented >>>ci-management (master): Patch Set 1: Code-Review+2 Verified+1 (http://gerrit.hyperledger.org/r/961)

2016-09-09 14:00
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 6: Build Successful https://jenkins.hyperledger.org/job/ci-management-merge/118/ : SUCCESS (http://gerrit.hyperledger.org/r/845)

2016-09-09 14:00
Ry Jones merged >>>ci-management (master): upgrade grpcio package version to 1.0.0 (http://gerrit.hyperledger.org/r/961)

bguilloteau
2016-09-09 14:15
has joined #general

echeze
2016-09-09 14:47
has joined #general

billb034
2016-09-09 14:49
has joined #general

2016-09-09 15:37
Ramesh Babu proposed >>>ci-management (master): add "make membersrvc-image" to build membersrvc image (http://gerrit.hyperledger.org/r/987)

2016-09-09 15:37
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/235/ (http://gerrit.hyperledger.org/r/987)

2016-09-09 15:37
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/235/ : SUCCESS (http://gerrit.hyperledger.org/r/987)

echenrunner
2016-09-09 15:39
hi guys, I'm looking at the asset_management02_test.go program where it basically call the asset_management02's functions(deploy, invoke and query) . I would like to use curl json but I'm running problem of alice.GetTCertificateHandlerNext("role", "account1", "contactInfo") as to how to put it in json. I'm learning as I go. Thanks

rajeshsubhankar
2016-09-09 15:49
I was using one of the example docker-compose file. ```membersrvc0: extends: file: compose-defaults.yml service: membersrvc vp0: extends: file: docker-compose-4-consensus-base.yml service: vpBase environment: - CORE_PEER_ID=vp0 - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc0 ports: - 7050:7050 vp1: extends: file: docker-compose-4-consensus-base.yml service: vpBase environment: - CORE_PEER_ID=vp1 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_SECURITY_ENROLLID=test_vp1 - CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy links: - membersrvc0 - vp0 ports: - 6050:6050 vp2: extends: file: docker-compose-4-consensus-base.yml service: vpBase environment: - CORE_PEER_ID=vp2 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_SECURITY_ENROLLID=test_vp2 - CORE_SECURITY_ENROLLSECRET=vQelbRvja7cJ links: - membersrvc0 - vp0 ports: - 5050:5050 vp3: extends: file: docker-compose-4-consensus-base.yml service: vpBase environment: - CORE_PEER_ID=vp3 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_SECURITY_ENROLLID=test_vp3 - CORE_SECURITY_ENROLLSECRET=9LKqKH5peurL links: - membersrvc0 - vp0 ports: - 4050:4050``` The output of `netstat -atp tcp | grep -i "listen"` is ```Macs-MBP:fabric mac$ netstat -atp tcp | grep -i "listen" tcp4 0 0 localhost.55070 *.* LISTEN tcp4 0 0 localhost.50250 *.* LISTEN tcp4 0 0 *.7054 *.* LISTEN tcp4 0 0 *.7053 *.* LISTEN tcp4 0 0 *.7051 *.* LISTEN tcp4 0 0 *.7050 *.* LISTEN tcp4 0 0 localhost.rockwell-csp *.* LISTEN tcp4 0 0 localhost.ipp *.* LISTEN tcp6 0 0 localhost.ipp *.* LISTEN ``` Is there any reason as to why only port corresponding to vp0 like 7050 is listening and not all other ports like 5050,6050. I am able to communicate with my vp0 using rest api but not with other peers.

garisingh
2016-09-09 15:58
@rajeshsubhankar - you can't bind to the same ports on the host system

2016-09-09 16:19
Greg Haskins commented >>>ci-management (master): Patch Set 1: Code-Review+1 Ramesh and I discussed offline. We both agree that more elegant solutions exist, but that this is a good stop-gap to stabilize the builds (http://gerrit.hyperledger.org/r/987)

mart0nix
2016-09-09 16:21
how is the sawtooth lake project related to hyperledger? Which one should I pick for my project?


boydjohnson
2016-09-09 16:25
In short, Sawtooth-Lake and Fabric are both projects within hyperledger.

mart0nix
2016-09-09 16:26
@boydjohnson got it. Thanks for the link!

mart0nix
2016-09-09 16:26
it looks like fabric is better suited for my needs

mart0nix
2016-09-09 16:27
however I find the documentation really weak

mart0nix
2016-09-09 16:27
the docker / vagrant situation makes it even more complicated for a newbie :slightly_smiling_face:

mart0nix
2016-09-09 16:28
for example it's not clear how to create my own mycreds.json based on running my own CA authority service

mart0nix
2016-09-09 16:28
if I want to run a simple demo app locally (without using Bluemix)

boydjohnson
2016-09-09 16:29
I’m not totally familiar with Fabric, so someone else should comment if what you are asking is feasible.

tuand
2016-09-09 16:32
@mart0nix i don't have an answer for you but could you re-post in #fabric ?

mart0nix
2016-09-09 16:33
@tuand thanks - I will give the docs another try and then I will ask in #fabric

2016-09-09 16:46
Ry Jones commented >>>ci-management (master): Patch Set 1: Code-Review+2 (http://gerrit.hyperledger.org/r/987)

2016-09-09 16:46
Ry Jones merged >>>ci-management (master): add "make membersrvc-image" to build membersrvc image (http://gerrit.hyperledger.org/r/987)

2016-09-09 16:46
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Started https://jenkins.hyperledger.org/job/ci-management-merge/119/ (http://gerrit.hyperledger.org/r/987)

2016-09-09 16:47
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Successful https://jenkins.hyperledger.org/job/ci-management-merge/119/ : SUCCESS (http://gerrit.hyperledger.org/r/987)

2016-09-09 16:49
Binh Nguyen commented >>>ci-management (master): Patch Set 1: Code-Review+1 (http://gerrit.hyperledger.org/r/979)

jcandido
2016-09-09 17:43
has joined #general

roderik
2016-09-09 18:59
Are there any docs for semi-production hosting with docker? I found out how the CORE map to the yaml, but for the membersvc yaml file i could not find anything. Or should I build my own custom image?

2016-09-09 19:11
Ry Jones proposed >>>ci-management (master): run only behave tests in new fabric jobs (http://gerrit.hyperledger.org/r/979)

2016-09-09 19:12
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/236/ (http://gerrit.hyperledger.org/r/979)

2016-09-09 19:12
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/236/ : SUCCESS (http://gerrit.hyperledger.org/r/979)

2016-09-09 19:15
Ry Jones commented >>>ci-management (master): Patch Set 2: Code-Review+2 (http://gerrit.hyperledger.org/r/979)

2016-09-09 19:15
Ry Jones merged >>>ci-management (master): run only behave tests in new fabric jobs (http://gerrit.hyperledger.org/r/979)

2016-09-09 19:15
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Started https://jenkins.hyperledger.org/job/ci-management-merge/120/ (http://gerrit.hyperledger.org/r/979)

2016-09-09 19:15
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 2: Build Successful https://jenkins.hyperledger.org/job/ci-management-merge/120/ : SUCCESS (http://gerrit.hyperledger.org/r/979)

tomrsmith
2016-09-09 19:20
has joined #general

kent_landholm
2016-09-09 20:02
has joined #general

epenfiel
2016-09-10 04:10
has joined #general

rafael
2016-09-10 05:11
Hi All,

rafael
2016-09-10 05:12
Where can I see the next architecture design proposal?

ranjan008
2016-09-10 06:14
Is there any provision in fabric through which we can implement wallet architecture in fabric we will have to do it through chaincode only or they have anything for account creation

adeelqureshi
2016-09-10 09:14
has joined #general

garisingh
2016-09-10 11:17
@rafael - there are a number of items in JIRA about the fabric v1 release and architecture. This was posted towards the end of July. https://hyperledgerproject.slack.com/files/binhn/F1VDNHG4E/fabricnext-community.pptx


nmpacheco
2016-09-10 12:12
has joined #general

er.shilpa
2016-09-10 14:00
has joined #general

adeelqureshi
2016-09-10 14:34
adeelqureshi [7:29 PM] Hi fellows, wondering if some one can help with following I've cloned the "learn chain code" repo (https://github.com/IBM-Blockchain/learn-chaincode.git)and trying to build the very first program with Go when I run " go build ./ " it spits out following error \chaincode_start.go:34: cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start: have Init(*shim.ChaincodeStub, string, []string) ([]byte, error) want Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error) Any ideas ?

garisingh
2016-09-10 14:38
we are trying to figure out the best way to modify the repo examples to work with multiple versions of the fabric, but in the meantime you should be able to find and replace `*shim.ChaincodeStub` with `shim.ChaincodeStubInterface`

adeelqureshi
2016-09-10 14:40
@garisingh : Thanks , replacing it with shim.ChaincodeStubInterface worked

di9it
2016-09-10 15:58
has joined #general

lkumar
2016-09-10 16:04
has joined #general

adeelqureshi
2016-09-10 16:45
@garisingh : after changing to `shim.ChaincodeStubInterface` Go builds fine on my local environment -- but when deploying this code to Bluemix, the deploy failed Error when deploying chaincode: Error getting chaincode package bytes: Error getting code 'go get' failed with error: 'exit status 2' http://github.com/adeelrqureshi/myblockchain/start\n/go/_usercode_/641689146/src/github.com/adeelrqureshi/myblockchain/start/chaincode_start.go:41: *undefined: shim.ChaincodeStubInterface*

rajeshsubhankar
2016-09-10 16:46
Current fabric version in Bluemix is 0.5 but your code is 0.6 compatible only.

adeelqureshi
2016-09-10 16:49
thanks, pardon my ignorance but how you knew my code is 0.6 compatible ? Since I have Go 1.7 installed ?

aldrick
2016-09-10 20:42
has joined #general

emer_see
2016-09-10 23:15
has joined #general

vikas.singh
2016-09-11 05:50
has joined #general

petter.neumann
2016-09-11 09:35
has joined #general

gaurav
2016-09-11 11:55
When trying to deploy example_chaincode02.go with the latest version of HFC on latest version of hyperledger/fabric obtained from gerrit, getting error that ERRO 026 sending init failed(Error initializing container d4b5537bb114ff266c9a1a21b24a23314ac74e1be61833398661d07375b02aa4: Incorrect number of arguments. Expecting 4).

szlaci83
2016-09-11 12:09
@gaurav what are your arguments?

zeesh49
2016-09-11 12:48
has joined #general

gaurav
2016-09-11 13:09
var deployRequest = { fcn: "init", args: ["a", initA, "b", initB] };

gaurav
2016-09-11 13:10
@szlaci83 above is the arguments

szlaci83
2016-09-11 13:25
I think it should be like args: ["a", "100", "b", "200"] Or similar

szlaci83
2016-09-11 13:26
As you give user:points pairs i guess

takasaky
2016-09-11 13:36
has joined #general

esafern
2016-09-11 13:40
has joined #general

muralisr
2016-09-11 13:54
@gaurav try args: [“init”, "a", "100", "b", "200"]

szlaci83
2016-09-11 14:28
@muralisr yepp actually yours makes more sense .... ( i wrote it on my phone)

muralisr
2016-09-11 14:33
@szlaci83 right.. thanks for starting with the new steps

muralisr
2016-09-11 14:37
also, @gaurav @szlaci83 we should take this on the fabric channels (chaincode, fabric, etc)

ajithk
2016-09-11 15:06
has joined #general

balbuenac
2016-09-11 16:42
has joined #general

2016-09-11 21:12
Christopher Ferris proposed >>>fabric-test-resources (master): Initial Commit (http://gerrit.hyperledger.org/r/997)

2016-09-11 22:00
Ry Jones commented >>>fabric-test-resources (master): Patch Set 1: just making a note so I get an email when this merges (http://gerrit.hyperledger.org/r/997)

echenrunner
2016-09-11 22:27
hi guys, when I try to bring VP I am getting "panic: Must set statetransfer.blocksperrequest to be nonzero"

echenrunner
2016-09-11 22:32
17:47:54.334 [buckettree] initConfig -> INFO 041 configs passed during initialization = map[string]interface {}{"numBuckets":1000003, "maxGroupingAtEachLevel":10, "bucketCacheSize":100} 17:47:54.334 [buckettree] initConfig -> INFO 042 Initializing bucket tree state implemetation with configurations &{maxGroupingAtEachLevel:10 lowestLevel:7 levelToNumBucketsMap:map[4:1001 3:101 2:11 1:2 0:1 7:1000003 6:100001 5:10001] hashFunc:0xa8fb20} 17:47:54.335 [buckettree] newBucketCache -> INFO 043 Constructing bucket-cache with max bucket cache size = [100] MBs 17:47:54.335 [buckettree] loadAllBucketNodesFromDB -> INFO 044 Loaded buckets data in cache. Total buckets in DB = [0]. Total cache size:=0 17:47:54.335 [main] serve -> DEBU 045 Running as validating peer - installing consensus noops 17:47:54.335 [peer] initDiscovery -> DEBU 046 Retrieved discovery list from disk: [] panic: Must set statetransfer.blocksperrequest to be nonzero goroutine 1 [running]: panic(0xd11f20, 0xc820344940) /usr/lib64/go/src/runtime/panic.go:481 +0x3e6 http://github.com/hyperledger/fabric/core/peer/statetransfer.NewCoordinatorImpl(0x7f6a78a4f2b0, 0xc82032b800, 0x0, 0x0)

echenrunner
2016-09-11 23:36
I fix the "nonezero" it is in the core.yaml

echenrunner
2016-09-11 23:36
however i'm getting

echenrunner
2016-09-11 23:36
19:32:17.104 [buckettree] newBucketCache -> INFO 012 Constructing bucket-cache with max bucket cache size = [100] MBs 19:32:17.104 [buckettree] loadAllBucketNodesFromDB -> INFO 013 Loaded buckets data in cache. Total buckets in DB = [0]. Total cache size:=0 19:32:17.105 [consensus/controller] NewConsenter -> INFO 014 Creating default consensus plugin (noops) 19:32:17.106 [consensus/noops] newNoops -> INFO 016 NOOPS consensus type = *noops.Noops 19:32:17.106 [consensus/noops] newNoops -> INFO 017 NOOPS block size = 500 19:32:17.106 [consensus/noops] newNoops -> INFO 018 NOOPS block wait = 1s 19:32:17.106 [main] serve -> INFO 019 Starting peer with ID=name:"jdoe" , network ID=dev, address=0.0.0.0:30303, rootnodes=, validator=true panic: non-positive interval for NewTicker goroutine 25 [running]: panic(0xd11f20, 0xc82039b580) /usr/lib64/go/src/runtime/panic.go:481 +0x3e6

2016-09-12 00:53
Christopher Ferris commented >>>fabric-test-resources (master): Patch Set 1: Verified+1 This is the transfer of fabric-test-resources to Gerrit. (http://gerrit.hyperledger.org/r/997)

echenrunner
2016-09-12 01:02
it went to "panic"

bgorman
2016-09-12 01:33
that @hyperledger-gerrit bot really makes #general a pain to read after a couple of days :confused:

bgorman
2016-09-12 01:39
@echenrunner is that the entirety of the stack trace from the panic? goroutine 25 [running]: panic(0xd11f20, 0xc82039b580) /usr/lib64/go/src/runtime/panic.go:481 +0x3e6

tbrooke
2016-09-12 02:16
has joined #general

2016-09-12 03:32
Baohua Yang proposed >>>fabric-sdk-py (master): Init commit (http://gerrit.hyperledger.org/r/1005)

gaurav
2016-09-12 03:56
@muralisr @szlaci83 even after using the function name "init" as the first argument to the deployrequest as var deployRequest = { fcn: "init", args: ["init", "a", "100", "b", "200"] }; getting similar error: [chaincode] processStream -> ERRO 031 Got error: Incorrect number of arguments. Expecting 4

bgorman
2016-09-12 03:57
@gaurav have you tried removing the `fcn: "init"` bit?

2016-09-12 04:00
Chang Chen commented >>>fabric-sdk-py (master): Patch Set 1: (1 comment) (http://gerrit.hyperledger.org/r/1005)

bgorman
2016-09-12 04:02
@guarav otherwise I'd suggest you edit your chaincode to print the number and values of the args it received ... will make it easier to debug :slightly_smiling_face:

2016-09-12 04:03
Baohua Yang proposed >>>fabric-sdk-py (master): Initial commit (http://gerrit.hyperledger.org/r/1005)

2016-09-12 04:10
Chang Chen commented >>>fabric-sdk-py (master): Patch Set 2: Code-Review+1 (http://gerrit.hyperledger.org/r/1005)

gaurav
2016-09-12 04:44
@bgorman , i debugged the number of arguments recieved is 0, and yes i tried removing the fcn:"init" also, but then it returned with error: deployTx [Circular] /opt/gopath/workspace/btmu/phase2/exploringhfc/node_modules/hfc/node_modules/grpc/node_modules/protobufjs/dist/ProtoBuf.js:1769 e for "+this.toString(true)+" of type "+this.type.name+": "+val+" ("+msg+")"); ^ Error: Illegal value for [object Object] of type string: undefined (not a string) at Error (native) at null.<anonymous> (/opt/gopath/workspace/btmu/phase2/exploringhfc/node_modules/hfc/node_modules/grpc/node_modules/protobufjs/dist/ProtoBuf.js:1769:114) at ProtoBuf.Reflect.ElementPrototype.verifyValue (/opt/gopath/workspace/btmu/phase2/exploringhfc/node_modules/hfc/node_modules/grpc/node_modules/protobufjs/dist/ProtoBuf.js:1831:25) at ProtoBuf.Reflect.FieldPrototype.verifyValue (/opt/gopath/workspace/btmu/phase2/exploringhfc/node_modules/hfc/node_modules/grpc/node_modules/protobufjs/dist/ProtoBuf.js:3436:33) at setter (/opt/gopath/workspace/btmu/phase2/exploringhfc/node_modules/hfc/node_modules/grpc/node_modules/protobufjs/dist/ProtoBuf.js:2532:77) at /opt/gopath/workspace/btmu/phase2/exploringhfc/node_modules/hfc/lib/hfc.js:1313:32 at WriteStream.<anonymous> (/opt/gopath/workspace/btmu/phase2/exploringhfc/node_modules/hfc/lib/sdk_util.js:160:16) at WriteStream.emit (events.js:129:20) at fs.js:1714:14 at FSReqWrap.oncomplete (fs.js:95:15)

2016-09-12 04:59
Kai Chen commented >>>fabric-sdk-py (master): Patch Set 2: Code-Review+1 (http://gerrit.hyperledger.org/r/1005)

smjain
2016-09-12 05:14
has joined #general

bgorman
2016-09-12 05:24
@gaurav no args is very odd...

hgabor
2016-09-12 06:06
@gaurav you are not the first who runs into this problem (as I remember). last time I tried, it worked, and the unit tests also try that chaincode (others, correct me if I am wrong). could you please tell me the exact steps to reproduce the problem(s)?

gaurav
2016-09-12 06:24
@bgorman @hgabor steps to reproduce: 1. checked out the latest version of hyperledger fabric source from gerrit repository 2. vagrant up 3. started membersrvc and node peer start 4. copy from fabric\examples\chaincode\go\chaincode_example02 $GOPATH/src/github.com/chaincode_example02 and setup the vendor directory with latest of hyperledger as vendor/github.com/hyperledger 5. try to deploy $GOPATH/src/github.com/chaincode_example02 using the latest version of the hfc node sdk version 0.5.2

bgorman
2016-09-12 06:25
is step 4 really necessary?

gaurav
2016-09-12 06:26
yes i think its necessary while deploying with hfc as per the readme at https://www.npmjs.com/package/hfc

bgorman
2016-09-12 06:28
wow ok, I need to learn how to use the hfc :slightly_smiling_face:

hgabor
2016-09-12 06:49
@gaurav I will try it soon and come back to you :slightly_smiling_face:

shimron
2016-09-12 06:59
has joined #general

gaurav
2016-09-12 07:29
thanks @bgorman @hgabor for helping on this.

hgabor
2016-09-12 07:30
@gaurav how to setup that vendor directory?

hgabor
2016-09-12 07:33
could you please detail step 5. ? I have never ever tried deployment with node sdk

gaurav
2016-09-12 07:37
in the vendor directory you need to create the complete fabric source obtained from gerrit at vendor/github.com/hyperledger/fabric

gaurav
2016-09-12 07:37
for step 5 let me share the source

hgabor
2016-09-12 07:54
okay, I am finished with the vendoring, lets go deploy :slightly_smiling_face:

gaurav
2016-09-12 07:57
i have created a JIRA issue: https://jira.hyperledger.org/browse/FAB-347, please find sample.js there for deploy source

hgabor
2016-09-12 07:59
@gaurav is it the same without security?

luisbe
2016-09-12 08:08
has joined #general

hgabor
2016-09-12 08:22

hgabor
2016-09-12 08:22
I am getting this

hgabor
2016-09-12 08:22
@gaurav @bgorman

2016-09-12 08:27
@hgabor commented on @hgabor’s file https://hyperledgerproject.slack.com/files/hgabor/F2AHA5T5L/-.txt: why do I get this?

ivan
2016-09-12 08:28
has joined #general

gaurav
2016-09-12 08:29
@hgabor i havent checked without security, security: false

hgabor
2016-09-12 08:30
let me do it

hgabor
2016-09-12 08:30
btw I am getting an error from the js

hgabor
2016-09-12 08:31
I am trying to recreate the vagrant

gaurav
2016-09-12 08:32
@hgabor let me know of any help u need to recreate the issue

hgabor
2016-09-12 08:33
grpc_node.node: undefined symbol - gaurav do you have any idea? :slightly_smiling_face:

gaurav
2016-09-12 08:37
@hgabor did you do npm install hfc before running the node sample.js?

jean-marc
2016-09-12 08:37
has joined #general

hgabor
2016-09-12 08:39
I am trying to run it using the sdk/node from my fabric repo

hgabor
2016-09-12 08:39
I suppose hfc is not up-to-date

tmyjoe
2016-09-12 09:29
has joined #general

guidozelf
2016-09-12 11:08
has joined #general

ganesh47
2016-09-12 12:50
has joined #general

2016-09-12 12:56
Gabor Hosszu commented >>>fabric-test-resources (master): Patch Set 1: Code-Review+2 (http://gerrit.hyperledger.org/r/997)

alexjavabraz
2016-09-12 13:05
has joined #general

snehalpansare
2016-09-12 13:28
has joined #general

balakrishna
2016-09-12 14:28
Anyone tried to execute " asset_management_with_roles" sample with NodeSDK ..?

rliu
2016-09-12 14:54
has joined #general

echenrunner
2016-09-12 14:54
10:54:10.972 [consensus/noops] newNoops -> INFO 017 NOOPS block size = 500 10:54:10.973 [consensus/noops] newNoops -> INFO 018 NOOPS block wait = 1s panic: non-positive interval for NewTicker goroutine 16 [running]: panic(0xd11f20, 0xc82024fba0) /usr/lib64/go/src/runtime/panic.go:481 +0x3e6 time.NewTicker(0x0, 0x1c) /usr/lib64/go/src/time/tick.go:23 +0xe4 http://github.com/hyperledger/fabric/core/peer.(*PeerImpl).ensureConnected(0xc82036e4e0) /opt/gopath/src/github.com/hyperledger/fabric/core/peer/peer.go:522 +0x76 created by http://github.com/hyperledger/fabric/core/peer.(*PeerImpl).chatWithSomePeers.func1 /opt/gopath/src/github.com/hyperledger/fabric/core/peer/peer.go:552 +0x34

echenrunner
2016-09-12 14:55
any ideal NewTicker is

echenrunner
2016-09-12 16:42
I found it Binary file build/bin/peer matches Binary file build/docker/pkg/linux_amd64/github.com/hyperledger/fabric/core/peer.a matches core/peer/peer.go: touchPeriod := viper.GetDuration("peer.discovery.touchPeriod") ^C linux-izg9:/opt/gopath/src/github.com/hyperledger/fabric # export CORE_PEER_DISCOVERY_TOUCHPERIOD=1s linux-izg9:/opt/gopath/src/github.com/hyperledger/fabric # peer node start --peer-chaincodedev 12:41:44.400 [main] serve -> INFO 001 Running in chaincode development mode 12:41:44.400 [main] serve -> INFO 002 Set consensus to NOOPS and user starts chaincode 12:41:44.400 [main] serve -> INFO 003 Disable loading validity system chaincode

2016-09-12 16:49
Christopher Ferris commented >>>fabric-sdk-py (master): Patch Set 2: Code-Review-1 (1 comment) please address my comment regarding incubation and then LGTM (http://gerrit.hyperledger.org/r/1005)

2016-09-12 17:03
Jonathan Levi commented >>>fabric-test-resources (master): Patch Set 1: Code-Review+2 (http://gerrit.hyperledger.org/r/997)

irina.p
2016-09-12 18:01
has joined #general

tirumaha
2016-09-12 18:54
has joined #general

2016-09-12 19:45
Jonathan Levi merged >>>fabric-test-resources (master): Initial Commit (http://gerrit.hyperledger.org/r/997)

echenrunner
2016-09-12 20:21
after I enter the password of "admin" or "alice" or "bob" on the MEMBERSRVC I am getting ****** grpc: Server.Serve failed to complete security handshake ******

echenrunner
2016-09-12 20:22

echenrunner
2016-09-12 20:22
do I need to build grpc???

vzhou
2016-09-12 20:36
Hi; question about the REST API. I have a question about how I should be attempting to performance/stress test Hyper Ledger via the REST API. 1) Is an "OK" response to an invoke request an indication that the transaction has finished, or just that the network has received the request? 2) I measure transactions per second as follows: (# requests) /(timestamp of the last BLOCK on the ledger - timestamp of the first TRANSACTION on the ledger). Is this valid? Thank you!

pieter.pottie
2016-09-12 20:41
has joined #general

2016-09-12 21:39
Ramesh Babu proposed >>>ci-management (master): Abort build if it stuck for more than 120 mins (http://gerrit.hyperledger.org/r/1015)

2016-09-12 21:40
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Started https://jenkins.hyperledger.org/job/ci-management-verify-jjb/237/ (http://gerrit.hyperledger.org/r/1015)

2016-09-12 21:40
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Verified+1 Build Successful https://jenkins.hyperledger.org/job/ci-management-verify-jjb/237/ : SUCCESS (http://gerrit.hyperledger.org/r/1015)

davidvoell
2016-09-12 21:41
has joined #general

david.acton
2016-09-12 21:41
@vzhou Hi Vzhou.. I’m not an expert, just another user, but as I understand it, OK just means it’s received the request. You have to query the returned transaction ID I believe, to find the result.

david.acton
2016-09-12 21:42
I’m not sure on your second question

davidvoell
2016-09-12 21:50
Hyperledger - Whitepaper WG Wed, Sep 14, 1:00 pm ET When it's time, start the meeting from here: https://meetings.webex.com/collabs/meetings/join?uuid=M62ZSDWWKTRWZDR3RLKWZ8I1IG-9VIB Audio Connection US TOLL Access code: 197 291 274

davidvoell
2016-09-12 21:52
As discussed in last Thursday's TSC, we'll be having a Whitepaper walkthrough this Wednesday, Sept 14th. Please join us using the above posted webex link.

davidvoell
2016-09-12 21:55
The walkthrough will be repeated during next Thursday's TSC meeting as well.

2016-09-12 22:16
Ry Jones commented >>>ci-management (master): Patch Set 1: Code-Review+2 (http://gerrit.hyperledger.org/r/1015)

2016-09-12 22:16
Ry Jones merged >>>ci-management (master): Abort build if it stuck for more than 120 mins (http://gerrit.hyperledger.org/r/1015)

2016-09-12 22:17
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Started https://jenkins.hyperledger.org/job/ci-management-merge/121/ (http://gerrit.hyperledger.org/r/1015)

2016-09-12 22:17
Hyperledger Jobbuilder commented >>>ci-management (master): Patch Set 1: Build Successful https://jenkins.hyperledger.org/job/ci-management-merge/121/ : SUCCESS (http://gerrit.hyperledger.org/r/1015)

vini
2016-09-12 22:33
has joined #general

jackkleeman
2016-09-12 23:37
has joined #general

2016-09-13 00:25
Christopher Ferris proposed >>>issue-bot (master): IInitial commit (http://gerrit.hyperledger.org/r/1017)

2016-09-13 00:32
Christopher Ferris proposed >>>issue-bot (master): Initial commit (http://gerrit.hyperledger.org/r/1019)

2016-09-13 00:36
Ry Jones commented >>>issue-bot (master): Patch Set 1: Code-Review+1 LGTM (http://gerrit.hyperledger.org/r/1019)

2016-09-13 02:00
Baohua Yang commented >>>fabric-sdk-py (master): Patch Set 2: (1 comment) (http://gerrit.hyperledger.org/r/1005)

2016-09-13 03:34
Baohua Yang proposed >>>fabric-sdk-py (master): Initial commit (http://gerrit.hyperledger.org/r/1005)

2016-09-13 03:39
Baohua Yang proposed >>>fabric-sdk-py (master): Initial commit (http://gerrit.hyperledger.org/r/1005)

stylix
2016-09-13 04:48
Can anyone summarize which ports are used by the current Fabric? Previously, I the ports are used in the old Fabric as follow REST: 5000 CLI: 30304 gRPC: 30303 Validator: 31315 Well, I'm going to check, just to confirm if someone already have the list.

raveendrababu
2016-09-13 04:52
has joined #general

bgorman
2016-09-13 04:59
@stylix those are the old v0.5 ports... there would be a membersrvc port too

bgorman
2016-09-13 05:00
the new ports are REST 7050 peer gRPC 7051 something I forget 7052 events 7053 membersrvc 7054

stylix
2016-09-13 05:35
Thanks @bgorman , I need to update this, also I will find out what 7052 is :slightly_smiling_face:

bgorman
2016-09-13 05:36
there is a changeset somewhere that documents them all

bgorman
2016-09-13 05:36
or you could grep the code :slightly_smiling_face:

abhishekseth
2016-09-13 06:35
Hello all, For the attribute level security, fabric maintains membersrvc.yaml file which have some attributes defined like position,company, account, role etc and internally a table is maintained for these attributes names and values. Is there any way by which we can dynamically assign the roles to the new users and then depending on their roles, different attributes access is given to them?

abhishekseth
2016-09-13 06:36
Basically, I do not want to use this membersrvc.yaml file for maintaining attributes definitions. Is there any way to do this?

zhangsoledad
2016-09-13 06:45
has joined #general

bgorman
2016-09-13 06:51
@abhishekseth I think the node SDK will let you register/enroll new users in an ad-hoc manner... so for example you could write an app to maintain a database of users elsewhere

yls
2016-09-13 07:07
hi all:

yls
2016-09-13 07:08
hi all: When i deploy chaincode, “Error building images: cannot normalise nothing”. why?

yls
2016-09-13 07:09
can anybody help me?


hgabor
2016-09-13 07:18
I will find out which docker we use

hgabor
2016-09-13 07:19
1.12.1

hgabor
2016-09-13 07:19
you are doing it from vagrant, right?

yls
2016-09-13 07:22
no , outside of Vagrant

hgabor
2016-09-13 07:24
what is your docker version?

yls
2016-09-13 07:25
Client: Version: 1.12.0 API version: 1.24 Go version: go1.6.3 Git commit: 8eab29e Built: Thu Jul 28 21:15:28 2016 OS/Arch: darwin/amd64 Server: Version: 1.12.0 API version: 1.24 Go version: go1.6.3 Git commit: 8eab29e Built: Thu Jul 28 21:15:28 2016 OS/Arch: linux/amd64

hgabor
2016-09-13 07:28
aha

hgabor
2016-09-13 07:28
maybe you should use 1.12.1

hgabor
2016-09-13 07:28
that is the one used inside the vagrant image

hgabor
2016-09-13 07:28
what OS do you use?

yls
2016-09-13 07:29
mac osx

hgabor
2016-09-13 07:32
can you try using a newer docker?

yls
2016-09-13 07:33
ok, i try,thanks

hgabor
2016-09-13 07:34
please tell me about the results

yls
2016-09-13 07:35
OK:ok_hand:

yls
2016-09-13 07:50
@hgabor I've tried v1.12.1,but not ok,also “cannot normalise nothing"

hgabor
2016-09-13 07:51
okay let me search for more info about that error

hgabor
2016-09-13 07:53
look: https://github.com/docker/docker/blob/master/builder/dockerfile/dispatchers_windows_test.go the error is related to file paths, so somehow somewhere docker gets a path that it is unable to normalise

hgabor
2016-09-13 07:54
could you tell me the exact process that led to the problem?

yls
2016-09-13 07:57
I write an app to deploy chaincode by restAPI

yls
2016-09-13 07:58
It’s error info is: 15:55:46.853 [rest] ProcessChaincode -> INFO 02a REST processing chaincode request... 15:55:46.853 [rest] processChaincodeDeploy -> INFO 02b REST deploying chaincode... 15:55:48.634 [container] WriteGopathSrc -> INFO 02c rootDirectory = /Users/yls/Documents/MyGo/src 15:55:48.634 [container] WriteFolderToTarPackage -> INFO 02d rootDirectory = /Users/yls/Documents/MyGo/src 15:55:58.743 [rest] processChaincodeDeploy -> INFO 02e Successfully deployed chainCode: b2cac00f82834cdb8565312ddaf70821b153d61853bf80ba1db0f444c48a43e698b92f8c645d0669d0f38d54ee0ad12acfef4c1035b8a6135e7598af245ceef6 15:55:58.743 [rest] ProcessChaincode -> INFO 02f REST successfully deploy chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"b2cac00f82834cdb8565312ddaf70821b153d61853bf80ba1db0f444c48a43e698b92f8c645d0669d0f38d54ee0ad12acfef4c1035b8a6135e7598af245ceef6"},"id":null} 15:56:04.045 [dockercontroller] deployImage -> ERRO 030 Error building images: cannot normalise nothing 15:56:04.045 [dockercontroller] deployImage -> ERRO 031 Image Output: ******************** Step 1 : FROM hyperledger/fabric-baseimage ---> 90d869298cb6 Step 2 : COPY src $GOPATH/src ---> Using cache ---> dda164e1c5c7 Step 3 : WORKDIR $GOPATH ******************** 15:56:08.762 [dockercontroller] deployImage -> ERRO 032 Error building images: cannot normalise nothing 15:56:08.762 [dockercontroller] deployImage -> ERRO 033 Image Output: ******************** Step 1 : FROM hyperledger/fabric-baseimage ---> 90d869298cb6 Step 2 : COPY src $GOPATH/src ---> Using cache ---> dda164e1c5c7 Step 3 : WORKDIR $GOPATH ******************** 15:56:08.762 [chaincode] Launch -> ERRO 034 launchAndWaitForRegister failed Error starting container: cannot normalise nothing

hgabor
2016-09-13 08:02
so you just started a peer and deployed a chaincode right?

yls
2016-09-13 08:03
yes

yls
2016-09-13 08:04
first :peer node start; second: deploy chaincode by restAPI

hgabor
2016-09-13 08:05
and which chaincode?

evelijnsaaltink
2016-09-13 08:07
has joined #general

aegorfk
2016-09-13 08:07
has joined #general

yls
2016-09-13 08:09
I write it

hgabor
2016-09-13 08:16
could you show me the deploy?

yls
2016-09-13 08:27
@hgabor it’s my code of app package main import ( "bytes" "encoding/json" "io/ioutil" "net/http" "http://github.com/hyperledger/fabric/core/util" pb "http://github.com/hyperledger/fabric/protos" "http://github.com/op/go-logging" ) // rpcRequest defines the JSON RPC 2.0 request payload for the /chaincode endpoint. type rpcRequest struct { Jsonrpc string `json:"jsonrpc,omitempty"` Method string `json:"method,omitempty"` Params *pb.ChaincodeSpec `json:"params,omitempty"` ID *rpcID `json:"id,omitempty"` } type rpcID struct { StringValue string IntValue int64 } type FundManageAPP struct { } var ( appLogger = logging.MustGetLogger("app") ) func deploy() (err error) { appLogger.Debug("---------app deploy----------") request := &rpcRequest{ Jsonrpc: "2.0", Method: "deploy", Params: &pb.ChaincodeSpec{ Type: pb.ChaincodeSpec_GOLANG, ChaincodeID: &pb.ChaincodeID{ Path: "http://github.com/hyperledger/fabric/examples/chaincode/go/funds", }, CtorMsg: &pb.ChaincodeInput{ Args: util.ToChaincodeArgs("init"), }, //Timeout:1, // SecureContext: "ks", ConfidentialityLevel: pb.ConfidentialityLevel_CONFIDENTIAL, // Metadata: adminCert.GetCertificate(), //Attributes:[]string{}, }, // ID: &rpcID{ // StringValue: "123", // IntValue: int64(123), // }, } reqBody, err := json.Marshal(request) if err != nil { appLogger.Errorf("Failed marshal request body [%s]", err) return } resp, err := http://http.Post("http://localhost:7050/chaincode", "application/json;charset=utf-8", bytes.NewBuffer(reqBody)) if err != nil { appLogger.Error(err) } defer resp.Body.Close() result, _ := ioutil.ReadAll(resp.Body) appLogger.Debugf("Resp [%s]", string(result)) appLogger.Debug("------------- Done!") return } func main() { deploy() }

warm3snow
2016-09-13 08:29
You should implement the chaincode interface. @yls

yls
2016-09-13 08:30
I have implemented

hgabor
2016-09-13 08:31
so it is this 'funds' right?

yls
2016-09-13 08:34
yes, I thank so. The code of chaincode ‘funds’ is : package main import ( "fmt" "http://github.com/hyperledger/fabric/core/chaincode/shim" "http://github.com/hyperledger/fabric/core/crypto/primitives" "http://github.com/op/go-logging" ) var myLogger = logging.MustGetLogger("fund_mgm") type FundManagementChaincode struct { } // Init method will be called during deployment. // The deploy transaction metadata is supposed to contain the administrator cert func (t *FundManagementChaincode) Init(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error) { myLogger.Debug("Init Chaincode......") myLogger.Debug("Init Chaincode...done") return nil, nil } // Invoke will be called for every transaction. func (t *FundManagementChaincode) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error) { return nil, nil } // Query callback representing the query of a chaincode // Anyone can invoke this function. func (t *FundManagementChaincode) Query(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error) { return nil, nil } func main() { primitives.SetSecurityLevel("SHA3", 256) err := shim.Start(new(FundManagementChaincode)) if err != nil { fmt.Printf("Error starting FundManagementChaincode: %s", err) } }

yls
2016-09-13 08:36
All code is on the local $gopath/src/ @hgabor

hgabor
2016-09-13 08:39
it seems to be a simple chaincode

hgabor
2016-09-13 08:40
maybe try the following... could you set chaincode logging level to debug?

yls
2016-09-13 08:41
yes, other code are deleted for debug the error

hgabor
2016-09-13 09:07
do we have a debug output?

wilshao
2016-09-13 09:11
has joined #general

yls
2016-09-13 09:15
no,nothing

yls
2016-09-13 09:16
When this error occurs,the vm not start and the chaincode not run

hgabor
2016-09-13 09:18
but have you tried with chaincode logging set to debug?

hgabor
2016-09-13 09:18
and the other logging levels set to debug, too?

justinbaird
2016-09-13 09:24
has joined #general

yls
2016-09-13 09:30
I’ll try

david.vise
2016-09-13 09:31
has joined #general

hiddely
2016-09-13 09:31
has joined #general

anka
2016-09-13 09:47
has joined #general

fabrizio.calisti
2016-09-13 10:21
has joined #general

sokrates_sf
2016-09-13 10:42
has joined #general

zhangsoledad
2016-09-13 10:59
Hello all, I have a question, does chaincode be able to deploy another chaincode?

hgabor
2016-09-13 11:05
I don't think, but it can call one

lbonniot
2016-09-13 11:10
As long as it's able to call the Grpc endpoint of one peer, it should be able to deploy, right?

oiakovlev
2016-09-13 11:12
not really - you have to try. As query is not allowed to call invoke. If you try, could you, please, post results here?

zhangsoledad
2016-09-13 11:12
shim only provides InvokeChaincode QueryChaincode

zhangsoledad
2016-09-13 11:13
need find another way

garisingh
2016-09-13 11:17
@zhangsoledad - why would you want chaincode to deploy other chaincode?

zhangsoledad
2016-09-13 11:21
ethereum contract can deploy a new contract

garisingh
2016-09-13 11:32
sure - but do you have an actual use case? I would not really equate chaincode directly to an ethereum contract

soldat
2016-09-13 12:05
has joined #general

marcelo
2016-09-13 12:07
has joined #general

venkat
2016-09-13 12:10
just wondering - the secureContext attribute in the REST API call has only user name. Does this mean chaincode REST API is invokved only inside trusted contexts that don't require tokens or certs?

jake.turner
2016-09-13 12:12
When cloning fabric v0.6 (and using Vagrant), when I start the membersrvc, nothing is output (it did in v0.5). When I run 'docker ps -a' it also doesn't show the membersrvc and peer docker containers running. Any idea why this is happening?

yls
2016-09-13 12:14
When i deploy chaincode on my mac outside of vagrant, an error occur。why? vp0_1 | 11:53:04.734 [dockercontroller] Start -> ERRO 45a start-could not recreate container Post http://unix.sock/containers/create?name=dev-vp0-3dd5c48d37b5a5c7fc1f7caccb523b1cd3deb3c210646c8039dc11f5928aeb36d091805e7826e774b17f37006342586580344e55c654f01674972d10c4df5370: dial unix /var/run/docker.sock: connect: no such file or directory

garisingh
2016-09-13 12:28
@yls - how are you running the peer? As a Docker container?

gdthomas
2016-09-13 12:37
has joined #general

zhangsoledad
2016-09-13 12:53
@garisingh just curious, not actual use, i’m learning

yls
2016-09-13 12:56
@garisingh yes

garisingh
2016-09-13 12:59
if using docker compose as well, here's the compose file I use: ``` vp0: image: hyperledger/fabric-peer container_name: vp0 volumes: - /var/run/docker.sock:/var/run/docker.sock ports: - "7050:7050" - "7051:7051" - "7053:7053" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 command: peer node start ```

garisingh
2016-09-13 13:00
I think I might need to update the readthedocs because I missed mounting the volume there

garisingh
2016-09-13 13:00
``` volumes: - /var/run/docker.sock:/var/run/docker.sock ```

yls
2016-09-13 13:02
yes, I try it


donnieg
2016-09-13 13:51
I run those fabric images days ago.. how to run it again..

nowhere
2016-09-13 13:51
has joined #general

blafontaine
2016-09-13 14:30
has joined #general

balakrishna
2016-09-13 14:31
Hi, I have a question regarding the chaincode data retrieving from table. I have created a table with 3 cols (a,b,c) {given a,b are keys}. Now can i retrieve values from table using only one key ?

mbreton
2016-09-13 14:40
has joined #general

pphinney
2016-09-13 14:43
has joined #general

yale.reinstein
2016-09-13 14:56
has joined #general

echenrunner
2016-09-13 15:28
Hi, I'm able to login using CLI but can't using REST ===> curl -d "@login.json" -H "Content-Type: application/json" -X POST http://localhost:5000/registrar {"Error":"Missing configuration key rest.validPatterns.enrollmentID"}

omafe
2016-09-13 15:39
has joined #general

karnn
2016-09-13 16:05
has joined #general

vladb
2016-09-13 16:23
has joined #general

mitchkman
2016-09-13 17:29
has joined #general

ghaskins
2016-09-13 17:44
@donnieg not sure whats up with the images on dockerhub, but what we have there isnt fully usable yet anyway

ghaskins
2016-09-13 17:45
in the middle of reworking this and it should be better soon

garisingh
2016-09-13 17:46
@ghaskins - got donnieg up and running using some docker-compose

ghaskins
2016-09-13 17:46
cool

ghaskins
2016-09-13 17:46
@garisingh how are you guys even working with whats there?

ghaskins
2016-09-13 17:46
dont you blow up when deploying code?

ghaskins
2016-09-13 17:47
(on account of the baseimage:latest thing)?

garisingh
2016-09-13 17:49
good point - doesn't ever effect me because I always have it tagged because I do builds natively on both my Mac and Linux systems. But good point.

garisingh
2016-09-13 17:50
within IBM when we tell others, we tell them to tag it first

vzhou
2016-09-13 18:24
Hi, is the plan to eventually have the peers running in processes and not in Docker containers? Thanks!

cms
2016-09-13 18:39
has joined #general

andrewquentson
2016-09-13 19:05
has joined #general

echenrunner
2016-09-13 19:58
does anyone know a better way of TCERT from aliceCert1, err := alice.GetTCertificateHandlerNext("role", "account1", "contactInfo") without writing a program. I am looking to pass the aliceCetr1 as part of my invoke in the json

edward
2016-09-13 20:21
has joined #general

ghaskins
2016-09-13 20:24
@vzhou peers can already run as native processes

ghaskins
2016-09-13 20:24
note that chaincode currently runs in docker, though

vzhou
2016-09-13 20:25
do we need to build from source to do so?

ghaskins
2016-09-13 20:25
yes

ghaskins
2016-09-13 20:25
at some point, there will likely be fabric-peer.[rpm|deb] but there is still some work to be done to get there

ghaskins
2016-09-13 20:26
in the shorter term, the path of least resistance will be either building from source, or docker-based

vzhou
2016-09-13 20:27
alright, thanks for the info!

ghaskins
2016-09-13 20:33
yw

levgoldberg
2016-09-13 21:08
has joined #general

schlegde
2016-09-13 22:11
has joined #general

leoyu
2016-09-14 01:58
has joined #general

andrew_heperldeger
2016-09-14 02:28
has joined #general

andrew_heperldeger
2016-09-14 02:32
does anyone test the benchmark?

zhangsoledad
2016-09-14 02:44
I find a interesting feature, i deployed a chaincode with a name, then i modify code, deploy with same name, the name will reference new chaincode, so it can implement chaincode update, but reference chaincode by name only work in 'dev' mode.

xinghua
2016-09-14 03:18
has joined #general

xinghua
2016-09-14 03:24

bgorman
2016-09-14 03:30
@xinghua are you asking about the bdd_test_util error or the make peerBuilding errors?

xinghua
2016-09-14 03:58
make all Building errors

bgorman
2016-09-14 03:59
do you have the source file for that bdd_test_util? `bddtests/steps/bdd_test_util.py`

xinghua
2016-09-14 04:02
root@10:/home/mpsp/go/src/github.com/hyperledger/fabric# locate bdd_test_util.py /home/mpsp/go/src/github.com/hyperledger/fabric/bddtests/steps/bdd_test_util.py /home/mpsp/go/src/github.com/hyperledger/fabric/bddtests/steps/bdd_test_util.pyc

xinghua
2016-09-14 04:06
bdd_test_util.py is ok

bgorman
2016-09-14 04:07
behave seems to handle all the python stuff internally.... maybe your python path is too long or something odd?

xinghua
2016-09-14 04:08
how to set the environment of bdd_test_util.py?

xinghua
2016-09-14 04:11
sorry, i have an important meeting now. i will be back in about 2 houra,

zhangsoledad
2016-09-14 04:23
In Fabric each chaincode is deployed in separate Docker container, when a chaincode invoke another chaincode, are they communicate between container?

bgorman
2016-09-14 05:11
@zhangsoledad it might be via the peer, but yes

bgorman
2016-09-14 05:18
@xinghua I mean it might be using something like your $PYTHONPATH or $PYTHONHOME variable (if you have one)

zhangsoledad
2016-09-14 05:53
@bgorman appreciate

mingjinc
2016-09-14 06:15
has joined #general

odowdaibm
2016-09-14 08:40
has joined #general

mikkop
2016-09-14 09:15
has joined #general

sumitks
2016-09-14 09:31
has joined #general

benjamindelmee
2016-09-14 09:42
has joined #general

arash
2016-09-14 09:46
has joined #general

donovanhide
2016-09-14 11:08
has joined #general

iolt
2016-09-14 12:54
has joined #general

moniquevanmaare
2016-09-14 13:02
has joined #general

fabcan
2016-09-14 13:37
has joined #general

wale
2016-09-14 14:57
has joined #general

rmlinden
2016-09-14 17:16
has joined #general

chrissharp80
2016-09-14 17:29
has joined #general

jorilac
2016-09-14 18:16
has joined #general

iq2io
2016-09-14 19:06
has joined #general

gdhh
2016-09-14 19:14
has joined #general

ssamipillai
2016-09-14 19:36
has joined #general

zigjam
2016-09-14 20:11
has joined #general

leuchine
2016-09-15 02:36
has joined #general

arckar2016
2016-09-15 04:29
has joined #general

madmanbts
2016-09-15 05:40
has joined #general

leuchine
2016-09-15 06:13
i just start to use chaincode. can i ask a question


leuchine
2016-09-15 06:13
but when i start to run chaincode_example02

leuchine
2016-09-15 06:14
i get the following errors

leuchine
2016-09-15 06:14
2016/09/15 14:05:53 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: connectex: The requested address is not valid in its context."; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/09/15 14:05:54 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: connectex: The requested address is not valid in its context."; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/09/15 14:05:55 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: connectex: The requested address is not valid in its context."; Reconnecting to {"0.0.0.0:7051" <nil>}

leuchine
2016-09-15 06:14
anyone know the reasons? thanks a lot :slightly_smiling_face:

leuchine
2016-09-15 06:20
besides, i use option 2 with docker

bgorman
2016-09-15 07:01
@leuchine you either need to set the CORE_PEER_ADDRESS correctly (or peer: address: in peer/core.yaml) or... set the CORE_PEER_ADDRESSAUTODETECT=true (peer: addressAutoDetect: true)

bgorman
2016-09-15 07:01
0.0.0.0:7051 isn't a valid IP, you could try 127.0.0.1:7051

mrcso
2016-09-15 07:41
has joined #general

sbalasub
2016-09-15 08:32
has joined #general

raga2560
2016-09-15 08:50
has joined #general

llewclaasen
2016-09-15 09:25
has joined #general

warong
2016-09-15 09:38
has joined #general

suhas.chatekar
2016-09-15 12:24
has joined #general

ankesh21
2016-09-15 12:27
has joined #general

ankesh21
2016-09-15 12:30
hi All

ankesh21
2016-09-15 12:31
i am facing some issue while connecting to hyperledger peer set up on my windows7 machine using docker toolbox.

ankesh21
2016-09-15 12:32
i started the required images on docker toolbox

ankesh21
2016-09-15 12:32
but can 't connect

ankesh21
2016-09-15 12:32
to any peer

ankesh21
2016-09-15 12:32
do i need to do some more settings

ankesh21
2016-09-15 12:35
i used below link


ankesh21
2016-09-15 12:35
Option 3

skorpion7777
2016-09-15 12:56
has joined #general

annap
2016-09-15 13:09
@ankesh21..same issues here..there have been no good solutions I have come across so far..have had lots of help from @rajeshsubhankar but problem is not solved yet....have not yet managed to get it to work

shenthilkumarck
2016-09-15 13:15
Hi, is it possible to test hyperledger without installing docker?

shenthilkumarck
2016-09-15 13:15
like 4 VM

ghaskins
2016-09-15 13:57
@shenthilkumarck short answer: no

ghaskins
2016-09-15 13:57
long answer: you dont need to run the peer network in docker, but the peer itself uses docker to run chaincode

ghaskins
2016-09-15 13:57
so even if you run it natively, docker still needs to be present

shenthilkumarck
2016-09-15 13:58
Got it, Thanks @ghaskins

ghaskins
2016-09-15 13:59
yw

shenthilkumarck
2016-09-15 13:59
will the setup true for production also?

shenthilkumarck
2016-09-15 14:00
@ghaskins

ghaskins
2016-09-15 14:00
unless some architectural thing changes, yes

ghaskins
2016-09-15 14:01
we use docker as part of the isolation mechanism for the chaincode

ghaskins
2016-09-15 14:01
(though the “isolation” part is still pretty weak today

ghaskins
2016-09-15 14:01
but that will eventually be locked down (or switched to something else)

shenthilkumarck
2016-09-15 14:07
@ghaskins Thank you so much

ian.pattison
2016-09-15 14:14
has joined #general

colinscripts
2016-09-15 14:18
has joined #general

bobatibm
2016-09-15 14:35
has joined #general

andriian
2016-09-15 14:49
Hi, Is it correct that no information in ledger can be protected from viewing by every Validation peer in a native way? Let's say I put a document into ledger. And I need some fields of the document be visible to subset of validating peers only. In that case I need to cipher the values and share the key to the subset of VP outside of the ledger.

lbonniot
2016-09-15 14:58
@andriian hi! That's how I would proceed, but I'm really interested to know if a native way is available / is planned

lbonniot
2016-09-15 14:58
maybe with transaction confidentiality / endorsement policies (planned in the next architecture I think)

fabcan
2016-09-15 15:45
Hi! I'm trying to understand fabric a little better and I have read almost all the documentation and whitepapers, I've still some important questions and I'm not completely sure where to ask them. The questions span from "how I make it all in one War file?" to "what DB is using to store the blockchain?", any help would be appreciated

andriian
2016-09-15 16:04
@fabcan Hi. "what DB is using to store the blockchain?" - it is RocksDB, which is key/value type DB

fabcan
2016-09-15 16:05
Thanks!

gnsortino
2016-09-15 16:20
I don't know the answer to that but I doubt its using a database in the traditional sense of the term

gnsortino
2016-09-15 16:25
It's a good question because I don't believe I've come across any documentation discussing storage. My suspicion is that it uses a similar process to the bitcoin ledger/blockchian, which I think is basically just writing out to the filesystem but I haven't hunted through the hyperledger code base enough to be able to say.

arvin
2016-09-15 17:06
has joined #general

arvin
2016-09-15 17:30
@ghaskins setup for production the recommend ways is?

ghaskins
2016-09-15 17:31
I think you’d be better off talking to some of the folks who have deployed it in more production like scenarios (like the bluemix folks)

ghaskins
2016-09-15 17:31
im still in the “run devmode on my laptop vagrant” for most things these days :wink:

ghaskins
2016-09-15 17:32
i forsee the future will have a well supported docker deployment model, and probably a major distro package model

ghaskins
2016-09-15 17:32
but not sure which direction things will head quite yet

arvin
2016-09-15 17:51
@ghaskins :+1: Is there some real case used by fabirc? I really really want to know

arvin
2016-09-15 17:53
@ghaskins now i have deployed by 4 HOST

arvin
2016-09-15 18:15
@ghaskins now i have deployed by 4 HOST,1 VP(container )+membersrvc (container),3 VP(container ). I deploy example02 chaincode with POST host:7050/chaincode and I see success log . if i query the [a] , I got the ledger not found err. The chaincode container is not run actually ? Thank you for your reply.:+1:

isgandar
2016-09-15 20:32
has joined #general

szlaci83
2016-09-15 22:18
@arvin when you deploy do you see new containers with the name vp1-dev-chaincodehash, vp2-dev-hash etc starting up? Might take some time after deploy (initially a minute even) check docker status with docker ps -a...

szlaci83
2016-09-15 22:25
When you deploy you get the chaincodehash even if the deploy was not succesful (at least in v0.5)

mattgallea
2016-09-16 00:05
has joined #general

junquec
2016-09-16 00:32
has joined #general

ourui
2016-09-16 00:48
has joined #general

forest_wow
2016-09-16 02:02
has joined #general

zhangbitao
2016-09-16 02:05
has joined #general

hunkguo
2016-09-16 02:05
has joined #general

ha7da8
2016-09-16 02:21
has joined #general

shenthilkumarck
2016-09-16 03:27
@arvin Did you change the chainname to the new hex value returned when you deplay? I too faced the same issue. After changing the name to the hex value, I am able to invoke and query it

chrischris
2016-09-16 03:55
has joined #general

venkat
2016-09-16 04:05
I just heard that the REST API on fabric would be deprecated soon and gRPC would be the only way to communicate with fabric. This sounds strange to me, as I feel REST is still way more popular and well-understood than gRPC for enterprise integrations. Can someone throw light on the rationale behind this decision? Thanks.

venkat
2016-09-16 04:07
@cbf, @garisingh, @binhn ?

venkat
2016-09-16 04:10
My question is, for simple cases where the existing REST API is good enough, why should we force an extra layer of complexity by way of having to maintain a nodejs/hfc client?

arvin
2016-09-16 04:46
@szlaci83 I deploy by 0.0.10,On one host dev environment it will be success(and i can see the vp1-dev-chaincodehash ),I can't get this when deploy on 4 Host.

arvin
2016-09-16 04:50
@shenthilkumarck I have try this way,It will be success. Why I deploy on 4Host with net mode,the log still tell me you config is dev.

lihaoguo
2016-09-16 05:07
has joined #general

ranjan008
2016-09-16 05:14
I am running the java chaincode SImpleSample which is given in the example but when i am trying to invoke the chaincode with this command

ranjan008
2016-09-16 05:14
peer chaincode deploy -l java -n SimpleSample -c '{"Args": ["init", "a","b", "100", "200"]}' -u admin

ranjan008
2016-09-16 05:15
Its giving me this error 05:12:15.572 [ledger] sendProducerBlockEvent -> ERRO 01e Error unmarshalling deployment transaction for block event: proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group

ranjan008
2016-09-16 05:16
what am i doing wrong

szlaci83
2016-09-16 05:25
@ranjan008 i guess its {"Args": ["init", "a","100", "b", "200"]}

shenthilkumarck
2016-09-16 05:27
@arvin Hope you didn't start the peer with --peer-chaincodedev

szlaci83
2016-09-16 05:27
as int valA = Integer.parseInt(args[1]); int valB = Integer.parseInt(args[3]);

shenthilkumarck
2016-09-16 05:27
@ranjan008 You are correct

shenthilkumarck
2016-09-16 05:28
Sorry @szlaci83 you are correct @ranjan008 please correct it

szlaci83
2016-09-16 05:28
:slightly_smiling_face:

shenthilkumarck
2016-09-16 05:30
@ranjan008 I think you did not specify the chaincode path

shenthilkumarck
2016-09-16 05:30
peer chaincode deploy -l java -p /opt/gopath/src/github.com/hyperledger/fabric/examples/chaincode/java/SimpleSample -c '{"Args": ["init", "a","100", "b", "200"]}'

shenthilkumarck
2016-09-16 05:30
it should be like this

ranjan008
2016-09-16 05:43
I tried with this path now it gave me this error 05:41:45.892 [chaincode] Launch -> ERRO 02e sending init failed(handler not found for chaincode ) 05:41:45.892 [chaincode] Launch -> ERRO 02f stop failed chaincode name not set(Failed to init chaincode(handler not found for chaincode ))

ranjan008
2016-09-16 05:49
I think because the name attrib is not there thats why it gave this error but when i tried with the name attibute it gave the same error as previous one

shenthilkumarck
2016-09-16 05:57
While deploying name is not necessary, Once you successfully deployed you will get a hash value. You should use that hash value as name while query and invoke.

ranjan008
2016-09-16 06:00
then without name its giving the handler error

ranjan008
2016-09-16 06:00
which i mentioned above

shenthilkumarck
2016-09-16 06:05
I use the following

shenthilkumarck
2016-09-16 06:05
peer chaincode deploy -l java -n SimpleSample -c '{"Function": "init", "Args": ["a","100", "b", "200"]}'

shenthilkumarck
2016-09-16 06:07
" /home/shen/go/src/github.com/hyperledger/fabric/core/chaincode/shim/java$ peer chaincode invoke -l java \ -n fd1559544f1353da718c56abe4c89d3e40335abf92e542258fda4e3b2f33125920394e69f2daf5eb55b77c2978f0c39452122cb8f10f56275d31ede89dc0aeb2 \ -c '{"Function": "transfer", "Args": ["a","b", "20"]}' "

shenthilkumarck
2016-09-16 06:08
I used the above one it went fine

ranjan008
2016-09-16 06:08
you specified path in deploy or in transafer

shenthilkumarck
2016-09-16 06:10
Only while deploy

ranjan008
2016-09-16 06:12
can you show how you ran the project i suppose i might have done something wrong somewhere

ranjan008
2016-09-16 06:12
chaincode project

ankesh21
2016-09-16 06:14
is there some document to install hyperledger on linux

ranjan008
2016-09-16 06:15
try this


cybersphaker
2016-09-16 06:22
has joined #general

humblealex
2016-09-16 06:29
has joined #general

sachijos
2016-09-16 06:42
has joined #general

humblealex
2016-09-16 06:58
Does anyone know how to check the CA related information in RocksDB? Since once logged in, you don't need to input password anymore. Something must have been written in RocksDB?

ankesh21
2016-09-16 07:00
thanks @ranjan008 ,but i tried this link to set up the environment on windows using dockr toolbox.But i am unable to connect to peer node .Not sure why this is happening

abhishekseth
2016-09-16 07:01
Hey all, I had some doubt: Let say there are 4 peers who did transaction at the same timestamp and assume all those transactions try modifying the data of the same person. How will it work? Whose transaction will be validated and added since there is no time lag among these 4 transactions.

ranjan008
2016-09-16 07:06
@ankesh21 can't tell you about docker i am using vagrant for hyperledger

ankesh21
2016-09-16 07:07
ohk

szlaci83
2016-09-16 07:19
@humblealex as far as i know the login info is stored locally, not in peers (rocksdb)

szlaci83
2016-09-16 07:20
I think its /var/hyperledger/client

szlaci83
2016-09-16 07:24
@ankesh21 how are you trying to connect?

szlaci83
2016-09-16 07:27
@abhishekseth i think/hope there is a mechanism in db level to avoid inconsistency

humblealex
2016-09-16 07:34
@szlaci83 thanks for your reply. I have found it! it is under /var/hyperledger/production/client. very much appreciated.

lenh
2016-09-16 07:59
has joined #general

gaiaines
2016-09-16 08:03
has joined #general

apitkevich
2016-09-16 08:03
has joined #general

szlaci83
2016-09-16 08:18
@humblealex no problem

humblealex
2016-09-16 08:37
@abhishekseth I think that depends on the consensus mode. In PBFT, the request will be validated through peers first, and then transaction will be executed on each peer locally, of course the blocks will also be added locally. ONly after a certain number of transactions, the block info will be validated through peers. It doesn't matter when the transaction gets executed.

abhishekseth
2016-09-16 08:49
@humblealex , Consider two peers debit an amount of 100 rs at exactly same time from an a/c which does have only 100 rs. So, whose transaction will be validated. I mean how to handle these kinds of situtaions?

humblealex
2016-09-16 08:58
@abhishekseth In that case, the two peers both have the blocks with the information of having 100 rs in that account, when the transactions got exectuted on both peer individually, they will both have 100 rs deducted and the result will be added to the blocks respectively. In the current fabric, the result is not validated through consensus. In your case, if the client query the peer who hasn't finished the transaction, he will get the wrong result.Only if he wait a little while until both peers finish the transaction.

humblealex
2016-09-16 09:18
@abhishekseth I once deployed a chaincode which creates ramdon numbers. But still the transactions got executed and all the peers had different results written in the blocks. There is news indicating that they are now focusing on the consensus issues.

ranjan008
2016-09-16 09:24
can we modify the .yaml file which is inside the chaincode after deploying it to the chain

garisingh
2016-09-16 09:31
@abhishekseth - transactions will be processed in order - so one of the debit transactions will be executed before the other. Remember that executing a transaction actually runs the chaincode. So in your chaincode of course you would check to make sure that the account had a sufficient balance before actually applying the debit.

titankay
2016-09-16 09:34
has joined #general

vivien.quema
2016-09-16 09:42
has joined #general

abhishekseth
2016-09-16 09:44
@garisingh what if both the transaction were done on different peers at the exactly same time?

garisingh
2016-09-16 09:49
all transactions will go through consensus first for ordering

garisingh
2016-09-16 09:51
so let's say client1 submits transaction to peer1 and and client2 (or could be client1) peer2 at exactly the same time. With PBFT, both peer1 and peer2 will then "submit" the transaction to consensus which will order the transactions and send back to all the peers who will than execute the transactions in order

abhishekseth
2016-09-16 09:57
okay, got it.. thanks

blockcode
2016-09-16 09:59
has joined #general

martinmezger
2016-09-16 10:11
has joined #general

cbf
2016-09-16 11:15
@venkat: we are consolidating on one means of access for security (less exposed surface area) and to reduce complexity and potential for technical debt. we are focusing attention on the node (and other) SDKs as the preferred means of interacting with the fabric components via grpc.

cbf
2016-09-16 11:24
@ranjan008: modifying the core.yaml after starting the peer will likely have no effect. There is a certain amount of caching of the config at start-up. you are better off using environment variables at start-up to make config changes. This is an area we recognize needs improvement.

ranjan008
2016-09-16 11:27
@cbf that's right but i am not talking about the core.yaml file i am talking about the yaml file which is given under chaincode folder under example there is chaincode in go with name "asset_management02" which contains a yaml file.

qianguozheng
2016-09-16 11:30
has joined #general

andriian
2016-09-16 11:33
Hi. Is there as simple way to get quantity of rows and apply filtering on shim.Table? It's something like table.RowsQuantity property and table.Filter(column = column1, filter = "done")

claudiapop
2016-09-16 12:11
has joined #general

muralisr
2016-09-16 12:17
@ranjan008 I assume you have privacy on. then that error can be ignored. the event system is trying to unmarshall the payload so it can nil the large deploy payload before sending the event out but cannot decrypt it (hence the “error”) …. also can we take this to java-chaincode channel please ?

cbf
2016-09-16 12:20
@cbf set the channel purpose: This channel is for hyperledger-wide communication and announcements. All members are in this channel.

cbf
2016-09-16 12:21
@cbf set the channel purpose: This channel is for hyperledger-wide communication and announcements. All members are in this channel. For specific questions about a project, please use #fabric, #blockchain-explorer or #stl channels.

ranjan008
2016-09-16 12:35
@muralisr thanks for this and the heads up i have joined that channel i will post further there only .

middleton
2016-09-16 12:36
@middleton set the channel purpose: This channel is for hyperledger-wide communication and announcements. All members are in this channel. For specific questions about a project, please use #fabric, #blockchain-explorer or #sawtooth channels.

cecile-credits
2016-09-16 12:42
has joined #general

silliman
2016-09-16 12:51

lenh
2016-09-16 12:52
thanks @silliman

ritaolivmz
2016-09-16 13:06
has joined #general

ogawatetsuo
2016-09-16 13:24
has joined #general

arconederveen
2016-09-16 13:50
has joined #general

arconederveen
2016-09-16 13:53
join #fabric

fabcan
2016-09-16 14:16
Any idea on how I may contact them?

garisingh
2016-09-16 14:19
@fabcan - what type of info are you looking for?

fabcan
2016-09-16 14:25
well, that is a good question too. I'm evaluating Hyperledger for a project of mine, but I'm feeling a bit lost on how to transform it from a Development test to a production level component

leuchine
2016-09-16 14:41
Hi all. I find this when installing fabric develpment environment "Note that your Host should not run within a VM. If you attempt this, the VM within your Host may fail to boot with a message indicating that VT-x is not available."

leuchine
2016-09-16 14:41
any way to avoid this problem because i am trying to build the environment onto microsoft azure which will certainly have a host machine

leuchine
2016-09-16 14:41
thanks :slightly_smiling_face:

venkat
2016-09-16 14:46
@cbf - Thanks for the clarification on moving to gRPC. Somehow I still feel removing support for REST could be a little inconvenient to users. Will read more about gRPC vs REST.

garisingh
2016-09-16 14:49
@venkat - I think I mentioned this elsewhere - removing REST from the peer does not mean we can't provide a REST API "server" which communicates with the peers. We'll get to that as we progress

venkat
2016-09-16 14:55
Ah - that is exactly what I was looking for. If I'm writing a chaincode app for tracking changes to a single table, can I just rely on using REST? If the answer is yes, then I can defer my HFC/Node stuff to later when I really need it.

gnsortino
2016-09-16 15:02
When using PutState is it possible for the value to be anything other than a string of bytes? For example, if the PutState call defines a transaction could there be information about why the transaction is made, etc... effectively adding some sort of metadata. Or alternatively is there another data structure one would use to record this sort of information?

leo666
2016-09-16 15:09
has joined #general

venkat
2016-09-16 15:10
@garisingh - removing REST on validating peers should not be a concern, as the apps mostly connect to non-validating peers. However, can yu assure that the NV peers will continue to support REST for forseeable future?

garisingh
2016-09-16 15:12
@venkat - once we finalize the v0.6 branch / release of fabric, we won't be making any major changes to that codebase. The focus will move to focus on the fabric.next architecture (fabric v1.0). So we won't be ripping anything out of the v0.6 codebase. In fabric v1.0, we won't have the concept of NVPs and we won't have a transactional REST interface built into the various peer nodes

venkat
2016-09-16 15:13
Got it. Thanks!

vitoyu
2016-09-16 15:20
has joined #general

aramrogue
2016-09-16 15:23
has joined #general

cerveny
2016-09-16 15:56
has joined #general

rahul.naithani
2016-09-16 16:57
has joined #general

echenrunner
2016-09-16 17:08
can't enroll user(admin) after I corrected the enrollSecret. - getting Failed registering client [admin]: [x509: certificate signed by unknown authority]

paulsomb
2016-09-16 20:25
has joined #general

jwhelan
2016-09-16 20:58
has joined #general

pablo
2016-09-16 23:43
has joined #general

jwolpert
2016-09-17 00:37
https://vimeo.com/183048793 Some designers work — donating to community.

pshah1
2016-09-17 00:48
has joined #general

bis
2016-09-17 02:30
has joined #general

ranjan008
2016-09-17 07:51
I am able to send a transaction and in return i am also getting a transaction id but later when i am trying to get the transaction with that transaction id it is giving me this error "Error":"Transaction f5441bc8-1334-40e4-995d-965f5d359c1a is not found."

ranjan008
2016-09-17 07:52
@garisingh what might i be doing wrong?

garisingh
2016-09-17 08:26
transactions are processed asynchronously so even though you get the transaction id back upon submitting the transaction, it does not mean that the transaction has completed and/or was successful. You might want to check the logs of your peer to see if there are any errors processing the transaction

ranjan008
2016-09-17 08:48
In the logs i am getting this when i am submitting the transaction INFO 0ab REST successfully submitted invoke transaction: {"jsonrpc":"2.0","result":{"status":"OK","message":"f5441bc8-1334-40e4-995d-965f5d359c1a"},"id":1}

garisingh
2016-09-17 09:13
what about anything having to do with invoking chaincode?

lee
2016-09-17 12:10
has joined #general

jamerson
2016-09-17 14:55
has joined #general

jrryan99
2016-09-17 17:13
has joined #general

rabbit
2016-09-17 18:04
has joined #general

fredericm
2016-09-17 23:04
has joined #general

hhadass
2016-09-17 23:40
has joined #general

ygizhitsa
2016-09-18 00:04
has joined #general

fyn
2016-09-18 01:20
has joined #general

ericyang
2016-09-18 01:35
has joined #general

vampire
2016-09-18 02:21
has joined #general

teddy
2016-09-18 03:03
has joined #general

xiaodaitu
2016-09-18 08:53
has joined #general

yls
2016-09-18 09:16
hi : when i run “crypto.RegisterClient("lukas", nil, "lukas", "NPKYL39uKbkj”)”, an error “Property not specified in configuration file. Please check that property is set: peer.fileSystemPath” occur. Why? What should I do?

adeelqureshi
2016-09-18 16:34
Hi fellows, been trying to run the marbles demo in my local (single peer) bare bones environment by following this tutorial https://github.com/IBM-Blockchain/marbles/blob/master/tutorial_part1.md#confignetwork I'm stuck at the step where I issue the "gulp" command but it doesn't deploy the chain code ...... spitting out this error ``` looks like a deploy error, holding off on the starting the socket { name: 'deploy() error no cc name', code: 502, details: { jsonrpc: '2.0', error: { code: -32001, message: 'Deployment failure', data: 'Error when deploying chaincode: Error getting chaincode package bytes: Error getting code \'go get\' failed with error: "exit status 2"\n# http://github.com/ibm-blockchain/marbles-chaincode/hyperledger/part2\n/opt/gopath/_usercode_/417747249/src/github.com/ibm-blockchain/marbles-chaincode/hyperledger/part2/part2_chaincode.go:67: cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start:\n\t*SimpleChaincode does not implement shim.Chaincode (wrong type for Init method)\n\t\thave Init(*shim.ChaincodeStub, string, []string) ([]byte, error)\n\t\twant Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error)\n' }, id: 1474215996867 } } ```

adeelqureshi
2016-09-18 16:35
I imagine this is due to the interface change that my local Go Compiler isn't happy with

adeelqureshi
2016-09-18 16:35
What is the work around to still make that change and deploy this code on my local network ?

adeelqureshi
2016-09-18 18:25
Okay i solved the above issue by forking this repo and changing to `shim.ChaincodeStubInterface` manually in my own repo

adeelqureshi
2016-09-18 18:26
Now the deployment goes through but it throws another error below if any one can help with that please ``` [preflight check] 7 : testing if chaincode is ready [http POST - e] /chaincode body: {"jsonrpc":"2.0","method":"query","params":{"type":1,"chaincodeID":{"name":"320d8e295b35fac638de5b1b9eabc279e7d73daccb62e1930f97b91038e472f8035c5feb0df577329bdd3eef6513a3cdce770fe965363649f2b5ac2139f993a6"},"ctorMsg":{"function":"read","args":["_marbleindex"]}},"id":1474223044852} [http POST - e] Status code: 200 [ibc-js] read - success: { jsonrpc: '2.0', error: { code: -32003, message: 'Query failure', data: 'Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for 320d8e295b35fac638de5b1b9eabc279e7d73daccb62e1930f97b91038e472f8035c5feb0df577329bdd3eef6513a3cdce770fe965363649f2b5ac2139f993a6 - LedgerError - ResourceNotFound: ledger: resource not found)' }, id: 1474223044852 } ```

garisingh
2016-09-18 19:31
@adeelqureshi - hard to say - either a timing issue (you queried before the chaincode was ready) or potentially you did not start the chaincode binary?

muralisr
2016-09-18 19:34
@garisingh @adeelqureshi … another possibility . Once you changed your chaincode, the ID no longer matches “320d8e295b35fac638de5b1b9eabc279e7d73daccb62e1930f97b91038e472f8035c5feb0df577329bdd3eef6513a3cdce770fe965363649f2b5ac2139f993a6"

garisingh
2016-09-18 19:37
good point @muralisr :wink:

muralisr
2016-09-18 19:39
sigh, oh for the day when we can just say -n mycc :slightly_smiling_face:

muralisr
2016-09-18 19:41
hopefully not too far away into the future as part of the next release work

ts
2016-09-18 21:42
has joined #general

mkaps
2016-09-19 00:22
has joined #general

sky
2016-09-19 01:22
has joined #general

yls
2016-09-19 03:18
hi all: I find the parameters(function and args ) of Init or Invoke or Query in chaincode is encoded. Why? How to decode?

h
2016-09-19 03:30
has joined #general

bgorman
2016-09-19 03:32
@yls they are probably base64 encoded if anything

bgorman
2016-09-19 03:32
you should be able to decode it like this: https://gobyexample.com/base64-encoding

yls
2016-09-19 03:35
@bgorman I’ll try it. thanks

mattclark
2016-09-19 06:47
has joined #general

arvin
2016-09-19 07:36
is there someway i can deployed on 4 Host?

lenh
2016-09-19 07:51
hi all: am hoping someone can help, has anyone got a chaincode dev env setup using Vagrant to spin up a VM which in turn runs the Fabric etc Docker images?

frankeisenhardt
2016-09-19 07:56
has joined #general

silentspark
2016-09-19 09:20
If we want to leverage existing CA center to issue Ecert instead of membersrvc node, is there any practice

oleksandr.redko
2016-09-19 09:52
has joined #general

vmanoria
2016-09-19 11:23
has joined #general

granny
2016-09-19 11:29
has joined #general

vmanoria
2016-09-19 11:40
@vmanoria uploaded a file: https://hyperledgerproject.slack.com/files/vmanoria/F2D51BCNM/dev-error.png and commented: Hi, I am facing this problem when I run 'vagrant up' while trying to follow steps mentioned in https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md for Windows 2012 server. Any suggestions?

ghaskins
2016-09-19 12:30
@vmanoria: v0.0.11 for vbox should be available. Perhaps you are having a problem reaching atlas?

muthu
2016-09-19 12:44
has joined #general

dsanchezseco
2016-09-19 13:12
has joined #general

curtinm
2016-09-19 13:52
has joined #general

bphilip
2016-09-19 14:20
has joined #general

echenrunner
2016-09-19 15:35
Hi guys, last week to reported that I can't enroll a user after I corrected the password and was getting "Failed checking signing enrollment certificate for signing: [x509: certificate signed by unknown authority] ''

echenrunner
2016-09-19 15:37
and the problem and the reason and fix. where can i post it. Thnak you

middleton
2016-09-19 15:39
Heads-up on Sawtooth restructure. We've moved most of core/ into validator/ including gossip, journal, and ledger. Those are not backward compatible changes. If you need the previous structure please use 0.6.

auerossi
2016-09-19 17:59
has joined #general

esonchai
2016-09-19 20:03
has joined #general

arvin
2016-09-20 02:19
@vmanoria try it again

arvin
2016-09-20 03:28
vp0_1 | 03:27:42.306 [rest] processChaincodeDeploy -> ERRO 03c Chaincode name may not be blank in development mode. vp0_1 | 03:27:42.306 [rest] ProcessChaincode -> INFO 03d REST successfully deploy chaincode: {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params","data":"Chaincode name may not be blank in development mode."},"id":1}

arvin
2016-09-20 03:29
why i can't use POST ip:7050/chaincode deploy example chaincode02 { "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID":{ "path":"http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" }, "ctorMsg": { "function":"init", "args":["a", "10000", "b", "10000"] }, "secureContext": "jim" }, "id": 1 }

arvin
2016-09-20 03:35
where can i modify the mode?is this config:/hyperledger/peer/core.yml peer:networkId:dev,test and chaincode:mode:det,dev ,is any others?

yls
2016-09-20 04:04
Hi guys: How to add(register) a new user in the hyperledger system? Other than the default user who defined in membersrvc.yaml, like lukas or diego.

yls
2016-09-20 04:05
Have any REST API??

shimron
2016-09-20 04:07
@yls there are some CA APIs which defined under membersrvc/ca packages


yls
2016-09-20 04:12
Thanks,I’ll try it. but why have not restAPI?

shimron
2016-09-20 04:19
@yls no idea. I also tried to add new users with CA apis, well…, i did not figure it out, not yet

yls
2016-09-20 04:31
@shimron Haha

kmohanar
2016-09-20 05:12
has joined #general

yug
2016-09-20 06:18
has joined #general

jassengu
2016-09-20 06:23
How to develoop the fabric project?which tool ide?:slightly_smiling_face:

a1choi
2016-09-20 08:18
has joined #general

teddy
2016-09-20 09:14
@teddy shared a file: https://hyperledgerproject.slack.com/files/vmanoria/F2D51BCNM/dev-error.png and commented: Hi, I am facing this problem when I run 'vagrant up' while trying to follow steps mentioned in https://github.com/hyperledger/fabric/blob/master/docs/dev-setup/devenv.md for Windows 2012 server. Any suggestions?

2016-09-20 09:14
@teddy commented on @vmanoria’s file https://hyperledgerproject.slack.com/files/vmanoria/F2D51BCNM/dev-error.png: you can try to do vagrant box add hyperledger/fabric-baseimage to add image

tom.appleyard
2016-09-20 09:25
has joined #general

yashparanjape
2016-09-20 09:44
has joined #general

vmanoria
2016-09-20 10:19
Hi @teddy, I tried it but got error similar to previous one. "The box 'hyperledger/fabric-baseimage' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via `vagrant login`. Also, please double-check the name. The expanded URL and error message are shown below: URL: ["https://atlas.hashicorp.com/hyperledger/fabric-baseimage"]"

vmanoria
2016-09-20 10:23
@ghaskins It seems a problem with vagrant login.

kenlee
2016-09-20 10:29
has joined #general

jamie.steiner
2016-09-20 11:47
Galois and Guardtime Federal today announced they have jointly been awarded a $1.8 million contract by the Defense Advanced Research Projects Agency (DARPA) to verify the correctness of Guardtime’s Keyless Signature Infrastructure (KSI). The contract will fund a significant effort that aims to advance the state of formal verification tools and all blockchain-based integrity monitoring systems. http://www.prweb.com/releases/2016/09/prweb13661801.htm

laszlo
2016-09-20 11:50
has joined #general

ashutoshkumar
2016-09-20 13:31
@silentspark : In the next release of Membership services , usage of existing ECert support will be incorporated.

george.john
2016-09-20 14:02
has joined #general

ejefferies001
2016-09-20 14:46
has joined #general

echenrunner
2016-09-20 14:54
export CORE_PEER_FILESYSTEMPATH=/var/hyperledger/production

martyd
2016-09-20 15:09
has joined #general

erikpost
2016-09-20 15:10
has joined #general

cbf
2016-09-20 15:42
@jassengu you can use any IDE you prefer. the fabric project is primarily written in golang, though we are adding SDK projects for node.js, java and python - I prefer Atom, but a number of people use emacs, eclipse, vim, etc

cbf
2016-09-20 15:42
basically there is no requirement

cbf
2016-09-20 15:45
@teddy @vmanoria pls use the #fabric-dev-env channel for questions or concerns/issues getting the fabric environment up… also, we are in the process of transitioning the baseimage build, so there may be transient issues

cbf
2016-09-20 15:45
@ghaskins see above… some are having issues with fabric-baseimage?

ghaskins
2016-09-20 15:47
@cbf @teddy @vmanoria ok, switching to #fabric-dev-env

vishwas.thomson
2016-09-20 16:04
has joined #general

peter
2016-09-20 16:34
Does anyone know any good resources to look for devs to work on Hyperledger?

leybaer
2016-09-20 18:15
has joined #general

satish
2016-09-20 18:41
has joined #general

satish
2016-09-20 18:42
@peter Hello Peter

middleton
2016-09-20 18:49
@peter: there's a tutorial here for ramping on the Sawtooth distributed ledger:http://intelledger.github.io/

peter
2016-09-20 18:50
Thanks @middleton - to clarify, I mean devs to bring on board to a startup :slightly_smiling_face:

middleton
2016-09-20 18:50
@cbf do you have the link for the fabric docs?


middleton
2016-09-20 18:58
thx.

gnsortino
2016-09-20 19:26
Does anyone have any suggestions for looking at sample event consumers. For example, to listen for block events broadcast by the peer? I'm look at the Event Framework in the Protocol-Spec http://hyperledger-fabric.readthedocs.io/en/latest/protocol-spec/#35-events

oiakovlev
2016-09-20 19:51

gnsortino
2016-09-20 19:53
@oiakovlev Yes Thanks! That's it. I knew I had seen that somewhere but I couldn't seem to find it today. I really appreciate the pointer

xiaoyu
2016-09-20 22:49
has joined #general

leroisoleil
2016-09-20 23:25
has joined #general

mlesswing
2016-09-21 00:49
has joined #general

cbluck
2016-09-21 01:27
Is there any way to get the detailed message of an invoke transaction? In some cases, when the invoke transaction executes successfully, I need to get the response (I mean, the "[]bytes" field )

cbluck
2016-09-21 01:28
I'm using the fabric.

shima
2016-09-21 02:03
has joined #general

ven.b
2016-09-21 02:58
has joined #general

bgorman
2016-09-21 03:07
@cbluck what interface are you invoking with? REST, CLI, SDK?

vurumadl
2016-09-21 03:59
has joined #general

shreya_talauliker
2016-09-21 04:05
has joined #general

cbluck
2016-09-21 05:25
@bgorman REST and SDK

bgorman
2016-09-21 05:40
@cbluck I know you can't get the bytes back from REST, but I'm guessing you should be able to in the SDK

cbluck
2016-09-21 05:59
@bgorman I also thought the SDK can do so.

cbluck
2016-09-21 06:00
If anyone knows how to use SDK to get the bytes back?

shimron
2016-09-21 07:25
@shimron uploaded a file: https://hyperledgerproject.slack.com/files/shimron/F2E14NM27/pasted_image_at_2016_09_21_03_25_pm.png and commented: hi guys, does anyone know how to solve this kind of issue when I was trying to using CA apis to register new users

garisingh
2016-09-21 09:01
@shimron - the easiest way to register new users will be to use the NodeSDK. But I'll assume that your interest is in doing this from Golang. The problem is that somewhere in the code you are using its importing gorocksdb (fabric vendors this as a dependency). The gorocksdb package is actually dependent on the rocksdb library. You'll need to pass in ``` CGO_CFLAGS=-I/opt/rocksdb/include CGO_LDFLAGS=-L/opt/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy ```

garisingh
2016-09-21 09:02
in order to build. Note that you would need to replace `/opt/rocksdb` with whatever the path to rocksdb src is on your machine

shimron
2016-09-21 09:08
@garisingh thanks for your reply, I’ll try it right now

bsliran
2016-09-21 09:09
has joined #general

manole2dunitru
2016-09-21 09:21
has joined #general

teddy
2016-09-21 09:41
@teddy uploaded a file: https://hyperledgerproject.slack.com/files/teddy/F2E4CFJTC/ss3.png and commented: i use vagrant as dev envirement. after vagrant ssh, i use peer chaincode deploy to test chaincode, but get the error. Error: Error building chaincode: rpc error: code = 5 desc = open /var/hyperledger/production/crypto/client/ks/raw/eca.cert.chain: no such file or directory i checked this file and it exactly not exist. i don't what's wrong.

arvin
2016-09-21 10:24
@garisingh how can i get latest images .i try git pull all code ,but the fabirc/base/release is 0.0.11.not 0.1.0

astepanov
2016-09-21 11:04
has joined #general

ascatox
2016-09-21 11:16
has joined #general

krital
2016-09-21 13:07
has joined #general

jokepk
2016-09-21 15:34
has joined #general

cemunsal
2016-09-21 17:09
has joined #general

jfbock
2016-09-21 17:45
has joined #general

dusan
2016-09-21 19:53
has joined #general

weeds
2016-09-21 19:55
As people move from 0.5 to 0.6- the chaincode interface was updated from *ChaincodeStub to ChaincodeStubInterface. Basically to update a chaincode for v0.6, search for "*ChaincodeStub" and replace with "ChaincodeStubInterface". More detail: Changeset https://gerrit.hyperledger.org/r/#/c/365/ v0.5 Chaincode interface type Chaincode interface { Init(stub *ChaincodeStub, function string, args []string) ([]byte, error) Invoke(stub *ChaincodeStub, function string, args []string) ([]byte, error) Query(stub *ChaincodeStub, function string, args []string) ([]byte, error) } v0.6 Chaincode interfacetype Chaincode interface { Init(stub ChaincodeStubInterface, function string, args []string) ([]byte, error) Invoke(stub ChaincodeStubInterface, function string, args []string) ([]byte, error) Query(stub ChaincodeStubInterface, function string, args []string) ([]byte, error)

kasey
2016-09-21 21:32
has joined #general

eltonsfdev
2016-09-22 00:10
has joined #general

asdf154
2016-09-22 01:02
has joined #general

sazizian
2016-09-22 02:08
has joined #general

vitorpy
2016-09-22 03:11
has joined #general

venkat
2016-09-22 06:25
How do we implement access control for the users of a chaincode app? Do we have any docs or samples? The membership services doc seems to address CA setup, but not about access control for the users of a chaincode app.

venkat
2016-09-22 06:26
For example, my chiancode would like to identify the user who is making the request through HFC, and their application role, and accordingly allow them to invoke txns or query data.

venkat
2016-09-22 06:29
What will the NodeJS app send to chaincode via HFC, as user credentials for the access to chaincode?

cnaresh3
2016-09-22 07:25
has joined #general

jassengu
2016-09-22 07:28
logs: vp0_1 | 06:09:53.608 [consensus/pbft] recvPrepare -> WARN 1ac6 Replica 0 ignoring prepare for view=61/seqNo=2375: not in-wv, in view 62, low water mark 2360 vp1_1 | 06:09:53.623 [consensus/pbft] executeOne -> INFO 1aff Replica 1 executing/committing request batch for view=61/seqNo=2375 and digest Ifqg3x/Oqs0OZ7axFXXyiaa3dqebCIKEKhf6bubHKq0r2ACmit9AQqwvmGK2WZmZWMeCYpsed4RDRnMuBy/aIw== vp0_1 | 06:09:53.622 [consensus/pbft] recvPrepare -> WARN 1ac7 Replica 0 ignoring prepare for view=61/seqNo=2375: not in-wv, in view 62, low water mark 2360 vp0_1 | 06:09:53.623 [consensus/pbft] recvCommit -> WARN 1ac8 Replica 0 ignoring commit for view=61/seqNo=2375: not in-wv, in view 62, high water mark 2360 vp0_1 | 06:09:53.624 [consensus/pbft] recvCommit -> WARN 1ac9 Replica 0 ignoring commit for view=61/seqNo=2375: not in-wv, in view 62, high water mark 2360 vp0_1 | 06:09:53.624 [consensus/pbft] recvCommit -> WARN 1aca Replica 0 ignoring commit for view=61/seqNo=2375: not in-wv, in view 62, high water mark 2360 vp1_1 | 06:09:53.626 [chaincode] func1 -> ERRO 1b00 [47a5edbd]Failed to handle PUT_STATE. Sending ERROR vp1_1 | 06:09:53.628 [chaincode] processStream -> ERRO 1b01 Got error: [47a5edbd-7c16-4af8-a8c9-576e8b11f30b]Chaincode handler FSM cannot handle message (ERROR) with payload size (7740) while in state: ready vp1_1 | 06:09:53.628 [consensus/pbft] execDoneSync -> INFO 1b02 Replica 1 finished execution 2375, trying next vp1_1 | 06:09:53.628 [consensus/pbft] processNewView -> INFO 1b03 Replica 1 ignoring new-view from 1, v:61: we are active in view 61 vp3_1 | 06:09:53.629 [consensus/pbft] executeOne -> INFO 1b0b Replica 3 executing/committing request batch for view=61/seqNo=2375 and digest Ifqg3x/Oqs0OZ7axFXXyiaa3dqebCIKEKhf6bubHKq0r2ACmit9AQqwvmGK2WZmZWMeCYpsed4RDRnMuBy/aIw== vp2_1 | 06:09:53.624 [consensus/pbft] executeOne -> INFO 1a05 Replica 2 executing/committing request batch for view=61/seqNo=2375 and digest Ifqg3x/Oqs0OZ7axFXXyiaa3dqebCIKEKhf6bubHKq0r2ACmit9AQqwvmGK2WZmZWMeCYpsed4RDRnMuBy/aIw== vp2_1 | 06:09:53.628 [chaincode] func1 -> ERRO 1a06 [47a5edbd]Failed to handle PUT_STATE. Sending ERROR vp2_1 | 06:09:53.630 [chaincode] processStream -> ERRO 1a07 Got error: [47a5edbd-7c16-4af8-a8c9-576e8b11f30b]Chaincode handler FSM cannot handle message (ERROR) with payload size (7740) while in state: ready vp2_1 | 06:09:53.630 [consensus/pbft] execDoneSync -> INFO 1a08 Replica 2 finished execution 2375, trying next vp2_1 | 06:09:53.630 [consensus/pbft] processNewView -> INFO 1a09 Replica 2 ignoring new-view from 1, v:61: we are active in view 61 vp3_1 | 06:09:53.632 [chaincode] func1 -> ERRO 1b0c [47a5edbd]Failed to handle PUT_STATE. Sending ERROR vp3_1 | 06:09:53.634 [chaincode] processStream -> ERRO 1b0d Got error: [47a5edbd-7c16-4af8-a8c9-576e8b11f30b]Chaincode handler FSM cannot handle message (ERROR) with payload size (7740) while in state: ready vp3_1 | 06:09:53.635 [consensus/pbft] execDoneSync -> INFO 1b0e Replica 3 finished execution 2375, trying next vp3_1 | 06:09:53.635 [consensus/pbft] processNewView -> INFO 1b0f Replica 3 ignoring new-view from 1, v:61: we are active in view 61 vp0_1 | 06:09:53.774 [consensus/pbft] sendViewChange -> INFO 1acb Replica 0 sending view-change, v:62, h:2360, |C|:1, |P|:6, |Q|:6 vp2_1 | 06:09:53.776 [consensus/pbft] recvViewChange -> INFO 1a0a Replica 2 received view-change from replica 0, v:62, h:2360, |C|:1, |P|:6, |Q|:6 vp2_1 | 06:09:53.776 [consensus/pbft] recvViewChange -> WARN 1a0b Replica 2 already has a view change message for view 62 from replica 0 vp3_1 | 06:09:53

jassengu
2016-09-22 07:33
Previous problem occurred invoking my golang chaincode ,help!

kriti
2016-09-22 07:36
has joined #general

teddy
2016-09-22 07:44
hi,guys.the dev env is ok with vagrant for me. the example of chaincode_example02 runs ok. now i want to write my own chaincode and test, but i don't know how to do it. docker run --rm -it \ -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 \ -e CORE_PEER_ID=vp0 \ -e CORE_PEER_ADDRESSAUTODETECT=true \ hyperledger/fabric-peer peer node start i use this to have my docker container, i think the deploy and query code is in the container,does it mean i have to change the image " hyperledger/fabric-peer"?

guyg
2016-09-22 08:02
has joined #general

bgorman
2016-09-22 08:17
@teddy `peer node start` can take a `--peer-chaincodedev` argument, this will let you develop chaincode without having to update the image

bgorman
2016-09-22 08:18

saifer
2016-09-22 08:34
has joined #general

tbenzies
2016-09-22 08:38
Hyperledger EU Hackfest (October 3-4 in Amsterdam), be sure to register ASAP if you are planning to attend. https://www.regonline.com/hyperledgerhackfestoctober2016

teddy
2016-09-22 09:18
@bgorman i add the --peer-chaincodedev like this docker run --rm -it \ -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 \ -e CORE_PEER_ID=vp0 \ -e CORE_PEER_ADDRESSAUTODETECT=true \ hyperledger/fabric-peer peer node start --peer-chaincodedev i run the requst as the same CORE_PEER_ADDRESS=172.17.0.2:7051 peer chaincode deploy \ -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 \ -c '{"Function":"init", "Args": ["a","100", "b", "200"]}' then i get the error "cannot find the handler" or something when i test the chaincode, i am comfused with the doc you give me, i see it some times before but i can not understand it exactly.

bgorman
2016-09-22 10:06
@teddy: before running deploy you need to run the chaincode binary

bgorman
2016-09-22 10:07
CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02

bgorman
2016-09-22 10:08
Then in the deploy command you add the args -n mycc

jabjabgroup
2016-09-22 10:44
has joined #general

bill.zhang
2016-09-22 10:49
has joined #general

teddy
2016-09-22 11:01
@bgorman :thank you for your reply ,i tried it and got the result Received REGISTERED, ready for invocations. then i ssh to a new window and make the request peer chaincode deploy -n mycc -c '{"Function":"init", "Args": ["a","100", "b", "200"]}' it shows me [crypto] Errorf -> ERRO 01c [client.] Failed loading certificate [eca.cert.chain]: [ope n /var/hyperledger/production/crypto/client/ks/raw/eca.cert.chain: no such file or directory].

wutongtree
2016-09-22 11:07
hello, When I invoke RegisterClient, I received an error: “Failed checking signing enrollment certificate for signing: [x509: certificate has expired or is not yet valid]”, do anyone have a clue?

teddy
2016-09-22 11:31
@bgorman ,i think it's something wrong about register, and i try to use peer network login lukas, also shows me error :Failed registering client [lukas] with name [lukas][rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. any idea ?

bgorman
2016-09-22 11:47
@teddy you have security enabled, are you running the membersrvc?


superdcc
2016-09-22 12:46
has joined #general

superdcc
2016-09-22 12:48
Hi hello~~

superdcc
2016-09-22 12:48
can anyone help?

superdcc
2016-09-22 12:48
fatal error: 'rocksdb/c.h' file not found #include "rocksdb/c.h"

superdcc
2016-09-22 12:48
build the peer in golang...~

ghaskins
2016-09-22 12:52
@superdcc lets take this to #fabric-dev

robinbradley
2016-09-22 13:08
has joined #general

bala
2016-09-22 13:26
has joined #general

ant2221
2016-09-22 14:55
When trying this out on docker, the guide does not appear to show that Go is needed http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/

ghaskins
2016-09-22 15:51
@ant2221 indeed, good catch

ghaskins
2016-09-22 15:52
fwiw, the answer is “go 1.6”, but patches to the doc welcome

ghaskins
2016-09-22 16:03

cbf
2016-09-22 17:27
@ant2221 @ghaskins well, in the Vagrant and Docker cases, Go is included for you. You do not need it installed. If you intend to build natively on Mac, Linux or Windows, then yes we probably should stipulate that prerequisite.

cbf
2016-09-22 17:29
ah, I see, it could be the case for building the chaincode natively

cbf
2016-09-22 17:29
good catch

ghaskins
2016-09-22 17:41
yeah, the instructions were not explicitly stating that if you followed the docker-based flow

rsamra
2016-09-22 17:53
has joined #general

vladmandiuc
2016-09-22 17:57
has joined #general

freds
2016-09-22 19:28
has joined #general

matanyahu
2016-09-22 21:20
does anyone know if IBM project called Blue Horizon (https://bluehorizon.network/) is based on HL Fabric?

jonathanlevi
2016-09-22 21:40
@matanyahu: nope, Blue Horizon is not based on HL Fabric.

matanyahu
2016-09-22 21:41
thanks

simone.a
2016-09-22 21:48
has joined #general

claytonsims
2016-09-22 21:52
Some have asked about where to find backlog proposals from IBM contributors. To find proposed backlogs take a look at the public boards that were created for various components such as ledger, consensus, endorser, etc. Each will contain the current thinking of backlog and current thinking relative to priorities. We would like feedback and if there are user stories or tasks that look interesting please jump in.

claytonsims
2016-09-22 21:56

claytonsims
2016-09-22 21:59
From there click “All Boards” in left pane

atulkc
2016-09-22 23:12
I need some help in debugging the chaincode. I am using a permissioned blockchain and have created a smartcontract that enforces some access control e.g. `only a specific user can invoke a method`. But I am getting error back saying `Invalid hash algorithm` when I invoke `stub.VerifySignature` in chaincode. I am using `asset_management` chaincode as reference to implement my chaincode...any suggestions on how to debug? Is there a way I can see the logs from chaincode? I am using logger returned by `shim.NewLogger` to log in my chaincode... `hashAlgorithm` in both `core.yaml` and `membersrvc.yaml` is set to `SHA3`

duancheng
2016-09-23 00:04
has joined #general

teddy
2016-09-23 03:01
@bgorman ,yes,thank you so much. i got the error: sendProducerBlockEvent -> ERRO 01e Error unmarshalling deployment transaction for block event: proto: protos.ChaincodeDeploymentSpec: wiretype end group for non-group i search this and they say this can be ignored, so i query and get the result.

bgorman
2016-09-23 03:01
yeah, you can ignore that. So all working now? :slightly_smiling_face:

teddy
2016-09-23 03:17
yes, and i test a simple example written by me from chaincode02, and it works. so i think it is ok now. so happy and grateful.:grinning:

steven.chen
2016-09-23 03:49
has joined #general

mitalkakaiya
2016-09-23 06:11
has joined #general

gaurav
2016-09-23 06:22
Anyone has information on how to cleanup the vagrant virtual machine of hyperledger, so that it reverts back to just configured VM: with no chaincodes deployed, no transactions, no docker images etc

maltaf
2016-09-23 06:23
rm -rf /var/hyperledger/production/

shimron
2016-09-23 06:44
@shimron uploaded a file: https://hyperledgerproject.slack.com/files/shimron/F2F2SL0CQ/pasted_image_at_2016_09_23_02_44_pm.png and commented: hi guys, I got a error like this, even if a correct enrolment ID/secret is used. btw, I was trying I tried to create certificate pair for user “admin" like eca_test.go did.

maltaf
2016-09-23 06:51
@shimron chances are that you are already enrolled

maltaf
2016-09-23 06:52
in which case it will no longer accept your enrollmentSecret. You can clean your DB and try again.

shimron
2016-09-23 06:58
@shimron uploaded a file: https://hyperledgerproject.slack.com/files/shimron/F2F2VCUTG/pasted_image_at_2016_09_23_02_57_pm.png and commented: but when I tried to register new users without entrolling “admin”, I got this error. does it mean there is no cert for “admin” ?

shimron
2016-09-23 06:59
@maltaf

maltaf
2016-09-23 07:29
@shimron are you using CLI or SDK?

thegooders
2016-09-23 07:30
has joined #general

maltaf
2016-09-23 07:31
the register user request must be signed by the registrar's enrollment key, if the client does not have that, it cannot register a new user with this registrar

maltaf
2016-09-23 07:31
I would suggest you clean your db using ```rm -rf /var/hyperledger/production/``` and then enroll admin before registering a new user

shimron
2016-09-23 07:35
@maltaf well… I’m trying to integrate the CA’s grpc service with my own golang codes http://hyperledger-fabric.readthedocs.io/en/latest/API/MemberServicesAPI/

shimron
2016-09-23 07:35
@maltaf ok, I’ll try to clean the db. thanks for your reply :grimacing:

maltaf
2016-09-23 07:37
so when you enrolled the admin, did you receive the enrollment certs? you should save them and when using admin as registrar to register the new user, please use this key to sign the request for create user

maltaf
2016-09-23 07:38

maltaf
2016-09-23 07:39
the Spec is still under development, but you'll get the idea

maltaf
2016-09-23 07:39
of course after every unsuccessfull attempt, you'll need to clean your db because a user cannot be enrolled or registered twice

shimron
2016-09-23 07:43
@shimron uploaded a file: https://hyperledgerproject.slack.com/files/shimron/F2F36U5NJ/pasted_image_at_2016_09_23_03_43_pm.png and commented: @maltaf it seems the membersrvc create a new token for admin, but it also gave me another error

maltaf
2016-09-23 07:46
The new token is the challenge you are supposed to decrypt and then send a new request after signing the request with signing key. It looks like you didn't sign the request with correct key. I would suggest you take a look at the spec

maltaf
2016-09-23 07:46
it has code examples to solve the problem

shimron
2016-09-23 07:50
@maltaf thanks a lot, I’ll check it :grimacing:

maltaf
2016-09-23 07:50
@shimron No problem. Please do come back and ask questions if you still face any problems

shimron
2016-09-23 07:52
@maltaf I’ll be back:grinning:

waqasburney
2016-09-23 10:37
has joined #general

blair
2016-09-23 11:04
Hi all, I'm new to hyperledger and we are trying to test out the marbles (and other) demos. We have a hyperledger network running on a Mac and also on a POWER8 machine. We are using the fabric docker implementation. We can deploy chaincode to the networks just fine in chaincodedev mode, but in standard mode we get errors when we try to deploy code. It looks like it can't start the container for the chaincode. See output below. If anyone else has had this problem, we would love some help :slightly_smiling_face: ``` vp0_1 | 10:59:17.383 [chaincode] getArgsAndEnv -> DEBU 12f Executable is /opt/gopath/bin/05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364 vp0_1 | 10:59:17.383 [chaincode] Deploy -> DEBU 130 deploying chaincode 05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364(networkid:dev,peerid:vp0) vp0_1 | 10:59:17.384 [container] lockContainer -> DEBU 131 waiting for container(dev-vp0-05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364) lock vp0_1 | 10:59:17.384 [container] lockContainer -> DEBU 132 got container (dev-vp0-05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364) lock vp0_1 | 10:59:17.385 [dockercontroller] deployImage -> ERRO 133 Error building images: dial unix /var/run/docker.sock: connect: no such file or directory vp0_1 | 10:59:17.385 [dockercontroller] deployImage -> ERRO 134 Image Output: vp0_1 | ******************** vp0_1 | ```

blair
2016-09-23 11:04
and as a result we then get: ``` vp0_1 | 10:59:17.390 [dockercontroller] createContainer -> DEBU 141 Create container: dev-vp0-05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364 vp0_1 | 10:59:17.390 [dockercontroller] Start -> ERRO 142 start-could not recreate container Post http://unix.sock/containers/create?name=dev-vp0-05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364: dial unix /var/run/docker.sock: connect: no such file or directory vp0_1 | 10:59:17.390 [container] unlockContainer -> DEBU 143 container lock deleted(dev-vp0-05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364) vp0_1 | 10:59:17.390 [chaincode] Launch -> ERRO 144 launchAndWaitForRegister failed Error starting container: Post http://unix.sock/containers/create?name=dev-vp0-05f77a855f979ae213b1700e87f61d93ee19bae3e9aaf4531fecd3d900641afad15c49e7fcf1244318310aee62af43ad305b6ac4db326352afdb7edb6f969364: dial unix /var/run/docker.sock: connect: no such file or directory ```

bacharif
2016-09-23 11:18
has joined #general

rwilting
2016-09-23 11:38
has joined #general

garisingh
2016-09-23 12:45
you need to mount the `/var/run/docker.sock` as a volume for your peer container

tekniq
2016-09-23 12:47
has joined #general

blbrech
2016-09-23 13:22
has joined #general

dungor
2016-09-23 13:36
has joined #general

adamgor
2016-09-23 15:18
has joined #general

christophera
2016-09-23 16:12
Something has changed on the home page that removed the link under Community that let you see the wiki page with all the community information (lists, wg meetings, etc.).

blair
2016-09-23 16:23
Thank @garisingh :grinning: added ``` volumes: - /var/run/docker.sock:/var/run/docker.sock ``` into our docker-compose.yml file for the peer and it worked perfectly!

ron-tes-es
2016-09-23 16:24
has joined #general

paul.sitoh
2016-09-23 16:44
has joined #general

oleg_lody
2016-09-23 17:17
has joined #general

guillerminaprior
2016-09-23 17:21
has joined #general

rizzn
2016-09-23 17:32
has joined #general

tjongr
2016-09-23 19:22
has joined #general

yogi
2016-09-23 19:44
has joined #general

jacques
2016-09-23 20:14
has joined #general

matanyahu
2016-09-23 21:18
I was curious if anyone within Hyperledger community is working on an orchestration mechanism that would allow to easily set up the entire network through a series of simple questions, close to what Microsoft announced during DEVCON2 for its private Ethereum network offering. Bluemix does it partially - it sets up a network but it does not give much of flexibility with regards to the deployment options

stedwms
2016-09-23 22:01
has joined #general

ronme
2016-09-23 22:48
has joined #general

tom.appleyard
2016-09-24 08:17
how would I find out what version of hyperledger fabric I have?

marryton007
2016-09-24 09:48
has joined #general

jshom
2016-09-24 10:40
has joined #general

csoubeyrat
2016-09-24 11:46
has joined #general

ghaskins
2016-09-24 12:23
@tom.appleyard: if you have access to the CLI: "peer --version" I believe will tell you

ghaskins
2016-09-24 12:24
Post here and I can help with the etymology, as it wasn't well managed in early versions of the code

matanyahu
2016-09-24 13:12
@ghaskins : is it possible that we are already at 0.7.0 of Fabric peer?

ghaskins
2016-09-24 13:22
That's a snapshot build I believe

ghaskins
2016-09-24 13:22
Not released

ghaskins
2016-09-24 13:23
You are probably on master

ghaskins
2016-09-24 13:24
What is the full string?

matanyahu
2016-09-24 13:25
Fabric peer server version 0.7.0-SNAPSHOT-3cfaeb5

ubiquat
2016-09-24 13:57
has joined #general

ghaskins
2016-09-24 14:59
Right ok. That's probably just a build from master. The last string is the git sha

lenh
2016-09-24 16:01
Anyone managed to get the car lease demo running on a local Vagrant Fabric?

lenh
2016-09-24 16:03
Am having an issue when running node app.js... ERROR Startup OUTPUT: "[object Object] Error: chain registrar is not set"

lenh
2016-09-24 16:03
Both membersrvc and peer node running all OK after updating .yaml files as per example docs...

matanyahu
2016-09-24 16:18
what steps did u take to attempt running the code?

lenh
2016-09-24 16:18
I'm doing as the docs require for local installation...

lenh
2016-09-24 16:19
Copied the .yaml files to their respective locations. Start Membersrvc and Peer node..

lenh
2016-09-24 16:20
Changed entry in configurations.js as instructed config.vehicle = "https://github.com/IBM-Blockchain/car-lease-demo/Chaincode/vehicle_code/" to config.vehicle = "http://github.com/fabric/vehicle_code/" then node app.js

lenh
2016-09-24 16:25
Could it perhaps anything to do with -> //Protocol used by HFC to communicate with blockchain peers and CA, need to change this manually. config.hfc_protocol = "grpcs"; config.certificate_file_name = "us.blockchain.ibm.com.cert"; config.key_store_location = "/tmp/keyValStore";

matanyahu
2016-09-24 16:30
did u test your network with some cli/rest calls or example02 chaincode?

matanyahu
2016-09-24 16:31
did u modify core.yaml or left it to defaults?

lenh
2016-09-24 16:31
yeah example02 works perfectly

lenh
2016-09-24 16:32
I got the local Fabric running and tested using example02 which worked flawlessly...

lenh
2016-09-24 16:32
then followed the instructions as per the car lease demo... for a local deployment...

lenh
2016-09-24 16:42
i.e. copied the core.yaml from lease demo and copied vehicle_code dir to fabric/

ravi
2016-09-24 16:42
has joined #general

lenh
2016-09-24 16:43
and in configurations.js changed .. config.vehicle = "https://github.com/IBM-Blockchain/car-lease-demo/Chaincode/vehicle_code/" to config.vehicle = "/c/Code/go_code/src/github.com/hyperledger/fabric/vehicle_code/"

lenh
2016-09-24 16:53
A question though - after copying the vehicle_code dir across doesn't the vehicles.go file nee to be compiled/built & deployed? I was under the impression that the process was to run membersrvc, peer etc, deploy chaincode and then invoke etc etc

lenh
2016-09-24 16:54
when I go build in the vehicle_code dir I get the following: ./vehicles.go:792: cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start: *SimpleChaincode does not implement shim.Chaincode (wrong type for Init method) have Init(*shim.ChaincodeStub, string, []string) ([]byte, error) want Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error)

cbf
2016-09-24 17:20
car lease might be v0.5 based chaincode api

cbf
2016-09-24 17:20
probably. needs updating

cbf
2016-09-24 17:30
@lenh now that I am on my laptop, I can confirm that carlease is 0.5 based

muralisr
2016-09-24 17:32
@cbf thanks… @lenh, in that case just changing `*shim.ChaincodeStub` to `shim.ChaincodeStubInterface` throughout the chaincode should be all that needs to be done

matanyahu
2016-09-24 18:01
out of curiosity - why was it decided to deprecate REST API calls? I find it fairly convenient a way to communicate with the blockchain and its components

peter_anghelides
2016-09-24 18:36
has joined #general


ccooper21
2016-09-24 23:37
@lenh I was trying to run the car lease demo earlier today and encountered the same problem. If I happen to figure out to resolve it, I'll let you know.

lenh
2016-09-25 07:29
@muralisr thanks - builds all ok now.

lenh
2016-09-25 07:33
the docs state changes that need to be made to Server_Side/configurations/startup/CRUD/create.js - however 'change this to grpc on lines 43 and 45' and 'pem to equal null on line 40' is not possible - e.g. line 40 is the beginning of a loop...

lenh
2016-09-25 07:36
Also, shouldn't there be changes to the configurations.js file as far as the ports are concerned?

lenh
2016-09-25 07:44
I made changes as follows: config.api_port_external = '7050'; config.api_port_internal = '7050'; config.ca_port = '7054';

lenh
2016-09-25 07:45
and am now getting "Security handshake failed" which I guess is better than "Connect failed"...

matanyahu
2016-09-25 09:55
If --peer-chaincodedev flag does not to deploy the chaincode as a Docker container, what is then chaincode deployment form?

lenh
2016-09-25 10:46
In create.js line 76 - changing line to read pem = "null"; results in... INFO Startup Locating initial participants E0925 14:43:28.018000000 6244 ssl_transport_security.c:609] Could not load any root certificate. E0925 14:43:28.018000000 6244 ssl_transport_security.c:1351] Cannot load server root certificates. E0925 14:43:28.018000000 6244 security_connector.c:774] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. INFO Startup Failed to register using HFC, user may have already been enrolled. Error INITIAL LOGIN ATTEMPT undefined ERROR Startup OUTPUT: "[object Object] Error: chain registrar is not set"

stevewood
2016-09-25 13:20
has joined #general

vishg
2016-09-25 15:07
has joined #general

lakshanap
2016-09-25 16:18
has joined #general

matanyahu
2016-09-25 17:32
Since I haven't received any answer, I will ask this question again: out of curiosity - why was it decided to deprecate REST API calls in Fabric? I find it fairly convenient a way to communicate with the blockchain and its components.

mart0nix
2016-09-25 18:13
@matanyahu I guess the decision was to migrate to the new SDK

chetsky
2016-09-25 18:49
@matanyahu I can't speak for the HLF maintainers (I'm not assuredly not part of that group), but consider that both HTTP and various connection-ful protocols exist in the world. And I think it's fair to say, you wouldn't want to use HTTP to talk to your mysql database (or memcached) as the default case. Of course, there are cases when you want to -- and for those, one puts a proxy in front of mysql (as, I believe, facebook did). I would expect that there would be (or somebody would write) a REST proxy front-end, in the fullness of time.

chetsky
2016-09-25 18:52
connection-ful protocols allow for easy management of buffers, security-contexts (and ensuring that they get populated before anything else transpires), queueing notifications, etc. You can do all of this with a connection-less protocol, but for starters, you have to use timers to decide when to discard these data-structures. Sure, with a connection-ful protocol, one is relying on the kernel's timers and lookup-tables in the typical cases, it's much, much easier.

chetsky
2016-09-25 18:52
anyway, my 2c FWIW

tribbloid
2016-09-25 22:43
Hi everyone, can I ask a simple question?

tribbloid
2016-09-25 22:43
How to make hyperledger VP REST API return error message on Invoke?

tribbloid
2016-09-25 22:44

xixuejia
2016-09-26 00:45
Hi all, a question for the car-lease-demo. It uses V5C_Holder struct to hold all the vehicles in the network for querying, I wonder whether there's a better or more efficient way to iterate on all the vehicles? Thanks all

xixuejia
2016-09-26 00:51
if I want to query the vehicles by owners, I don't want to do iterations on all vehicles in the ledger, is there a way to do that?

shimron
2016-09-26 01:41
@shimron uploaded a file: https://hyperledgerproject.slack.com/files/shimron/F2FQ1Q83U/pasted_image_at_2016_09_26_09_41_am.png and commented: hi all, when i tried to enroll the user “admin”, I got this error

shimron
2016-09-26 01:44
btw, my enrollUser function is copied from eca_test.go

teddy
2016-09-26 02:54
hi all, last week i am success to get my develop enviroment with vagrant,then i want to try the application enviroment. i use docker-took-box and pull hyperledger/fabric-peer:latest and pull hyperledger/fabric-membersrvc:latest, when i try to deploy chaincode_example02, it shows me launchAndWaitForRegister failed Error starting container: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage should i pull fabric-baseimage? i use yml file and peer node start and not --peer-chaincodedev.

fckbo
2016-09-26 04:29
has joined #general

niubwang
2016-09-26 06:23
has joined #general

gaysukum
2016-09-26 06:37
has joined #general

jens_fr
2016-09-26 08:38
has joined #general

palani.kodeswaran
2016-09-26 09:27
has joined #general

triptananda
2016-09-26 10:19
has joined #general

jackkleeman
2016-09-26 11:59
Hi guys, where is the project with implementing error handling on invocations (issue FAB-216)?

simon
2016-09-26 12:13
project?

hgabor
2016-09-26 12:26

hgabor
2016-09-26 12:26
just a proposal, under discussion

jackkleeman
2016-09-26 12:31
great, thanks. Any idea how this will progress in the near future?

hgabor
2016-09-26 12:53
to be honest, I don't know :slightly_smiling_face:

hgabor
2016-09-26 12:54
I need feedback and we need to decide how we want to continue

tom.appleyard
2016-09-26 12:58
Hey all, does anyone know how you;d go about finding the name of the user whose made a chaincode invocation in v0.6? (v0.5 had it in the transaction certs but that no longer is the case)

glenn
2016-09-26 13:30
has joined #general

isaac
2016-09-26 13:55
has joined #general

anhdung
2016-09-26 13:58
has joined #general

isaac
2016-09-26 14:02
key question:- what is the difference between hyperledger and ethereum?

suzie
2016-09-26 14:05
has joined #general

mart0nix
2016-09-26 14:06
@isaac hyperledger is going to work for enterprise solutions, while ethereum doesn't have a big chance of going outside of core tech fanboy community

mart0nix
2016-09-26 14:09
ethereum is a great example of how NOT to run a foundation/company/project

mart0nix
2016-09-26 14:10
it's mismanaged in a major way

vltech
2016-09-26 14:21
has joined #general


binhn
2016-09-26 14:28
From sibos 2016

jonathanlevi
2016-09-26 14:30
@binhn, wait are you here too ?!

jonathanlevi
2016-09-26 14:30
Come say hi (outside Brian’s session)

slaf
2016-09-26 15:38
has joined #general

sbrakev
2016-09-26 15:44
Is there an update deck for HL Evangelists to use for public presentations?

prashanthtc
2016-09-26 15:48
has joined #general

jamie.steiner
2016-09-26 16:05
@binhn - can you give me any more info about that photo? I see "Estonia" there in 2007, which I presume refers to Guardtime.

matanyahu
2016-09-26 16:06
@mart0nix : I would nuance this a bit. Ethereum and Hyperledger have completely different use cases and both can perfectly co-exist. I would not underestimate Ethereum community since recently Brian Behlendorf (Hyperledger boss) invited them with open arms to contribute into Hyperledger "umbrella" projects

matanyahu
2016-09-26 16:06
for obvious reasons, the governance of public vs private ledgers is different and recent two DDoS attacks on Ethereum which were repelled rather swiftly show that core devs and decision makers learned few lessons after DAO/ETC stories


cbf
2016-09-26 17:02
@sbrakev AFAIK, there hasn’t been an update - lots of prep for SIBOS and some of Brian’s other presentations.

middleton
2016-09-26 17:29
@sbrakev I think Greg Wallace <gwallace@linuxfoundation.org> might have stuff.

cbf
2016-09-26 17:40
@middleton @sbrakev it hasn’t been updated except for the splash logo page, TBH

cbf
2016-09-26 17:40
it needs a refresh

sandeep.kanaparthi
2016-09-26 18:34
has joined #general

mart0nix
2016-09-26 18:48
@matanyahu Ethereum could also be used as a private ledger - nothing prevents you from running a private blockchain with geth

mart0nix
2016-09-26 18:51
the reasons I'm not optimistic about their long terms prospects has to do with the fact that 1) they tought dApps would be a real thing (having to download, install and configure a crypto-desktop app is not going mainstream any time soon) 2) scalability and privacy were at best after-thoughts and 3) they burned millions of dollars with little to show for it (imagine how far a US-style start-up would have gone with that much money - the etherum guys basically burned through all this cash for what 2 years ?

mart0nix
2016-09-26 18:52
and 4) try developing and running an app in solidity that goes beyond the hello world example

lenh
2016-09-26 18:53
crypto currency models don't fit the requirements of business...

yale.reinstein
2016-09-26 18:54
eth is a crypto currency? Had me fooled!

lenh
2016-09-26 18:55
ETH / BTC / etc all have their place

lenh
2016-09-26 18:57
but, at the end of the day we need solutions for shared ledger applications as defined by the requirements of business....

matanyahu
2016-09-26 19:01
I still see quite a lot of potential for Ethereum as a community of business people, entrepreneurs, corporate giants and devs because they have a first entrant advantage (Smart Contracts) and a vast array of devs behind. I also appreciate their openness to topics which are taboo within Bitcoin community, such as inter-chain co-operation, acceptance for private blockchain use cases and diversity of ideas. I also think Ethereum people are much more business-minded than people in Bitcoin community.

matanyahu
2016-09-26 19:02
Nevertheless, Bitcoin community also has some outstanding figures so I am definitely not going to generalize here

matanyahu
2016-09-26 19:03
What these communities lack (and I believe this is a true advantage of Hyperledger community) is an ability to DELIVER real solutions that respond to BUSINESS NEEDS (sorry for caps)

lenh
2016-09-26 19:03
+1

mart0nix
2016-09-26 19:04
@matanyahu I see - you are looking at this from the Bitcoin perspective

mart0nix
2016-09-26 19:04
in that regard I'd agree with you

mart0nix
2016-09-26 19:04
but let's agree here that after $150M ethereum is still vaporware (unfortunately)

lenh
2016-09-26 19:05
it's not to the people that own the ETH - THAT'S the point...

yale.reinstein
2016-09-26 19:05
yes it is.

matanyahu
2016-09-26 19:05
@mart0nix : I understand and appreciate your point but I will gladly not agree on the vapourware part :slightly_smiling_face:

matanyahu
2016-09-26 19:06
some cynics may say similar things about Hyperledger

matanyahu
2016-09-26 19:06
"look! so many corporate giants and banks behind and the only thing they managed to do are two incubations and a block explorer!" - this type of approach

lenh
2016-09-26 19:07
BTC / ETH have value to those that own BTC / ETH - that's undenaible - that's not the issue...

mart0nix
2016-09-26 19:08
@matanyahu what are the ethereum apps you are currently using ?

matanyahu
2016-09-26 19:09
Nope but that's not my point :slightly_smiling_face:

lenh
2016-09-26 19:09
the issue is how do we get Fabric to be easily accessible at all levels (community fabric contribution, community ChainCode, and web API's)

matanyahu
2016-09-26 19:09
I am gladly exploring both ethereum and hyperledger and I see value in both

mart0nix
2016-09-26 19:09
no I mean apps come on

mart0nix
2016-09-26 19:09
if it's not vaporware then you must be using some of it right ? :wink:

matanyahu
2016-09-26 19:10
I am currently involved in testing Golem distributed computing platform but I assume this example will not satisfy you because they use Ethereum for payouts only

matanyahu
2016-09-26 19:11
I played King of the Ether :slightly_smiling_face:

yale.reinstein
2016-09-26 19:11
if you actually own ether, you got scammed - twice

matanyahu
2016-09-26 19:12
I do and I do not feel scammed at all. But I do not hold tokens for profit. I just had an opportunity to get pre-sale wallet :slightly_smiling_face:

lenh
2016-09-26 19:12
@yale.reinstein :slightly_smiling_face:

mart0nix
2016-09-26 19:13
don't get me wrong - for those coming back from the Bitcoin community - I'm sure Ethereum was a step in the right direction

mart0nix
2016-09-26 19:14
but let's face it - Ethereum is the perfect example of a great idea, poor execution and here we are in 2016

mart0nix
2016-09-26 19:14
Decentralize the world !

mart0nix
2016-09-26 19:14
:wink:

lenh
2016-09-26 19:14
@mart0nix - bloody well said

matanyahu
2016-09-26 19:15
but let's play this question the other way round ( I will be provocative here): prove that Hyperledger fabric is not at vapourware state right now

matanyahu
2016-09-26 19:15
(just playing devil's advocate)

lenh
2016-09-26 19:15
the bigger the community < vapourware

lenh
2016-09-26 19:16
sorry for the < shorthand

yale.reinstein
2016-09-26 19:16
you're arguing with yourself at this point, @matanyahu

matanyahu
2016-09-26 19:17
I am not arguing :slightly_smiling_face: Just discussing

lenh
2016-09-26 19:17
IMHO - we ALL have an opportunity here - as big or small or you choose for yourself - but that's the point!

lenh
2016-09-26 19:18
look at Laravel....

lenh
2016-09-26 19:18
for that community it just mad SENSE

lenh
2016-09-26 19:19
my bad ... made

matanyahu
2016-09-26 19:19
so, if I had to respond to my own question, I would give concrete examples: KYC resolution time decrease at Credit Mutuel Arkea, conflict reconciliation time decreased at IBM GF

matanyahu
2016-09-26 19:19
couple of remarkable examples for World View in the Netherlands

lenh
2016-09-26 19:20
this is NOT about fin Serv

matanyahu
2016-09-26 19:20
that's what makes Hyperledger (Fabric) an advantage : an ability to deliver a solution with the existing code

matanyahu
2016-09-26 19:20
because there are some actors participating in this project who are truly capable of delivering

lenh
2016-09-26 19:21
yes - you are right - TODAY - but as the eco-system evolves and the tools, etc etc get better more people get drawn in and, and and....

matanyahu
2016-09-26 19:22
@lenh : please develop your thought further

mart0nix
2016-09-26 19:23
he means that the it's the people with business background who are developing hyperledger (as opposed to the fan boys (decentralize the future!!! lol)

mart0nix
2016-09-26 19:25
so when you look at hyperledger - you see all the things you would want to have in an enterprise blockchain platform (scalability, privacy, security, existing language for chaincode, identity management, etc..)

mart0nix
2016-09-26 19:25
different people look for blockchains for different reasons

mart0nix
2016-09-26 19:25
I have a particular business case where something like hyperledger would be a lot more appropriate (and usable )

mart0nix
2016-09-26 19:26
I'm sure you can run geth on some crapy hardware and do IoT kind of thing if you want to ...

mart0nix
2016-09-26 19:26
so blockchainers of the world...unite!

lenh
2016-09-26 19:27
my point is simply this - right now HL is "hard"to play with.... needs skill, determination, what we call "vasbyt" (if you don't know what that is google it!)... BUT as more people get involved, more intellect gets applied, the "easier" it becomes for "early" adopters.. and time progresses it becomes mainstream... "I need to do a distributed ledger app (!purposly NOT using "blockchain buzzword") - what should I use" --- dude ever heard of Hyperledger....

yacovm
2016-09-26 19:29
I think you raise a good point here. We have a devenv vagrant, maybe we should also have a "ready-to-go" vagrant image with everything installed without a script but rather in the image itself, and that starts up everything on machine boot?

lenh
2016-09-26 19:29
I'm working in it... @mikezaccardo

mart0nix
2016-09-26 19:30
@lenh if you find HL "hard to play with" you must not have tried ethereum

matanyahu
2016-09-26 19:31
@yacovm : I've been thinking about it with my friend, actually developing and ovf file with some questionnaire that would deploy the whole devenv with specific configuration in place. We will be working on it in 4Q16

lenh
2016-09-26 19:32
there's three layers here: 1) fabric contributors... (special breed of gifted coders who want to much more in it for the community...) 2) chaincode (less so but also help develop chaincode patterns, etc) 3) web devs hwo just wanna "impress" by being able to access a given industry's ledger

matanyahu
2016-09-26 19:33
4) IT Architects/Consultants in Big Iron companies trying to stitch 1-3 together and transform it into a viable business solution :slightly_smiling_face:

lenh
2016-09-26 19:33
sure - but they's latch on to what 1,2 and 3 can do

lenh
2016-09-26 19:34
@matanyahu :+1:

lenh
2016-09-26 19:35
I fully get the emphasis right now is on 1...

matanyahu
2016-09-26 19:35
oh, 4 is sweating quite a lot as well :slightly_smiling_face:

lenh
2016-09-26 19:35
but we gotta get 2 & 3 in the game...

lenh
2016-09-26 19:37
if you make it "easy" for the average dev guy / girl to spin it up - play and ignite their passion they will drive it

matanyahu
2016-09-26 19:40
but going back to Ethereum community - apparently Brian Behlendorf sees it differently and does not think it is composed exclusively of cryptofanbois

lenh
2016-09-26 19:40
@mart0nix - nope - not gotten involved with ETh as for me it was a non-starter... (again IMHO)....

yacovm
2016-09-26 19:41
what's 4Q16? fourth quarter?

lenh
2016-09-26 19:41
yup

mart0nix
2016-09-26 19:43
@matanyahu I actually had to look up who Brian Behlendorf is

mart0nix
2016-09-26 19:44
but then I thought of Steve Ballmer who was convinced that no one is going to buy the iPhone when it first came out

mart0nix
2016-09-26 19:44
: ))

matanyahu
2016-09-26 19:45
I don't get your point

mart0nix
2016-09-26 19:45
it's the he said she said mentality

mart0nix
2016-09-26 19:47
anyways ...

mart0nix
2016-09-26 19:47
good discussion guys

matanyahu
2016-09-26 19:47
many people praise Brian for his contribution to refocusing Hyperledger when he joined it in May this year

matanyahu
2016-09-26 19:48
I would not ignore what this guy is saying

mart0nix
2016-09-26 19:48
I'm not underestimating Brian - it sounds like he's great at tech and innovation

lenh
2016-09-26 19:48
community != one person

matanyahu
2016-09-26 19:49
you're getting me wrong here. I am not saying he is some kind of Vitalik B. of Hyperledger. I'm just saying that it is a person of prominence

matanyahu
2016-09-26 19:49
just to be taken into account

lenh
2016-09-26 19:52
100% - I fully accept, appreciate and admire that... BUT if we all want this tech to be "the" eco-system then we need to acknowledge the fact that getting people to commit their time and energy will require "an easy intro- and adoption path"... that's all I'm saying...

matanyahu
2016-09-26 19:53
hopefully this will happen soon - the recent vagrant up was definitely much better than even a month ago

matanyahu
2016-09-26 19:53
I wish there was more synchro between up to date Fabric and what is published on Bluemix

lenh
2016-09-26 19:54
yes agreed - all credit to @ghaskins

yacovm
2016-09-26 19:57
@matanyahu why would you need a questionnaire? why not just deploy a standard single validator with noops and that's it?

lenh
2016-09-26 19:57
but that / this is the point - no matter how much frustration we may may feel right now - if we all work together - in our own ways and with the the individual skills we all bring the eco-system will become more robust making the learning barrier of entry for future participants less...

lenh
2016-09-26 19:58
and the lower the barrier of entry the ^ the adoption over other platforms / ideas / etc

mart0nix
2016-09-26 19:58
@lenh it's REALLY hard to explain the blockchain concept to someone outside of tech/crypto/bitcoin

mart0nix
2016-09-26 20:00
Funny enough Blythe Masters is one of the few who can really explain it in business terms (and why it's a compelling idea)

lenh
2016-09-26 20:00
@mart0nix - sure but therein also lies our opportunity bud....

lenh
2016-09-26 20:02
@mart0nix - I'm no spring chicken my friend - been around since the ZX days - it's all in how one articulates & contextualizes it...

lenh
2016-09-26 20:06
the fact of the matter is we are, all of us looking at this tech, at the forefront of a new paradigm.... forget crypto-currency and and and - the REAL problem that distributed ledgers solves is single source of truth....

lenh
2016-09-26 20:07
I don't know about you but I've had this bloody issue all my life as regards integrated systems,,,,

lenh
2016-09-26 20:08
"my record trumps yours" - haha no pun intended wrt the upcoming US elections....

lenh
2016-09-26 20:10
forget the buzzwords, the hype and all that c*ap - let's go from a pure - you have your system and I have mine perspective.... who owns the DB?

lenh
2016-09-26 20:11
who's system has the TRUE number for Joe Bloggs.....

lenh
2016-09-26 20:11
I have it....

lenh
2016-09-26 20:12
No you say - "I have it..."

ashleeyoung
2016-09-26 20:12
has joined #general

lenh
2016-09-26 20:13
So now FINALLY and IT guys / girls having to deal with silo'ed DB's we can say - "screw it -> THAT'S the TRUE SINGLE SOURCE OF TRUTH"....

lenh
2016-09-26 20:14
this is what excites me personally...

lenh
2016-09-26 20:16
I know the above is highly simplified but hey ho I'm just a simple kinda coder....

matanyahu
2016-09-26 20:21
@yacovm : I see some use cases for an environment that reflects quasi-DLT conditions in enterprise organizations. Such a deployment would not be aimed specifically at devs but it would respond to other needs such as chaincode demos, PoT demos and education

matanyahu
2016-09-26 20:22
that's where 1 vp with noops does not suffice

yacovm
2016-09-26 20:22
but I'm talking about a VM... what's the point in deploying more than 1 peer in a VM?

ashleeyoung
2016-09-26 20:23
@lenh I totally agree with what you’ve just said

lenh
2016-09-26 20:23
@ashleeyoung :+1:

yale.reinstein
2016-09-26 20:23
yeah, a rooted blockchain is going to be "truth"

yale.reinstein
2016-09-26 20:24
I'm all for distributed ledgers in business. Don't get me wrong. But lets leave "truth" out of it.

lenh
2016-09-26 20:26
@yacovm - the point is - if we are going to dev chaincode and webapps we need an environment that truly depicts production... devenv for fabric contributors is 100% solid now after the changes that @ghaskins did - BUT it's nowhere near what mainstream devs need to drive adoption.... - we need to put more effort into making it "easy" for people to play...

matanyahu
2016-09-26 20:28
basically no business will want to trust a network without a basic premise of blockchain which is a consensus algorithm

lenh
2016-09-26 20:29
depends on the business need / requirement

lenh
2016-09-26 20:29
oh sorry - yes I get you....

lenh
2016-09-26 20:30
but POW it is not

matanyahu
2016-09-26 20:30
pbft is still a viable consensus algorithm

lenh
2016-09-26 20:32
I'm not qualified to comment....

matanyahu
2016-09-26 20:32
with regards to number of nodes, there are tons of reasons not to stick to a single VP, starting from those of contractual nature (parties to the newly established business network deploy 1 VP for each) as continuing with technical architecture (resilience, service availability, integrity of data etc.)

lenh
2016-09-26 20:33
what I do know is the principle of community adoption = having a chance of becoming something....

matanyahu
2016-09-26 20:33
so, 1 VP + noops is good for devs but not good for business, even for PoC

lenh
2016-09-26 20:34
@mikezaccardo ^ see above : exactly what we were speaking about a few hours ago.....

lenh
2016-09-26 20:34
@matanyahu : 100% in agreement!

lenh
2016-09-26 20:36
we need to understand the 3 layers.... 1) fabric devs - the current devenv serves them well... 2) chaincode devs - current setup --- meh... 3) web app devs - current setup - give me a break!

lenh
2016-09-26 20:37
it's NOT criticism - it's comment

mart0nix
2016-09-26 20:38
the new SDK will address 3)

mart0nix
2016-09-26 20:38
we just need more working code examples

mart0nix
2016-09-26 20:38
plus you can write your client in GO

mart0nix
2016-09-26 20:38
for the sake of developing and testing

sandeep.kanaparthi
2016-09-26 20:39
Please let me know if this question doesn't belong to this channel. I recently started playing with hyperledger fabric. I setup hyperledger fabric on my mac using docker for mac. I am able to use rest API to communicate with memversvc and peer. I am trying to compile peer command to use CLI. But I am running into the folling error when I run make: "Step 2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/src/.dummy] Error 1"

sandeep.kanaparthi
2016-09-26 20:39
Any help is appreciated.

mart0nix
2016-09-26 20:39
@sandeep.kanaparthi abandon the REST API

mart0nix
2016-09-26 20:39
use the new SDK

lenh
2016-09-26 20:40
see my point!

sandeep.kanaparthi
2016-09-26 20:41
REST API is working fine for me. I am not able to compile peer for CLI

lenh
2016-09-26 20:41
REST API is deprecated - don't spend dev time on that path...

mart0nix
2016-09-26 20:42
@sandeep.kanaparthi I abandoned the REST API and the CLI - use docker set-up + SDK - this is how I managed to get up and running on Mac

lenh
2016-09-26 20:44
we need that seperation, fabric/chaincode/web app

sandeep.kanaparthi
2016-09-26 20:45
Thanks.

lenh
2016-09-26 20:45
devenv for each...

matanyahu
2016-09-26 20:45
next consensus architecture is supposed to separate fabric from chaincode

lenh
2016-09-26 20:47
and docs for dev workflows - ok sure we appreciate atm chaincode is gonna be go / java... but seriously web app side - we gotta open this up folks....

sandeep.kanaparthi
2016-09-26 20:49
I am trying to eliminate webapp layer to keep it simple. I am working on a client side demo (JS) app that communicates directly with fabric with rest API. It should work right?

mart0nix
2016-09-26 20:50
there's no webapp layer right now

mart0nix
2016-09-26 20:50
the SDK is JS

mart0nix
2016-09-26 20:50
node.js apps basically

lenh
2016-09-26 20:51
I thought the comms layer is gRPC

sandeep.kanaparthi
2016-09-26 20:51
can I use this JS SDK in the browser?


lenh
2016-09-26 20:53
and THAT's my point! if we want community adoption then...

lenh
2016-09-26 20:54
3 layers - fabric, chaincode and who the hell cares

lenh
2016-09-26 20:54
why are we pushing to a given stack

lenh
2016-09-26 20:55
who cares what the the web app folks wanna use - or am I really missing something here!?

lenh
2016-09-26 20:56
I get it on the fabric side - fully!

lenh
2016-09-26 20:56
I kinda get it on the Chaincode side....

lenh
2016-09-26 20:57
But on the web app side -if we want ADOPTION... well then....\

mart0nix
2016-09-26 21:11
@lenh I don't quite understand what you are saying

mart0nix
2016-09-26 21:11
the web side is WIDE open right now

mart0nix
2016-09-26 21:12
you can do a node js app or a go app or what ever app

mart0nix
2016-09-26 21:12
that's the point of gRPC after all

mart0nix
2016-09-26 21:12
the web side has lowest priority here in my mind until the other layers stabilize as things are in flux right now

mart0nix
2016-09-26 21:13
at some point there would be a PHP SDK, Python SDK, etc...

mart0nix
2016-09-26 21:14
but this is going to come from the community developers

mart0nix
2016-09-26 21:14
not the core developers who working on the middle ware

lenh
2016-09-26 21:23
@mart0nix - I fully 100% understand that the web side has the lowest priority in your mind - and things are in a state of flux... but not being a contributor to the core fabric myself (and my team) AND wanting to be part of the community working (NOT ON the core) but building the real world apps that could potentially make this platform the go-to-platform of choice my comments are purely coming from the "how can we make this the best possible dev eco-system for possible blockchain/hyperledger adopters" as possible...

lenh
2016-09-26 21:24
it's NOT a criticism by any means...

mart0nix
2016-09-26 21:25
well I think you have three options

mart0nix
2016-09-26 21:25
1) wait until the web layer is mature

lenh
2016-09-26 21:25
all i'm saying is we need a bigger / wider community with people a lot smarter than me to get involved...

mart0nix
2016-09-26 21:26
2) start writing node.js SDK app examples so people can get into it right away

mart0nix
2016-09-26 21:26
3) start campaigning for hyperledger OUTSIDE of slack, because here you are preaching to the converted

lenh
2016-09-26 21:30
How about.... 1) leave the core fabric dev to those gifted enough to play in that space... 2) help "middle-of-the-road" dev's who can perhaps get industry specific chaincode going a chance... and 3) give the web folks a break....

lenh
2016-09-26 21:31
we all have a role to play if it's truly going to be a community play....

lenh
2016-09-26 21:33
if there is one thing I know as regards dev projects it's this - being inclusive = getting a whole hellofalot more support than being exclusive

lenh
2016-09-26 21:37
we have a chance here of starting / assisting a broad-reaching movement of individuals who support the use of hyperledger as the go-to platform for distributed ledger tech....

lenh
2016-09-26 21:37
as long as we are inclusive....

jackkleeman
2016-09-27 01:00
is there currently any way to explore table data - does the hyperledger explorer do this?

jackkleeman
2016-09-27 01:16
+ can anyone tell me if there are any quirks with using getRows for impartial key lookups? I have a two key table, and it's returning all my rows when I give it an empty []Column{} `keyCols := []shim.Column{}`, but when I give it one key as follows it returns nothing.

jackkleeman
2016-09-27 01:18

jackkleeman
2016-09-27 01:18
I have trouble in all my partial key lookups, no trouble with missing key or full key queries.

sheehan
2016-09-27 01:22
@jackkleeman let’s discuss on the #fabric channel

xuxinlai
2016-09-27 01:50
has joined #general

jiangytcn
2016-09-27 02:08
has joined #general

teddy
2016-09-27 02:18
when i deploy the chaincode and init like a,100,b,200,i can get a chaincode,then i can use the chaincode to do invoke and query, but next i do init c,300,d,400, i get a new chaincode, how can i do the invoke between a and c? i can just do between a and b or c and d. the twice init gives me different chaincode.

chetsky
2016-09-27 02:26
@teddy oh wow, that's the default behaviour?

chetsky
2016-09-27 02:26
is there a way to cause the second Init() to fail?

teddy
2016-09-27 02:33
@chetsky thank u. yes, i use the example chaincode_example02. does you mean that i can only do once init() and the other param like c,d,e... i need to write a func for add the value to the ledger? if not ,i dont know what is the point

chetsky
2016-09-27 02:34
well, it's been a long time since I used HL. So let me be sure what you did: Init(a,b) ; Pay(a->b); Init(c,d); Pay(c->d)

chetsky
2016-09-27 02:34
all this works, right?

teddy
2016-09-27 02:35
yes,you are right

chetsky
2016-09-27 02:35
So if you did: Init(a,b) ; Pay(a->b); Init(c,d); Pay(c->d); Pay(b->a)

chetsky
2016-09-27 02:35
does that last Pay(b->a) work?

teddy
2016-09-27 02:40
i do pay like this: peer chaincode invoke -n 69cee27c44c6df29d4fc1dc27572ea32fcb6a1098913edb29b2d2b7f8d1239bc139e43f8f0c886e1cb04f4fbb409d2e2c28f861b6272ba0b7bd26ee19d39cb27 -c '{"Function": "invoke", "Args": ["a", "b", "10"]}' the -n chaincodeID is returned by the init(a,b), the init(c,d) return a different id. so it works for pay(b->a). i use the docker-tool-box.

chetsky
2016-09-27 02:40
ok. so Init() returns a chaincode ID,. Let me amend my previous little script

chetsky
2016-09-27 02:41
id1:=Init(a,b) ; id1.Pay(a->b); id2:=Init(c,d); id2.Pay(c->d)

chetsky
2016-09-27 02:41
that works, right?

chetsky
2016-09-27 02:41
and id1:=Init(a,b) ; id1.Pay(a->b); id2:=Init(c,d); id2.Pay(c->d); id2.Pay(b->c)

chetsky
2016-09-27 02:41
the last id2.Pay() fails, right?

teddy
2016-09-27 02:42
yes, just like that

chetsky
2016-09-27 02:42
now, if you add id1.Pay(b->a) to the end, does that succeed?

chetsky
2016-09-27 02:42
note "id1"

teddy
2016-09-27 02:47
yes, when i use id1, it means i can just do pay between a and b, id2 : c and d, but i can not do pay between a and c

chetsky
2016-09-27 02:48
bright.

chetsky
2016-09-27 02:48
right

chetsky
2016-09-27 02:48
ok ........

chetsky
2016-09-27 02:48
can I ask: are you comfortable with any object-oriented programming languages?

chetsky
2016-09-27 02:48
Init() is effectively the constructor

chetsky
2016-09-27 02:48
and the chaincode ID you get back is the "address" of the object

chetsky
2016-09-27 02:49
so yes, if you want to pay between b, c, you need to create c's account in the same instance as b'c account

chetsky
2016-09-27 02:49
I think chaincode_example_02 has no "create-account" entrypoint, but you could add that, yes?

chetsky
2016-09-27 02:49
honestly, Init() shouldn't take any parameters.

chetsky
2016-09-27 02:50
so it should really go like:

chetsky
2016-09-27 02:50
id:=Init() ; id.Create("a", 100); id.Create("b", 200); id.Create("c", 100); id.Create("d", 200) ; id.Pay("a", "b", 10); id.Pay("c", "a", 20) ......

chetsky
2016-09-27 02:50
etc

chetsky
2016-09-27 02:50
see what I mean?

teddy
2016-09-27 02:53
thank you.. i use java, so i think i know what you mean. so i need write my own chaincode for init:grinning:

chetsky
2016-09-27 02:54
well, just modify chaincode_example_02, perhaps?

teddy
2016-09-27 02:55
maybe, i will read the code.:+1:

bgorman
2016-09-27 02:56
@teddy I think you might be better off modifying the Invoke() to handle a new function (like the existing "delete" in there)? e.g. Invoke("add", "c", "123")

jiangytcn
2016-09-27 02:57
Hi, is there anybody can tell me about how to start from scratch using source code? i just cloned the code, just simple run `make run` but failed with ```Building docker src-image docker build -t hyperledger/fabric-src build/image/src Sending build context to Docker daemon 11.54 MB Step 1 : FROM hyperledger/fabric-baseimage:x86_64-0.1.0 ---> db53d04b117c Step 2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/src/.dummy] Error 1 ```

teddy
2016-09-27 02:57
@bgorman yeah, i will try.

jiangytcn
2016-09-27 02:58
i'm under Mac Capitan

bgorman
2016-09-27 02:59


jiangytcn
2016-09-27 02:59
Ok, thank you ~

shimron
2016-09-27 03:13
@shimron uploaded a file: https://hyperledgerproject.slack.com/files/shimron/F2G9T3GRW/pasted_image_at_2016_09_27_11_13_am.png and commented: hi guys,how could i solve this issue ? I’m trying to enroll the “admin” user, then register new users with “admin”. btw, I used the enrollUser function defined in the “eca_test.go” file.

yls
2016-09-27 06:22
Hi guys: When i query chaincode by gRPC such as serverClient.ProcessTransaction(context.Background(), tx) , an error [status:FAILURE msg:"Error:Failed to launch chaincode spec(proto: protos.ChaincodeInvocationSpec: wiretype end group for non-group)” ] occured . Why? Hou can i do?

yls
2016-09-27 06:26
That way come from /fabric/example/chaincode/go/asset_managment/app/app_internal.go function “whoIsTheOwner"

raken5460
2016-09-27 07:16
has joined #general

teddy
2016-09-27 07:17
with docker-tool-box, i can init the a b and do invoke,but i wonder how many var i can init, first i use a for to init 10000 var and it's ok. but up to 100000 the container is shut down and can not restart.

g_alexander
2016-09-27 07:52
How to get the transaction status of an Invoke transaction from Invoke's UUID ?? how will i get to know whether the transaction failed or not? whether it threw an error or not.. What was the error ,,etc ?

hgabor
2016-09-27 08:02
you can use an event listener

g_alexander
2016-09-27 08:10
Thank you, Is there any specific type of event listener for error.

hgabor
2016-09-27 08:20
rejection listener, I think that is what you need

hgabor
2016-09-27 08:20
examples/events/block-listener/ here is an example with a READ ME

giraffe
2016-09-27 09:03
has joined #general

g_alexander
2016-09-27 09:17
@ hgabor :- Hi We are raising errors like this.. err_msg := "Operation requires Administrator privileges. Admin flag is: %s." appLogger.Debugf(err_msg, args[1]) return nil, fmt.Errorf(err_msg, args[1]) will these be also treated as rejections .. while INVOKE ?


hgabor
2016-09-27 09:35
so these are in the chaincode right?

g_alexander
2016-09-27 09:35
yes

hgabor
2016-09-27 09:35
I think they will be

hgabor
2016-09-27 09:35
but try it with the event listener example :slightly_smiling_face:

g_alexander
2016-09-27 09:36
ok


marryton007
2016-09-27 10:12
anyone can help me?

heven1030
2016-09-27 10:31
has joined #general

garisingh
2016-09-27 10:34
@marryton007 - I think the issue is that that sample is completely out of date / out of sync with the current REST API. We should probably remove that sample entirely at this point. If you are interested in building a NodeJS application which interacts with the fabric, I'd suggest using the NodeSDK - `npm install hfc`

marryton007
2016-09-27 10:35
@garisingh thanks for reply, I'll try it.

camel
2016-09-27 11:01
has joined #general

latent
2016-09-27 11:07
has joined #general

mart0nix
2016-09-27 11:13
@garisingh I think the go samples are also out of date

mart0nix
2016-09-27 11:15
which kind of sucks for me as I much rather prefer writing my stuff in GO than JS but oh well : )

mart0nix
2016-09-27 11:23
@mart0nix uploaded a file: https://hyperledgerproject.slack.com/files/mart0nix/F2GC4BH43/screen_shot_2016-09-27_at_2.22.15_pm.png and commented: Trying to compile the asset_management_with_roles TEST file...

mart0nix
2016-09-27 11:25
It looks like these errors were related to the REST API which is being deprecated but this is not using the REST API so I wonder if I should abandon that and focus on the NodeSDK

houmanshadab
2016-09-27 11:48
has joined #general

binhn
2016-09-27 12:25
@mart0nix: you can use Go as client calling grpc like nodejs does

mart0nix
2016-09-27 12:26
@binhn that's what I'm trying to do


mart0nix
2016-09-27 12:26
but I'm getting into errors (as I've shown earlier with a screenshot) that I don't know how to resolve

tom.appleyard
2016-09-27 12:29
check that the user named 'vp' is in your membersrvc.yaml

mart0nix
2016-09-27 12:34
@tom.appleyard well it's using the asset.yml file that comes with the example: https://github.com/hyperledger/fabric/blob/master/examples/chaincode/go/asset_management_with_roles/asset.yaml

tom.appleyard
2016-09-27 12:35
hmm not sure then :confused:

tom.appleyard
2016-09-27 12:35
is security enabled?

mart0nix
2016-09-27 12:36
yes by default - but I also tried disabling it - no difference

mart0nix
2016-09-27 12:38
hmm it looks like if I change the passwords - the user will get registered

mart0nix
2016-09-27 12:38
it looks like there are duplicates that prevent new registration of the same user ...?!?

mart0nix
2016-09-27 12:40
# To enroll NVP or VP with membersrvc. These parameters are for 1 time use. # They will not be valid on subsequent times without un-enroll first.

cbf
2016-09-27 12:46
@mart0nix yes, you cannot re-register the same user

cbf
2016-09-27 12:47
basically need to do once and then use the ecert you got from the original registration

mart0nix
2016-09-27 12:48
@cbf thanks

stchrysa
2016-09-27 12:55
has joined #general

gauthampamu
2016-09-27 13:20
In the protocol spec, it says in section 3.2.2.1.1 that the key in the world state is represented by as concatenation of chaincodeid and key, so does it mean, if you deploy two chaincode on the network. If you call get from one chaincode, can you retrieve the data added by other chaincode. I am just trying to understand whether the data inserted by one chaincode is accessible only from that chaincode.

tuand
2016-09-27 13:23
data from a chaincode is stored in a separate namespace, not accessible from others

tuand
2016-09-27 13:24
suggest we move to #fabric

gauthampamu
2016-09-27 13:38
Thanks @tuand

mart0nix
2016-09-27 13:57
@cbf I continue to bump into issues with that example:

mart0nix
2016-09-27 13:57
16:55:28.736 [crypto] DEBU : [client.admin] Getting ECA client...done

mart0nix
2016-09-27 13:57
16:55:28.742 [crypto] DEBU : [client.admin] Getting TCA client...done

mart0nix
2016-09-27 13:57
16:55:28.750 [crypto] DEBU : [client.admin] Getting ECA client...done

mart0nix
2016-09-27 13:57
16:55:28.756 [crypto] ERRO : [client.admin] Failed invoking CreateCertficatePair [rpc error: code = 2 desc = Identity or token does not match.].

gauthampamu
2016-09-27 13:58
RocksDB supports pluggable compactions and pluggable memtables. Are we using any plugins with RocksDB ? Also what is the version of RocksDB that is used in Hyperledger ?

cbf
2016-09-27 14:03
@gauthampamu 4.1 and no, we aren’t using any plugins

cbf
2016-09-27 14:03
there is some refactoring of the ledger underway to allow more flexibility in the choice and config of the underlying db

mart0nix
2016-09-27 14:14
@cbf are you guys able to run the tests from the asset_management examples ? I must be missing something big

gauthampamu
2016-09-27 14:19
Thanks Chris

wangmzdl
2016-09-27 14:28
has joined #general

wangmzdl
2016-09-27 14:29
Hello guys, i'm newbie for Hyperledger

wangmzdl
2016-09-27 14:31
I met a problem when I run "vagrant up":

wangmzdl
2016-09-27 14:31
==> default: All good ==> default: docker images -q hyperledger/fabric-ccenv | xargs -r docker rmi -f ==> default: docker images -q hyperledger/fabric-peer | xargs -r docker rmi -f ==> default: docker images -q hyperledger/fabric-membersrvc | xargs -r docker rmi -f ==> default: docker images -q hyperledger/fabric-src | xargs -r docker rmi -f ==> default: docker images -q hyperledger/fabric-javaenv | xargs -r docker rmi -f ==> default: cd sdk/node && make clean ==> default: make[1]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric/sdk/node' ==> default: [CLEAN] ==> default: rm -rf node_modules ==> default: rm -rf doc ==> default: find lib -type f | grep -v "protos/google" | grep -v "hash.js" | xargs rm ==> default: rm: ==> default: missing operand ==> default: Try 'rm --help' for more information. ==> default: make[1]: [clean] Error 123 (ignored) ==> default: make[1]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric/sdk/node' ==> default: cd gotools && make ==> default: make[1]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric/gotools' ==> default: make[2]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric/gotools' ==> default: Building gomega ==> default: go get http://github.com/onsi/gomega ==> default: make[2]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric/gotools' ==> default: make[2]: Entering directory `/opt/gopath/src/github.com/hyperledger/fabric/gotools' ==> default: Building gocovxml ==> default: go get http://github.com/AlekSi/gocov-xml ==> default: make[2]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric/gotools' ==> default: make[1]: Leaving directory `/opt/gopath/src/github.com/hyperledger/fabric/gotools'

wangmzdl
2016-09-27 14:31
there is a "missing operand" there, pls kindly advise

wangmzdl
2016-09-27 14:31
:heart:

joransiu
2016-09-27 14:35
has joined #general

cbf
2016-09-27 14:39
@wangmzdl did you clone gerrit or github?

wangmzdl
2016-09-27 14:39
gerrit

cbf
2016-09-27 14:40
do me a favor, checkout v0.6 branch and try again

mneug
2016-09-27 14:40
has joined #general

wangmzdl
2016-09-27 14:40
from gerrit?

cbf
2016-09-27 14:40
no, in your clone

cbf
2016-09-27 14:41
git checkout v0.6

cbf
2016-09-27 14:41
then try again

kur
2016-09-27 14:41
has joined #general

wangmzdl
2016-09-27 14:42
cool, let me try, thank you very much, Chrisfer

cbf
2016-09-27 14:44
note that the v0.6 uses a previous approach to constructing the vagrant environment but there is lots of overlap

cbf
2016-09-27 14:44
if you have issues with v0.6 then it may be network related

wangmzdl
2016-09-27 14:52
is it better to use Docker on my local? or use vagrant ?

thomas.marckx
2016-09-27 14:57
I’m having difficulties enrolling new users. Currently I just add them in the membersrvc.yaml, after which I delete everything in /var/hyperledger/production. I rebuild the membersrvc and run it (I also start a new peer). This works sometimes but now I keep receiving the following error ```{ Error: 'rpc error: code = 2 desc = Identity or token does not match.’ }``` I understand that password in the yaml is view as a one-time, but I expect this be “reset” when I delete everything in production Anyone have an explanation ?

wangmzdl
2016-09-27 14:57
I used vagrant destroy, then vagrant up

wangmzdl
2016-09-27 14:57
The box 'hyperledger/fabric-baseimage' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via `vagrant login`. Also, please double-check the name. The expanded URL and error message are shown below:

cbf
2016-09-27 15:00
hmmm

gauthampamu
2016-09-27 15:08
How is the blockchain stored in the RocksDB database. What is the used as Key to store the Blockchain ?

wangmzdl
2016-09-27 15:12
just tried again, it's downloading now, but very slow...

wangmzdl
2016-09-27 15:14
amazing slow, maybe it's because I'm in China:u5408:

wangmzdl
2016-09-27 15:18
is there a way to change vagrantfile to use some fast image site?

alexmoud
2016-09-27 15:30
has joined #general

mart0nix
2016-09-27 15:30
@thomas.marckx I'm having the exact same problem. Let me know if you find a resolution

mart0nix
2016-09-27 15:31
I can't run any of the asset_management tests because of that issue

gauthampamu
2016-09-27 15:34
@tuand If the data from a chaincode is stores in a separate namespace. To workaround this…Can you make a copy of the database and can you develop alternate implementation of hyperledger that would allow you to read the data added by other chaincode assuming you know the other chaincode id.

tuand
2016-09-27 15:47
@gauthampamu ... what's your use case ?

gauthampamu
2016-09-27 15:51
Its not for specific use case. I want to understand the security of the world state data stored in the ledger.

tuand
2016-09-27 15:53
check with the ledger guys ... #fabric-ledger-dev


dermot-cochran
2016-09-27 16:30
has joined #general

jessewalia
2016-09-27 16:44
has joined #general

markparz
2016-09-27 16:55
Posting new playbacks to the #playbacks channel here on slack. See the latest development and thinking by the community, and feel free to ask questions and get involved.

olivererxleben
2016-09-27 16:58
has joined #general

hnattila
2016-09-27 17:39
has joined #general

skbodwell
2016-09-27 17:49
has joined #general

troelsfr
2016-09-27 18:49
has joined #general

sandeep.kanaparthi
2016-09-27 18:56
How do I set HTTP header "Access-Control-Allow-Origin" in my chaincode?

ikhall
2016-09-27 19:11
has joined #general

kjrichter
2016-09-27 20:02
has joined #general

garisingh
2016-09-27 20:15
I assume that you are trying to make an XHR request from a browser to the REST API of the fabric? You would not set this in chaincode as the peer communicates with chaincode via a GRPC channel. The easiest thing to do will be to run a simply proxy server in front of the REST API which sets the CORS headers you want

hankhero
2016-09-27 21:06
has joined #general

ccooper21
2016-09-27 21:40
@sandeep.kanaparthi I built a Fabric prototype over the weekend whose UI needed CORS support. I setup an Nginx proxy to inject the headers, but it turned out in the end that the peer was already emitting the necessary HTTP headers. Hence, it appears that the peer natively supports CORS. If the values it sets though are not suitable, I'm not sure if it is possible to change them via configuration.

ccooper21
2016-09-27 21:45
If you do need more control and want to use Nginx as a reverse proxy, here is how I did it by cobbling together various Internet postings: ``` server { listen 0.0.0.0:80 default_server; location / { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; # # Custom headers and headers various browsers *should* be OK with but aren't # add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'; # # Tell client that this pre-flight info is valid for 20 days # add_header 'Access-Control-Max-Age' 1728000; add_header 'Content-Type' 'text/plain charset=UTF-8'; add_header 'Content-Length' 0; return 204; } proxy_pass_header Authorization; proxy_pass http://172.17.0.1:7050; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_buffering off; client_max_body_size 0; proxy_read_timeout 36000s; proxy_redirect off; if ($request_method = 'POST') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'; } if ($request_method = 'GET') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'; } } } ```

sandeep.kanaparthi
2016-09-27 23:00
Yes. Peer is already sending CORS header. I should have looked closer. Thanks a lot.

cryptokoffee
2016-09-27 23:28
has joined #general

flaviovb
2016-09-28 00:15
has joined #general

niezx
2016-09-28 00:37
has joined #general

vwalia
2016-09-28 02:00
has joined #general

mikedeshazer
2016-09-28 03:26
has joined #general

teddy
2016-09-28 03:59
with curl 172.17.0.2:7050/chain/blocks/0 i get the message blow {"transactions":[{"type":2,"chaincodeID":"EoABYWE3MjZiNTE2Y2UxODlkMjI2MzQ2YjRkNmE4MDhjNTM3NDY1Nzc4ODdlNDQzZmI4ZGUyNjQxOTY1MGUyYjBlNzJkZDBjYjQ5NzAxZmRkZGM5M2RhMTMyYzM2MGZmMDNhMjI5OGRiNmQ4YzlkZTI2YWQ5ZDI2NmM1YjA1YTZhOTA=","payload":"CqIBCAESgwESgAFhYTcyNmI1MTZjZTE4OWQyMjYzNDZiNGQ2YTgwOGM1Mzc0NjU3Nzg4N2U0NDNmYjhkZTI2NDE5NjUwZTJiMGU3MmRkMGNiNDk3MDFmZGRkYzkzZGExMzJjMzYwZmYwM2EyMjk4ZGI2ZDhjOWRlMjZhZDlkMjY2YzViMDVhNmE5MBoYCgZpbnZva2UKBmUyOTk5OAoBYQoDNTAw","txid":"084f2274-fcee-41c6-ab7c-f36d8da57a31","timestamp":{"seconds":1475034631,"nanos":2867496}}],"stateHash":"TaqGyEQsGKLtgbYvEVOe7AmhlvLNut0WGiZX0fkFo7AdTYf5NUBFjFkdruwIucD1mhOaFDCtwfq7PHy97N25fQ==","previousBlockHash":"Qof7m3dBRnRJxnG4NMpx4gFZmDNaM/crOY5yyYRcu49kFMF1rTDYXMWJLz3ZMsZUaCKSjkQv2ogEZsrvebp3BA==","consensusMetadata":"CCY=","nonHashData":{"localLedgerCommitTimestamp":{"seconds":1475034632,"nanos":64856734},"chaincodeEvents":[{}]}} i wonder if i can get the transaction real content,like a pay b 30 or something like this. i think it's security for nobody cannot see the detail, but i don't find the doc talk about this.

tiffanywinman
2016-09-28 04:06
has joined #general

bgorman
2016-09-28 05:02
@teddy the payload of those transactions is a base64 blob of those details if you base64 decode it, you get something like this aa726b516ce189d226346b4d6a808c53746577887e443fb8de26419650e2b0e72dd0cb49701fdddc93da132c360ff03a2298db6d8c9de26ad9d266c5b05a6a90 invoke e29998 a 500

tandava
2016-09-28 05:53
has joined #general

oiakovlev
2016-09-28 06:10
If you're running with `CORE_SECURITY_PRIVACY=true` it will be also encrypted with your certificate, so it can be not just base64.

teddy
2016-09-28 06:14
thank you @bgorman and @oiakovlev .

hippyyao
2016-09-28 06:32
has joined #general

lkaczmar
2016-09-28 06:55
has joined #general

paddolker
2016-09-28 06:57
Dear All, I am hoping to get some information on the suitability of HyperLedger for a production deployment (for a FinTech product). Any views are sincerely appreciated.

zanejia
2016-09-28 07:23
has joined #general

vincentj
2016-09-28 07:26
has joined #general

zdavatz
2016-09-28 08:02
has joined #general


xuxinlai
2016-09-28 08:14

xuxinlai
2016-09-28 08:15
do anyone have the problem?

thatguydan
2016-09-28 08:16
has joined #general


xuxinlai
2016-09-28 09:02
can you anyone help me?

teddy
2016-09-28 09:05
can you open the url with brower?maybe it's ok later.

xuxinlai
2016-09-28 09:10
I can open the url with brower.

teddy
2016-09-28 09:18
i dont get this error. from the image, the provider is wrong. it should be --provider virtualbox

hanglin
2016-09-28 10:18
has joined #general

noeleon930
2016-09-28 11:50
has joined #general

m0mms
2016-09-28 11:57
has joined #general

cyrg
2016-09-28 12:19
has joined #general

walternate
2016-09-28 12:32
has joined #general

joshhus
2016-09-28 13:32
Documentation reminder: All fabric repo docs are also published here: http://hyperledger-fabric.readthedocs.io/en/latest/ ... specific feedback is welcome/encouraged!

ghaskins
2016-09-28 13:38
@teddy good eyes on the LXC provider

ghaskins
2016-09-28 13:38
@xuxinlai not sure what would cause this yet, but we only support the virtualbox provider

ghaskins
2016-09-28 13:39
if I had to guess, id guess you do not have virtualbox installed

ghaskins
2016-09-28 13:39
and perhaps that kicks vagrant down to lxc as a default or something

xuxinlai
2016-09-28 13:40
Thank you.I solve the problem.Because the version problem of virtualbox and vagrant

xuxinlai
2016-09-28 13:40
@ghaskins

ghaskins
2016-09-28 13:40
ok, cool….IIUC you had virtualbox installed but it was an older version?

xuxinlai
2016-09-28 13:41
in fact my virtualbox to new.

ghaskins
2016-09-28 13:41
5.1.x?

xuxinlai
2016-09-28 13:41
Yes

ghaskins
2016-09-28 13:41
and it had that error?

xuxinlai
2016-09-28 13:42
When uninstall 5.1 and install the 5.0.Then It is OK now.

ghaskins
2016-09-28 13:42
to be clear: what were your versions of vagrant/virtualbox before and now?

xuxinlai
2016-09-28 13:43
The Vagrant is 1.8.1 and virtual box is 5.0

xuxinlai
2016-09-28 13:44
Vagrant 1.8.1 and virtual box is 5.0 is OK and Vagrant 1.8.1 and virtual box is 5.1 become error.

xuxinlai
2016-09-28 13:45
Vagrant 1.8.1 : virtual OK Vagrant 1.8.1:virtual box error.

xuxinlai
2016-09-28 13:47
@ghaskins conclusion is: Vagrant 1.8.1 and virtual 5.0 OK Vagrant 1.8.1 and virtual 5.1 error Vagrant 1.8.6 and virtual 5.1 OK

ghaskins
2016-09-28 13:48
ok, that makes sense, thanks for confirming

ghaskins
2016-09-28 13:48
ill see if theres anything I can do to make the error more obvious

ghaskins
2016-09-28 13:48
e.g. “virtualbox required” is better than “atlas::LXC not found"

ghaskins
2016-09-28 13:49
at least that would have pointed you in the right direction sooner

xuxinlai
2016-09-28 13:49
Yes,it will be very helpful.

xuxinlai
2016-09-28 13:49
:+1:

hpyle
2016-09-28 14:21
has joined #general

brevity
2016-09-28 14:23
has joined #general

jklepach
2016-09-28 14:59
has joined #general

sandeep.kanaparthi
2016-09-28 17:50
I setup hyperledger fabric on my mac using "docker for mac" following the isstructions at http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#chaincode-deploy-via-cli-and-rest. Everything is working as expected. But, these instructions setup only one peer. Now, I want to setup multiple peers and verify that the ledger is getting synced by querying the other peers. Can some please point me the setup guide. thanks

sandeep.kanaparthi
2016-09-28 17:52
I don't care about consensus algorithm at this point. The default noops is fine.

nbutters
2016-09-28 18:03
has joined #general

echenrunner
2016-09-28 18:13
Yes. I am currently running the chaincode "Local" not docker. The reason I'm doing trace

echenrunner
2016-09-28 18:34
I have issue of when I enter the wrong password and I need to delete and rebuild to reenroll the user. What I did was fix the code so that I can reenter the correct password without remove anything.

echenrunner
2016-09-28 18:40
I am running the asset_m anagement chaincode. When I do a "query" of incorrect asset(Key). the chaincode comes down with "run time error: index out of range"

motoaddict
2016-09-28 18:52
has joined #general

beer
2016-09-28 21:21
has joined #general

ronenk
2016-09-28 21:51
has joined #general

alexm
2016-09-29 00:11
has joined #general

sukhoi
2016-09-29 01:34
has joined #general

dgamble
2016-09-29 01:49
has joined #general


xuxinlai
2016-09-29 01:55

xuxinlai
2016-09-29 01:55
do anyone know any mirrors in China.

xuxinlai
2016-09-29 01:56
?

caijie
2016-09-29 02:10
has joined #general

mikew77
2016-09-29 02:58
has joined #general

tam
2016-09-29 03:27
has joined #general

lius
2016-09-29 03:47
has joined #general

zephyr
2016-09-29 03:51
has joined #general

gaurav
2016-09-29 04:24
Guidance needed on using HFC node client library from windows machine. Because of dependency of HFC(0.6.*) npm library on node-gyp, we are unable to work with HFC npm client library on windows machine, as it fails to install because of issues related to python & Microsoft Visual studio c++ which needs to be present on windows. Is there any recommended way to work with HFC(0.6.*) client libraries from windows? Error stack trace while installing HFC: C:\Gaurav\IBM\workspace\BTMU\phase2\source\poc_hfc2\node_modules\hashtable>if no t defined npm_config_node_gyp (node "C:\sft\node\node6.5.0\node_modules\npm\bin\ node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure build ) el se (node "" configure build ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT HON env variable. gyp ERR! stack at failNoPython (C:\sft\node\node6.5.0\node_modules\npm\node_ modules\node-gyp\lib\configure.js:401:14) gyp ERR! stack at C:\sft\node\node6.5.0\node_modules\npm\node_modules\node-g yp\lib\configure.js:356:11 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "C:\\sft\\node\\node6.5.0 node.exe" "C:\\sft\\node\\node6.5.0\ \node_modules\\npm\\node_modules\\node-gyp\\bin node-gyp.js" "configure" "build " gyp ERR! cwd C:\Gaurav\IBM\workspace\BTMU\phase2\source\poc_hfc2\node_modules\ha shtable gyp ERR! node -v v6.5.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok

yufanghua
2016-09-29 05:16
has joined #general

latgarf
2016-09-29 06:05
has joined #general

s-satkumar
2016-09-29 06:38
has joined #general

sandeep.kanaparthi
2016-09-29 07:09
I have setup 2 peers with the help of the Fabric Network Setup on my mac using “docker for mac". I managed to deploy a CC then call the invoke function using the REST API calls. While both the invoke messages resulted in a success the query message simply fails. This is weird as it works fine when the same set of commands are applied to a single peer instantiated in dev mode (peer node start --peer-chaincodedev). Note that the 2 peers are setup using Docker containers. Here is an example of what the JSON response for query looks like: { "jsonrpc":"2.0", "error":{ "code":-32003, "message":"Query failure", "data":"Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for 04233c6dd8364b9f0749882eb6d1b50992b942aa0a664182946f411ab46802a88574932ccd75f8c75e780036e363d52dd56ccadc2bfde95709fc39148d76f050 - LedgerError - ResourceNotFound: ledger: resource not found)" }, "id":5 } What could be wrong with my multiple peers setup?

sandeep.kanaparthi
2016-09-29 07:10
Here is my docker-compose.yml:

sandeep.kanaparthi
2016-09-29 07:10
vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7053:7053" environment: - CORE_PEER_ID=vp0 - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG command: peer node start --peer-chaincodedev vp1: image: hyperledger/fabric-peer ports: - "8050:7050" - "8051:7051" - "8053:7053" environment: - CORE_PEER_ID=vp1 - CORE_PEER_ADDRESSAUTODETECT=true - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 links: - vp0 command: sh -c "sleep 5; peer node start --peer-chaincodedev"

cminarovits
2016-09-29 08:09
has joined #general

max_taldykin
2016-09-29 08:14
has joined #general

queenie
2016-09-29 09:12
has joined #general

serkhanus
2016-09-29 10:07
has joined #general

pmcosta
2016-09-29 11:03
Maybe because you’re missing ```

pmcosta
2016-09-29 11:04
``` volumes: - /var/run/docker.sock:/var/run/docker.sock```

pmcosta
2016-09-29 11:04
but check the logs

doun
2016-09-29 11:23
has joined #general

serega
2016-09-29 12:03
has joined #general

thefringe
2016-09-29 12:38
has joined #general

grbulat
2016-09-29 12:45
has joined #general

fbenedetti
2016-09-29 12:55
has joined #general

rmarcand
2016-09-29 13:49
has joined #general

bhaskar.banerjee
2016-09-29 13:57
has joined #general

paulw
2016-09-29 14:21
has joined #general

davidsmits
2016-09-29 15:02
has joined #general

martijnwouters
2016-09-29 15:06
has joined #general

brianpconnelly
2016-09-29 15:09
has joined #general

kaliffmsk
2016-09-29 15:18
has joined #general

ksarin
2016-09-29 15:21
has joined #general

luke
2016-09-29 15:26
has joined #general

jwolpert
2016-09-29 16:38
This is a really great, simple way to figure out how to contribute on Fabric V1: http://hyperledger-fabric.readthedocs.io/en/latest/abstract_v1/

jwolpert
2016-09-29 16:38
Here’s the latest video on V1…was a big hit in China and Geneva this week: https://youtu.be/EKa5Gh9whgU

jameslloyd
2016-09-29 16:42
has joined #general

samburaj
2016-09-29 19:31
has joined #general

markparz
2016-09-29 20:08
Posted several more playbacks on the #playbacks channel, including ledger and gossip protocol

echenrunner
2016-09-29 20:24
Joe,

echenrunner
2016-09-29 20:26
Joe, did you work for SIAC in the pst?

sudhir
2016-09-29 21:36
has joined #general

craigtjerandsen
2016-09-29 22:08
has joined #general

winsoft
2016-09-29 22:52
has joined #general

clayton
2016-09-29 23:48
has joined #general

mikeward
2016-09-30 00:35
has joined #general

smothiki
2016-09-30 01:01
has joined #general

lory
2016-09-30 03:13
has joined #general

sadanandu
2016-09-30 03:47
has joined #general

pramod_rajagopal
2016-09-30 04:11
has joined #general

vramakr2
2016-09-30 05:21
has joined #general

shannon_wie
2016-09-30 05:47
has joined #general

sandeep.kanaparthi
2016-09-30 05:52
Is it possible to get value of a key from the ledger at any given time in the past? e.g. I want to know the value of a key yesterday.

kh2se2013
2016-09-30 06:13
hi, all, is there any membersrvc cluster/ load banlance solution yet?

ccooper21
2016-09-30 06:16
@sandeep.kanaparthi Someone can correct me if I'm wrong, but based on the chaincode examples I'm under the impression that if you want to maintain temporal state that you need to pull it along as you update the world state. In other words, before storing any new state, you'd need to load the previous state and merge it into the new state (e.g. some kind of compound JSON object) and then store the merged result into the world state.

adrien.favre
2016-09-30 10:31
has joined #general

rail.zamaletdinov
2016-09-30 11:45
has joined #general

andrea_g
2016-09-30 12:00
has joined #general

mormond
2016-09-30 13:12
has joined #general

fredericdgrv
2016-09-30 13:38
has joined #general

abbas
2016-09-30 14:40
has joined #general

thilo
2016-09-30 15:19
has joined #general

yogigolle
2016-09-30 15:49
has joined #general

aarontalo
2016-09-30 16:46
has joined #general

echenrunner
2016-09-30 17:16
I am curious if anyone started writing POC chainCode to present to there company? I am building/writing one and some time when I accidently enter a wrong Key, I get Index error and my CC abend.

sandeep.kanaparthi
2016-09-30 17:42
Thanks cooper21.

sandeep.kanaparthi
2016-09-30 17:43
Considering the fact that audit trail is one the use cases of blockchain, Is it on fabric roadmap?

ghaskins
2016-09-30 17:59
@echenrunner I am, but I am not really able to parse your issue

ghaskins
2016-09-30 17:59
what do you mean by “wrong key” ?

echenrunner
2016-09-30 18:05
stub.GetRow("AssistRequest", columns)

ghaskins
2016-09-30 18:12
ok, and I assume “abend” is a typo for “abort"

echenrunner
2016-09-30 18:16
yes. is a old mainframe terms

ghaskins
2016-09-30 18:17
ah. gotcha

ghaskins
2016-09-30 18:18
i just checked our code: we def use GetRow all over the place

ghaskins
2016-09-30 18:18
it does return an error tuple though…are you checking that?

ghaskins
2016-09-30 18:18
e.g. result, err := stub.GetRow()

ghaskins
2016-09-30 18:19
i have to step away, but I would look at it from thatangle

ghaskins
2016-09-30 18:19
at the very least, I would expect you to get an err returned, not an abort

ghaskins
2016-09-30 18:19
(sorry, “abend” ;)

echenrunner
2016-09-30 18:19
row, err := stub.GetRow

ghaskins
2016-09-30 18:19
hmm, sorry, not sure

ghaskins
2016-09-30 18:19
ours works, fwiw

ghaskins
2016-09-30 18:20
but I have to run, bbiab

echenrunner
2016-09-30 18:28
thank you

ghaskins
2016-09-30 18:32
Suggest running your chaincode in devmode using delve

ghaskins
2016-09-30 18:32
Also suggest switching to #fabric

echenrunner
2016-09-30 19:20
In the core.yaml I switch fron NET(docker) to DEV

ghaskins
2016-09-30 19:21
that might work, but that isnt how I run it, hold on let me find instructions


ghaskins
2016-09-30 19:22
i use the —peer-chaincodedev option

echenrunner
2016-09-30 19:22
That what I use as well.


ghaskins
2016-09-30 19:23
but you add “dlv …” in front

echenrunner
2016-09-30 19:23
yes.


echenrunner
2016-09-30 19:24
the Dev is avoid the chaincode being run as docker.

ghaskins
2016-09-30 19:24
right, but it also gives you an opportunity to run it under a debugger such as delve

ghaskins
2016-09-30 19:25
generally you want to add “dlv exec” in front of the chaincode command

ghaskins
2016-09-30 19:25
YMMV


ghaskins
2016-09-30 19:27
from there, I would go through the deploy+trigger steps from the client, and when the app aborts, you’ll get the dlv prompt back at the crash point

ghaskins
2016-09-30 19:27
if you are not familar with delve, its very similar to using gdb from the command line

echenrunner
2016-09-30 19:27
I am about the TRACE the code from the abort.

ghaskins
2016-09-30 19:28
(except its golang aware, like goroutines, etc

ghaskins
2016-09-30 19:28
cool, good luck!

echenrunner
2016-09-30 19:29
another question, did you run into an issue of enroll and user with incorrect password and then you correct the password and still won't work?

ghaskins
2016-09-30 19:30
no, but my usage is fairly basic

ghaskins
2016-09-30 19:30
i generally reset everything between cycles

ghaskins
2016-09-30 19:30
(i shut down client, peer, membersrvc, blow away their persistent state, bring them back up again

echenrunner
2016-09-30 19:31
I wonder if the one I pull from Aug is the old one. maybe this is the reasn

echenrunner
2016-09-30 20:28
from the TRACE/DEBUG +++ 16:20:41.205 [chaincode] func1 -> DEBU 13c9 [31facb28]No state associated with key: 16MYAssestTable16Cust_KEY. Sending RESPONSE with an empty payload from there it abort the chainCode with index out of range

ghaskins
2016-09-30 22:20
What is the stack trace on the actual abort?

echenrunner
2016-10-01 00:35
It points to the chaincode that issue the GetRow. I have question and is more of for everyone. In the z/VM mainframe community we have a workshop that runs once a year

echenrunner
2016-10-01 00:37
the workshop provides training given by users them self. I wonder if this something that we should have. Please go check the http://vmworkshop.org

richardchu
2016-10-01 01:50
has joined #general

javierchan
2016-10-01 01:58
has joined #general

mano
2016-10-01 06:31
has joined #general

mano
2016-10-01 06:34
Hi Everyone, Mano from Otonomos, joining this exciting project to learn more.

lenh
2016-10-01 06:49
welcome

rajkishan
2016-10-01 07:32
has joined #general

kerstentw
2016-10-01 09:37
has joined #general

harish
2016-10-01 10:11
has joined #general

lenh
2016-10-01 10:21
Anyone around that can give a quick hand re using git-review for pushing changes...

wanghaibo
2016-10-01 10:48
has joined #general

romanix
2016-10-01 15:33
has joined #general

echenrunner
2016-10-01 16:49
I made a quick change in the chaincode.go to add rowBytes, err := stub.GetState(keyString) if err != nil { return row, fmt.Errorf("Error fetching row from DB: %s", err) } if rowBytes == nil { return row, fmt.Errorf("Error no row found from DB: %s", err) }

ghaskins
2016-10-01 17:07
@echenrunner is it hitting that error?

echenrunner
2016-10-01 17:09
yes it need to check if rowBytes is empty

ghaskins
2016-10-01 17:17
ok, this makes sense

butch
2016-10-01 17:43
has joined #general

lenh
2016-10-01 17:45
When trying to enroll a user I get... ```ERROR: failed to register admin: Error: Identity or token does not match``` but I've checked the membersrvc.yaml file and the password is correct. Any ideas anyone?

lenh
2016-10-01 17:49
Quick overview of my setup: Fabric VM running on a specific IP 2. ssh then cd /opt/gopath/src/github.com/hyperledger/fabric/build/bin 3. membersrvc > membersrvc.log 2>&1& 4. peer node start --peer-chaincodedev HostOS 1. node app calling the above on the assigned IP The communication layer works as the error I'm getting is coming from the membersrvc (I think?)

lenh
2016-10-01 17:50
Basically I'm trying to get the chaincode_example02 running from a "remote" node app...

mart0nix
2016-10-01 17:50
@lenh I used to get this when attempting to enroll the same user twice

lenh
2016-10-01 17:50
aha - ok....

lenh
2016-10-01 17:51
so just for testing if I kill everything and delete the production dir and then start it all up and call the enroll once only from the node side it should work...?

mart0nix
2016-10-01 17:51
yeah

mart0nix
2016-10-01 17:53
@lenh the only 'advanced' samples I managed to run was the JS asset_management unit tests (via docker containers)

lenh
2016-10-01 17:55
ok - that worked although I got a `sending init` failed...

lenh
2016-10-01 17:56
but that's fine - the point was to check if the comms actually works - which I'm now satisfied that it does... thanks for pointer the one-time only enrollment requirement... forgot about that...

lenh
2016-10-01 17:59
what is strange though is I just ran the enrollment request again to check that it fails and it didn't... it went through fine

echenrunner
2016-10-01 18:45
I sent a fix last week when I encounter this issue. they have not responded.

syrohei
2016-10-02 03:26
has joined #general

pa7x
2016-10-02 06:24
has joined #general

georgeo
2016-10-02 09:36
has joined #general

seshak
2016-10-02 11:24
Folks what is the process for joining different WGs? . Specifically looking for participating in the #identity #WG

tbenzies
2016-10-02 11:49
@seshak - connect up with Christopher Allen ( ) — he manages that WG

tbenzies
2016-10-02 11:49

seshak
2016-10-02 11:51
thanks Todd. Will reach out to Chris

adizah
2016-10-02 15:32
has joined #general

vu3mmg
2016-10-02 15:37
has joined #general

echenrunner
2016-10-02 16:55
just download the latest fabric, move one of chaincodes I wrote last week. now I'm stuck looking for what was changed - :slightly_smiling_face: .

mango.the.cryptofruit
2016-10-02 17:44
has joined #general

salilbatra
2016-10-02 18:32
has joined #general

jamieobe
2016-10-02 19:08
has joined #general

magidc
2016-10-02 19:19
has joined #general

gmctec
2016-10-02 22:01
has joined #general

jamesbarry
2016-10-03 02:23
has joined #general

jreynaga
2016-10-03 03:47
has joined #general

mmangnai
2016-10-03 03:50
has joined #general

cbf
2016-10-03 07:43
for those wishing to track or participate in the hackfest we can use the #technical-discuss channel - here’s the evolving agenda https://docs.google.com/document/d/1zOkbVMbC3cdnStan4BAvufA9zpFyua_vJN6z8XxGq-Y/edit

takeshi
2016-10-03 07:59
has joined #general

titocastro
2016-10-03 08:34
Hello everyone!! Is there someone working on UI mockups for generic/specific management consoles? In which channel can I ask for more info on this? Thanks!!!

mffrench
2016-10-03 08:36
has joined #general

jamescarlyle
2016-10-03 08:38
has joined #general

rishav
2016-10-03 09:41
has joined #general

arkumar1
2016-10-03 09:47
has joined #general

ianllloyd
2016-10-03 10:09
has joined #general

shak
2016-10-03 11:00
has joined #general

jannop
2016-10-03 12:36
has joined #general

fabrice.yans
2016-10-03 12:42
has joined #general

james.irvine
2016-10-03 12:59
has joined #general

alankhlim
2016-10-03 13:12
has joined #general

hartmanmario
2016-10-03 13:44
has joined #general

ant2221
2016-10-03 13:46
does the https://www.hyperledger.org/category/announcements page have an RSS/Atom feed or some way to show how many are in Hyperledger without a semi-regular re-count of icons on the page?

joepayne
2016-10-03 14:16
has joined #general

bweed
2016-10-03 15:11
has joined #general

chaitanya
2016-10-03 15:24
has joined #general

jean-marie.bouvier
2016-10-03 16:01
has joined #general

brianbehlendorf
2016-10-03 16:02
For those in Amsterdam tonight, can I propose we gather starting around 7:30pm at Proeflokaal Arendsnest, on Herengracht 90, 1015 BS Amsterdam?

brianbehlendorf
2016-10-03 16:02
They appear to have a large beer selection, and we can head out from there. BYO wallet. :slightly_smiling_face:

vipinb
2016-10-03 16:07
Have one for me

bweed
2016-10-03 16:27
Blockchain for Business on Linkedin ==> https://www.linkedin.com/groups/8513285

jamescarlyle
2016-10-03 17:54
@brianbehlendorf: heading to Arendsnest from my hotel now; pls can you ping here where you head on to?

sjwagner
2016-10-03 20:07
has joined #general

clinishare-me
2016-10-03 22:05
has joined #general

sramay
2016-10-03 22:48
has joined #general

owah
2016-10-03 23:51
has joined #general

redmonski
2016-10-04 03:33
has joined #general

pdulong
2016-10-04 04:01
has joined #general

pdulong
2016-10-04 04:04
Hi, are there people here from Singapore :smile:

redmonski
2016-10-04 04:24
i am :grinning:

joemphilips
2016-10-04 04:45
has joined #general

fango
2016-10-04 06:36
I am in Singapore too

i.akilan
2016-10-04 06:41
Me too

ledger
2016-10-04 07:59
has joined #general

dkotecka
2016-10-04 08:03
has joined #general

gdinoto
2016-10-04 09:01
has joined #general

erich
2016-10-04 09:05
has joined #general

msingh
2016-10-04 09:18
has joined #general

astepanov
2016-10-04 09:21
Hi everyone! Do you thing fabric will have an acceptable performance in case it have a 1000 users who may write transactions and something around 1 million read-only users in membership service?

kreiter
2016-10-04 09:31
has joined #general

gokulamurthy
2016-10-04 09:32
has joined #general

gokulamurthy
2016-10-04 09:37
Hi, I'm new to Hyperledger. I'm looking to do local dev setup of Hyperledger with fabric SDK.

gokulamurthy
2016-10-04 09:37
Before getting into this, i would like to know the prerequisites with hardware requirements

gokulamurthy
2016-10-04 09:39
Please help me with the list of minimal hardware requirements to completed this setup

echenrunner
2016-10-04 09:56
good morning, I have it running on my Laptop - leap4.2 If you need the instruction please let me know. I document the install. I would like to posted on the http://vmworkshop.org

vyas
2016-10-04 10:02
has joined #general

gokulamurthy
2016-10-04 10:42
@echenrunner yeah it should be helpful for me to get start in quicker way

gokulamurthy
2016-10-04 10:43
@echenrunner what do you meant leap4.2?

echenrunner
2016-10-04 11:45
SuSE Linux. My environment is vbox. what I have been doing is create vbox with SuSE Linux Leap4.2 and give it to my co-work so he can play around it when he is commuting on the train. it does kills time :slightly_smiling_face:

roman.oleksiievets
2016-10-04 11:58
has joined #general

sdiehl
2016-10-04 12:46
has joined #general

jeff.plate
2016-10-04 12:53
has joined #general

gokulamurthy
2016-10-04 13:06
@echenrunner Gotcha, can you please share me the document to for the installation instructions with prerequisites (including hardware information like CPUs, GPUs, etc)

andreas.fletcher
2016-10-04 13:11
hello, is their a way to view past messages? I just noiticed that i can not see the full message history of for example the requirements channel. Can some one tell me how to solve this or could some one point me to the right person to address this issue so that it gets solved?

ghaskins
2016-10-04 13:48
Slack has a 10k message limit unless someone pays for an upgrade, which is prohibitively expensive for a group this size

hgabor
2016-10-04 13:50
one has to print his/her message history every week

john.mccloskey
2016-10-04 14:00
has joined #general

patstoms
2016-10-04 14:34
it could be a good idea to log these chat rooms

scott.davis.01
2016-10-04 14:59
has joined #general

isabelle.jubin
2016-10-04 15:24
has joined #general

kevzhang
2016-10-04 17:26
has joined #general

christophera
2016-10-04 19:50
A reminder that our next Hyperledger Identity WG meeting will be tomorrow, Wednesday Oct 5th, at 12pm EDT / 9am PDT. The topic of this meeting is the Hyperledger Sawtooth Endpoint Registry, which will be hosted by Mic Bowman of Intel <mic.bowman@intel.com> (I will be out-of-country). Meeting Details You can join the WebEx at https://meetings.webex.com/collabs/meetings/join?uuid=M13E85PQ13KWSMVJJLZ1FZ3XNX-9VIB Or you can join by phone: Call-in toll number (US/Canada) Call-in toll-free number (US/Canada) Access code: 190 609 401 Google Docs Shared Notes for meetings are at: https://docs.google.com/document/d/1nVkjhSlghjc4KFWEYDU2B0ztWCFh1CK8a7VmqwFsnKY/edit?usp=sharing

markparz
2016-10-04 20:14
Hi everyone, If you are looking for help to navigate Jira and see what the current prioritized list is for fabric at least from my view, please see the #requirements channel. I ask if there is something in your mind that is out of priority order, or simply missing in the near term, please bring it up in the #requirements slack channel. I’m working to keep the list in order as best I can, but need your feedback as well to help rank these.

dtonelli
2016-10-04 20:28
has joined #general

rik
2016-10-04 21:37
has joined #general

hnwai
2016-10-04 21:56
has joined #general

jmherrer
2016-10-05 00:32
has joined #general

libra9z
2016-10-05 00:51
has joined #general

6c6f7665
2016-10-05 01:15
has joined #general

6c6f7665
2016-10-05 01:17
thx4hackathon@amsterdam, great event :man-woman-girl-boy:

gm
2016-10-05 04:19
has joined #general

ca7869
2016-10-05 05:40
has joined #general

tribalmedusa
2016-10-05 08:21
has joined #general

murayama
2016-10-05 10:16
has joined #general

fima
2016-10-05 10:20
has joined #general

stizzard-ibm
2016-10-05 11:51
has joined #general

matherst
2016-10-05 11:59
has joined #general

ironbord
2016-10-05 12:31
has joined #general

mahoney
2016-10-05 12:32
has joined #general

dhaazen
2016-10-05 13:09
has joined #general

sahitya.pavurala
2016-10-05 13:18
has joined #general

vigneswaran.r
2016-10-05 13:49
has joined #general

mskmatt
2016-10-05 13:49
has joined #general

velibor.mandic
2016-10-05 13:53
Hi all, did anyone have any luck enabling TLS on Member service and peers and then running Node.js unit tests against it?

stevenroose
2016-10-05 14:19
has joined #general

dgdosen
2016-10-05 14:22
has joined #general

jamescarlyle
2016-10-05 14:33
@6c6f7665 agree, really enjoyed it

moh.maher
2016-10-05 15:05
has joined #general

klall
2016-10-05 16:15
has joined #general

danielita2111
2016-10-05 16:20
has joined #general

patrickdevivo
2016-10-05 16:23
has joined #general

jsalvachua
2016-10-05 16:47
has joined #general

havell
2016-10-05 17:20
has joined #general

dhruvn
2016-10-05 17:55
has joined #general

mart0nix
2016-10-05 18:03
where can we see slides/videos/presentations from the hackathon@amsterdam???

mart0nix
2016-10-05 18:17
@6c6f7665 @jamescarlyle do you guys know any links ?

jamescarlyle
2016-10-05 18:26
sorry, I was a first-time visitor :slightly_smiling_face: I don't know how the community works; but am here to learn

jonathanlevi
2016-10-05 18:31
@velibor.mandic: In `fabric`, right? If so, please can you try @ the #fabric-sdk-node (and/or @ the #membership-services) channels…

velibor.mandic
2016-10-05 18:53
thanks, will do

fschwanzara
2016-10-05 20:03
has joined #general

lukas.berlin
2016-10-05 20:36
has joined #general

dzakharo
2016-10-05 21:59
has joined #general

will.tesch
2016-10-05 22:37
has joined #general

kreative06
2016-10-06 03:58
has joined #general

shamckm
2016-10-06 04:05
has joined #general

joeld5
2016-10-06 04:24
has joined #general

cryptoc
2016-10-06 05:51
has joined #general

madhavi
2016-10-06 06:04
has joined #general

kaavya
2016-10-06 06:11
has joined #general

dishter
2016-10-06 06:17
has joined #general

zhenyuanwei
2016-10-06 06:19
has joined #general

tprafull
2016-10-06 07:52
Hey guys , Is hyperledger open source as eris ?

jmdiaz
2016-10-06 08:09
has joined #general

stevenroose
2016-10-06 08:10
@tprafull as it is hosted by the linux foundation, I guess you can answer that question yourself

sadanandu
2016-10-06 08:25
Hi, I am trying to setup chaincode developer env by following http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/ . I am on a windows 7 machine and using vagrant vm i.e. using option. I am not able to start peer and facing some issue. I have also asked a question regarding this at http://stackoverflow.com/questions/39865384/is-my-hyperledger-peer-make-successful . Can some one please help me out here?

yacovm
2016-10-06 08:30
@sadanandu can you try to do: `export PATH=$PATH:/opt/gopath/src/github.com/hyperledger/fabric/build/bin` ?

yacovm
2016-10-06 08:30
and then try to run the peer again?

yacovm
2016-10-06 08:30
from the folder `/opt/gopath/src/github.com/hyperledger/fabric`

fboudinet
2016-10-06 08:44
has joined #general

andrei
2016-10-06 08:50
has joined #general

sadanandu
2016-10-06 08:58
@yacovm I understand what you are trying to hint at but the problem is make command has not created anything at /build/bin

sadanandu
2016-10-06 08:59
Please have a look at my question, there I have mentioned the output of 'make peer' command

chsteven1688
2016-10-06 09:01
has joined #general

yacovm
2016-10-06 09:05
can you edit your stackOverflow question with the full log, uploaded to http://pastebin.com or something? do something like `make peer | tee out.log` and then upload the log to pastebin or any other site

aimen
2016-10-06 09:06
has joined #general

paul
2016-10-06 09:09
has joined #general

echenrunner
2016-10-06 09:11
edit the /opt/gopath/src/github.com/hyperledger/fabric/membersrvc /membersrvc.yaml and turn on "debug" from "warn"

echenrunner
2016-10-06 09:13
then do "make membersrvc" , "which membersrvc" then "membersrvc"

sadanandu
2016-10-06 09:15
@yacovm here are the logs http://pastebin.com/C8NyJUgg

yacovm
2016-10-06 09:16
and it's stuck like this?

sadanandu
2016-10-06 09:16
Yes

sadanandu
2016-10-06 09:17
I think it means peer is started in a container

yacovm
2016-10-06 09:17
can you do `docker exec -it c48c1b4f8f23 /bin/bash` ?

sadanandu
2016-10-06 09:17
Yes I could do that but I did not know what to do next

yacovm
2016-10-06 09:18
umm I'd try to understand what's going on there

sadanandu
2016-10-06 09:19
Oh...there is a change now on the make peer window

sadanandu
2016-10-06 09:19
It went ahead

sadanandu
2016-10-06 09:20
And last statement is 'Binary available as build/bin/peer'

sadanandu
2016-10-06 09:21
This did not happen for last 2 days...when I was trying this out.... today after a lot of tries I gave docker tools a try

sadanandu
2016-10-06 09:21
May be that changed something

sadanandu
2016-10-06 09:21
Let me try 'peer node start ' now

sadanandu
2016-10-06 09:25
Finally I got this output:

sadanandu
2016-10-06 09:25
Received REGISTERED, ready for invocations

sadanandu
2016-10-06 09:25
:innocent:

sadanandu
2016-10-06 09:26
Thanks @yacovm for kind help

yacovm
2016-10-06 09:26
np

vurumadl
2016-10-06 11:31
Hi.. I am very new to this Hyperledger project.. Can anyone give directions stating how to have the setup installed in my machine :slightly_smiling_face:

garisingh
2016-10-06 12:04
@vurumadl - which project? fabric, sawtooth lake or both? and do you want to "use" them (meaning build apps / solutions) or become a contributor? of course I recommend using them first

rakoch
2016-10-06 12:05
has joined #general

madhavi
2016-10-06 12:42
Hi.... can anyone give directions to sync two peers in a network ?

middleton
2016-10-06 12:46

tuand
2016-10-06 12:51
@madhavi , could you give more details ? fabric or sawtooth ? what's the scenario ?

madhavi
2016-10-06 12:54
its fabric i started two peers like vp0 and vp1

madhavi
2016-10-06 12:54
by using vp0 i am able to deploy, invoke and query the chaincode

madhavi
2016-10-06 12:55
if i try to query the chaincode by using vp1 peer its not working

tuand
2016-10-06 12:55
@madhavi, since it's fabric, let's continue in #fabric channel

roddias
2016-10-06 13:01
has joined #general

david.varga
2016-10-06 14:36
has joined #general

kiranfanscie
2016-10-06 14:48
has joined #general

huxiaozhuan
2016-10-06 15:32
has joined #general

ravirajpatil
2016-10-06 15:57
has joined #general

adrianhopebailie
2016-10-06 17:06
has joined #general

inguelberth
2016-10-06 17:28
has joined #general

bvandeve
2016-10-06 18:11
has joined #general

cooganb
2016-10-06 20:37
has joined #general

ellen
2016-10-06 21:54
has joined #general

jordan
2016-10-07 00:35
has joined #general

vurumadl
2016-10-07 03:31
@garisingh Fabric.. Yes i want to build apps initially and then contribute as per my understanding..

vurumadl
2016-10-07 03:33
@middleton Thanks... :slightly_smiling_face:

jmahhh
2016-10-07 05:26
has joined #general

jmahhh
2016-10-07 05:29

jmahhh
2016-10-07 05:30
`CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02` gives me ``` 13:25:00.490 [shim] INFO : error with chaincode log level: logger: invalid log level level= 13:25:00.490 [shim] DEBU : Peer address: 0.0.0.0:7051 2016/10/07 13:25:01 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/10/07 13:25:03 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 13:25:03.491 [shim] ERRO : Error trying to connect to local peer: grpc: timed out when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: timed out when dialing[joel@localhost chaincode_example02]$ ^C ```

jmahhh
2016-10-07 05:30
(Option 3)

vigneswaran.r
2016-10-07 05:32
Have you started the peer service?

jmahhh
2016-10-07 05:32
yup

jmahhh
2016-10-07 05:32
looks fine

vigneswaran.r
2016-10-07 05:33
If you're using Linux machine, you can try the command "netstat -nlpt" to see what are all the services listening on which port..

vigneswaran.r
2016-10-07 05:33
By any chance you started the peer inside a docker image? In that case, your peer address may be 172.17.0.2 (instead of localhost 0.0.0.0)

jmahhh
2016-10-07 05:34
ah yes I tried that already

jmahhh
2016-10-07 05:34
didn't change anything

jmahhh
2016-10-07 05:34
is `mycc` correct..?

vigneswaran.r
2016-10-07 05:35
To me, it looks like a problem with peer service IP.. Need to provide the correct IP. Have you tried netstat -nlpt? Whether peer in running on the localhost?

vigneswaran.r
2016-10-07 05:36
chaincode name (mycc) is not a problem..

jmahhh
2016-10-07 05:36
`ip add` shows ```4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default link/ether 02:42:eb:b9:45:d5 brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 scope global docker0 valid_lft forever preferred_lft forever inet6 fe80::42:ebff:feb9:45d5/64 scope link valid_lft forever preferred_lft forever ```

vigneswaran.r
2016-10-07 05:37
ok. have you started memebrship service also inside docker?

jmahhh
2016-10-07 05:37
no don't think I have

jmahhh
2016-10-07 05:37
I only have peers running at this moment

vigneswaran.r
2016-10-07 05:38
ok

jmahhh
2016-10-07 05:38
oh wait it's the same process

jmahhh
2016-10-07 05:38
``` docker-compose up Starting hypertest_membersrvc_1 Starting hypertest_vp0_1 Attaching to hypertest_membersrvc_1, hypertest_vp0_1 ```

vigneswaran.r
2016-10-07 05:39
yeah..

vigneswaran.r
2016-10-07 05:39
ok, then try 172.17.0.3 as the core peer address

jmahhh
2016-10-07 05:39
haha works!

vigneswaran.r
2016-10-07 05:39
ok :slightly_smiling_face:

jmahhh
2016-10-07 05:39
how come? Should the tutorial be adjusted?

vigneswaran.r
2016-10-07 05:40
172.17.0.1 is taken by docker0 on localhost. 172.17.0.2 is taken by membersrvc. The first peer will take 172.17.0.3 and so on

jmahhh
2016-10-07 05:41
alright cheers!

jmahhh
2016-10-07 05:41
I guess the yml file and that command may not be in sync

vigneswaran.r
2016-10-07 05:41
ok

jmahhh
2016-10-07 05:49
one more q... `peer: command not found`

vigneswaran.r
2016-10-07 05:50
if you have done "make peer", you can find peer executable inside "fabric/build/bin"

jmahhh
2016-10-07 05:53
hmmm no I didn't do that. What dir do I need to make peer in?

vigneswaran.r
2016-10-07 05:53
from $GOPATH/src/github.com/hyperledger/fabric

jmahhh
2016-10-07 05:54
oh I see. I didn't make `make membersrvc && membersrvc` either cause they are listed under Vagrant

vigneswaran.r
2016-10-07 05:55
fine.. but you may need peer to test CLI commands like deploy/invoke/query

vigneswaran.r
2016-10-07 05:56
You may know that both membersrvc and peer can be built as docker image or directly on the host..

vigneswaran.r
2016-10-07 05:56
In case of membersrvc, docker image is sufficient.

jmahhh
2016-10-07 05:57
ah ok

vigneswaran.r
2016-10-07 05:57
In case of peer, we may need "peer" executable on localhost also (for doing deploy, invoke, query from CLI)

jmahhh
2016-10-07 05:57
right

jmahhh
2016-10-07 05:57
ok making

jmahhh
2016-10-07 06:43
``` [joel@localhost fabric]$ make peer build/bin/peer CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" GOBIN=/home/joel/src/github.com/hyperledger/fabric/build/bin go install -ldflags "-X http://github.com/hyperledger/fabric/metadata.Version=0.7.0-snapshot-0e69b6d" http://github.com/hyperledger/fabric/peer # http://github.com/hyperledger/fabric/vendor/github.com/tecbot/gorocksdb vendor/github.com/tecbot/gorocksdb/backup.go:4:24: fatal error: rocksdb/c.h: No such file or directory // #include "rocksdb/c.h" ^ compilation terminated. # http://github.com/hyperledger/fabric/vendor/github.com/mattn/go-sqlite3 /usr/bin/ld: cannot find -lrocksdb collect2: error: ld returned 1 exit status make: *** [Makefile:178: build/bin/peer] Error 2 ```

jmahhh
2016-10-07 06:43
:disappointed:

vigneswaran.r
2016-10-07 06:47
Seems some dependency is missing (rocksdb). Not sure why.. Usually, vagrant setup takes care of installing all the required dependencies.

jmahhh
2016-10-07 06:47
I don't use actually use Vagrant. So I need it to make peer?

vigneswaran.r
2016-10-07 06:50
Then just ensure that you have rockdb (may be dev package) installed on your machine.

abhisingh
2016-10-07 06:51
has joined #general

vigneswaran.r
2016-10-07 06:52
If we are not working inside the vagrant environment, we should take care of installing the pre-requisites.

harshita
2016-10-07 06:54
has joined #general

batsayan
2016-10-07 06:58
has joined #general

vinayak
2016-10-07 07:02
has joined #general

ibmamnt
2016-10-07 07:53
@jmahhh : Try run ```"/opt/gopath/src/github.com/hyperledger/fabric/images/base/scripts/common/setup.sh"```

ibmamnt
2016-10-07 07:53
This will install necessary packages (Go, Protobuf3 and rocks db)

jmahhh
2016-10-07 07:55
cheers, but I have no `base` in my `images`. I installed rocksdb via `yaourt` but it gives me `vendor/github.com/tecbot/gorocksdb/options.go:328: not enough arguments in call to _Cfunc_rocksdb_options_set_compression_options`. I think the package may be out of date... (Arch Linux btw)

garisingh
2016-10-07 07:58
@jmahhh - unfortunately almost every installer for rocksdb installs the wrong version

jmahhh
2016-10-07 07:58
yea thought so

garisingh
2016-10-07 07:58
the fabric currently only works with rocksdb 4.1

jmahhh
2016-10-07 07:58
ah! I see.

vishalbatra
2016-10-07 07:58
has joined #general

jmahhh
2016-10-07 07:58
maybe I should go the vagrant route.

garisingh
2016-10-07 07:59
what's your OS?

jmahhh
2016-10-07 07:59
arch 4.7.5-1

vishalbatra
2016-10-07 08:00
Hi, I am trying to install HL on Ubuntu but am getting the following error:

vishalbatra
2016-10-07 08:00
build/bin/peer CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" GOBIN=/opt/gopath/src/github.com/hyperledger/fabric/build/bin go install -ldflags "-X http://github.com/hyperledger/fabric/metadata.Version=0.7.0-snapshot-448d207" http://github.com/hyperledger/fabric/peer core/admin.go:27:2: cannot find package "http://github.com/golang/protobuf/ptypes/empty" in any of: /usr/local/go/src/pkg/github.com/golang/protobuf/ptypes/empty (from $GOROOT) /opt/gopath/src/github.com/golang/protobuf/ptypes/empty (from $GOPATH) core/util/utils.go:28:2: cannot find package "http://github.com/golang/protobuf/ptypes/timestamp" in any of: /usr/local/go/src/pkg/github.com/golang/protobuf/ptypes/timestamp (from $GOROOT) /opt/gopath/src/github.com/golang/protobuf/ptypes/timestamp (from $GOPATH) make: *** [build/bin/peer] Error 1

garisingh
2016-10-07 08:01
@jmahhh I guess it depends on how much time you want to spend installing configuring the base dependencies (likely translating from the ubuntu-based scripts) versus quickly getting up and running for development

vishalbatra
2016-10-07 08:01
any pointers?

vishalbatra
2016-10-07 08:02
@garisingh so what's the alternative?

garisingh
2016-10-07 08:03
@vishalbatra - what are you planning to do with the fabric? why not just use the Docker images?

vishalbatra
2016-10-07 08:04
we want to run peer and membersrvc as independent process in OS, which can be independently integrated/accessed from app server

jmahhh
2016-10-07 08:05
@garisingh nah I'd just love to get up and running.

garisingh
2016-10-07 08:05
why? you can essentially do the same thing by running the Docker images and using host networking rather than bridge mode

garisingh
2016-10-07 08:05
@jmahhh - so if you want to start contributing to fabric, then I'd go the Vagrant route. If you just want to start building chaincode and apps, I go the Docker route

jmahhh
2016-10-07 08:06
@garisingh ok cheers!

vishalbatra
2016-10-07 08:08
the app server runs Chaincode generator (from a given XML/SCDL) and deploys it on HL fabric. Can we run the app server outside docker and achieve this?

garisingh
2016-10-07 08:08
sure

garisingh
2016-10-07 08:09
either expose the ports for the Docker images (e.g. -p 7051:7051) or run your containers in host networking mode (--net=host)

garisingh
2016-10-07 08:09
either way the endpoints will be exposed on the host directly

vishalbatra
2016-10-07 08:09
ok

vishalbatra
2016-10-07 08:10
thanks. giving it a shot

ccooper21
2016-10-07 08:15
@vishalbatra if you haven't figured out your installation problem, you might take a look at this https://gist.github.com/ccooper21/fb9ee6dca018885a1ced87cd5c60a935 You can use it to install Fabric directly in Ubuntu without Vagrant. I used it to deploy at AWS but it isn't really specific to that. Read the comments and you'll understand.


vishalbatra
2016-10-07 08:39
@ccooper21 thanks so much! this is very helpful. trying it out

zemtsov
2016-10-07 08:41
@zemtsov uploaded a file: https://hyperledgerproject.slack.com/files/zemtsov/F2LHP6Q5S/-.sh and commented: Hello everyone. I’ve got this error when trying to query my chaincode. Can’t find info in the Internet. Can anyone help me to understand what is wrong?

abhisingh
2016-10-07 09:20
Hi everyone, I am getting this error while running "docker-compose up" command

abhisingh
2016-10-07 09:21


vigneswaran.r
2016-10-07 09:23
@abhisingh You may have to remove the files /var/hyperledger/production/*

vigneswaran.r
2016-10-07 09:24
I think, you run docker-compose up multiple times. So, the user test_vp0 is already logged in.

abhisingh
2016-10-07 09:24
But there is no docker container running.

vigneswaran.r
2016-10-07 09:25
Ok. Anyway, you can try cleaning up files once..

abhisingh
2016-10-07 09:26
But in my /var directory there is nothing like hyperledger/

abhisingh
2016-10-07 09:26
I tried this

garisingh
2016-10-07 09:39
@abhisingh - it is possible that you ran `docker-compose up`, then stopped the containers, slightly modified the yaml (perhaps changing the peer config) and then ran `docker-compose up` again?

vigneswaran.r
2016-10-07 09:59
Now I remember.. use sleep 15 (instead of 5) and try

vigneswaran.r
2016-10-07 09:59
Sometimes, the membership service is not ready when peer is trying to connect

vigneswaran.r
2016-10-07 09:59
@abhisingh FYI..

abhisingh
2016-10-07 10:17
I have one more doubt: I have deployed chaincode_example02 and successfully invoked but I am facing problem with query command

abhisingh
2016-10-07 10:18

2016-10-07 10:18
@abhisingh commented on @abhisingh’s file https://hyperledgerproject.slack.com/files/abhisingh/F2LJLG0TE/-.sh: But Chaincode is already deployed.

vigneswaran.r
2016-10-07 10:18
How did you resolve your previous error with "docker-compose up"? It would help others..

abhisingh
2016-10-07 10:27
That is still unresolved. I switched to different node.

vigneswaran.r
2016-10-07 10:28
Ok. You can try to increase the sleep time to 15 in the docker-compose. It may help to resolve your previous error.

vigneswaran.r
2016-10-07 10:29
regarding query error, please post the query.json file..

abhisingh
2016-10-07 10:30
Yes. Sure.

abhisingh
2016-10-07 10:31
@abhisingh uploaded a file: https://hyperledgerproject.slack.com/files/abhisingh/F2LK4Q8PR/-.js and commented: This is query.json

vigneswaran.r
2016-10-07 10:33
Looks fine.. I hope, the chaincode ID is correct, and you're querying the chaincode after giving sufficient time for it to deploy (say 60 to 120secs, just in case).

vigneswaran.r
2016-10-07 10:34
Also see are there any errors reported on the peer log..

vigneswaran.r
2016-10-07 10:34
Possibly, the deploy didn't go well due to some errors.

abhisingh
2016-10-07 10:39
@abhisingh uploaded a file: https://hyperledgerproject.slack.com/files/abhisingh/F2LK7B8UF/capture.jpg and commented: This if from peer window. I was not able to copy that's why posting image.

abhisingh
2016-10-07 10:40

vigneswaran.r
2016-10-07 10:40
Seems, some error related to docker..

vigneswaran.r
2016-10-07 10:41
May be you can restart the docker service

abhisingh
2016-10-07 10:46
Same error again after restarting docker services. Note: invoke is running fine

vigneswaran.r
2016-10-07 10:46
Ok. Not sure what goes wrong here..

abhisingh
2016-10-07 10:47

2016-10-07 10:47
@abhisingh commented on @abhisingh’s file https://hyperledgerproject.slack.com/files/abhisingh/F2LHH637V/-.sh: This is for incoke

vigneswaran.r
2016-10-07 10:47
ok..

2016-10-07 10:47
@abhisingh commented on @abhisingh’s file https://hyperledgerproject.slack.com/files/abhisingh/F2LHH637V/-.sh: Invoke*

gokulamurthy
2016-10-07 11:12
Guys, anyone please let me know the CPUs, GPUs, processors speed,etc required for Hyperledger with Fabric in production env?

mart0nix
2016-10-07 11:22
@mart0nix pinned @ccooper21’s Shell https://hyperledgerproject.slack.com/files/ccooper21/F2BD9GRDK/setup-aws_sh.sh to this channel.

owah
2016-10-07 11:25
Hey, I was wondering if there is any way to look at specific older transactions, to actually see WHAT the transaction did, e.g. take 50 from A and give it to B ? Because the /transactions endpoint only returns hashes with timestamps

abhisingh
2016-10-07 11:36
@garisingh Yes, I did the same.

abhisingh
2016-10-07 11:58
But didn't modify yaml.

zemtsov
2016-10-07 12:19
Guys, can anyone help with "Error handling chaincode support stream: stream error: code = 1 desc = “context canceled”"?

muralisr
2016-10-07 13:10
@zemtsov that by itself doesnt say much.

muralisr
2016-10-07 13:10
peer and chaincode logs will help

zemtsov
2016-10-07 13:11
I suppose that the problem occurs when I call function stub.GetCallerCertificate() try to get caller’s name from the certificate, like it is done in car-leasing-demo chaincode

kardam.tiwari
2016-10-07 13:25
has joined #general

matherst
2016-10-07 13:36
Hi guys, I have a question about hyperledger... Does time to validate blocks increase as the length of the blockchain increases?

ianmorrismisys
2016-10-07 13:48
has joined #general

abhisingh
2016-10-07 13:58
@abhisingh uploaded a file: https://hyperledgerproject.slack.com/files/abhisingh/F2LMBAPPX/-.sh and commented: In peer log I found this while deploying the chaincode.

abhisingh
2016-10-07 14:00
@abhisingh uploaded a file: https://hyperledgerproject.slack.com/files/abhisingh/F2LMCDLLV/-.txt and commented: This is the whole log of deploy chaincode command at peer.

abhisingh
2016-10-07 14:04
Line no 31 32 49 and 51 is showing an error.

francesco.fantazzini
2016-10-07 14:06
has joined #general

tom_menner
2016-10-07 14:14
has joined #general

muralisr
2016-10-07 14:29
@abhisingh can you share the command you did the deploy with ?

abhisingh
2016-10-07 14:33
curl -X POST -d @deploy.json https://172.17.0.2:7050/chaincode

muralisr
2016-10-07 14:35
what does deploy.json look like

abhisingh
2016-10-07 14:47


muralisr
2016-10-07 14:51
@abhisingh `Error building images: Post ?` - suspect the docker endpoint definition is incorrect

garisingh
2016-10-07 14:53
yeah - that endpoint is definitely wrong

abhisingh
2016-10-07 14:53
How to correct that? And how to check it?

muralisr
2016-10-07 14:54
@abhisingh hard to say … did you modify your environment ?

muralisr
2016-10-07 14:54
how are you running your peer ?

simonloader
2016-10-07 14:54
Suggests CORE_VM_ENDPOINT is wrong

muralisr
2016-10-07 14:55
right

muralisr
2016-10-07 14:55
probably

abhisingh
2016-10-07 14:56
Using "docker-compose up" command

abhisingh
2016-10-07 14:57
@abhisingh uploaded a file: https://hyperledgerproject.slack.com/files/abhisingh/F2LN24B88/-.js and commented: This is docker-compose.yml file

abhisingh
2016-10-07 14:58
@abhisingh uploaded a file: https://hyperledgerproject.slack.com/files/abhisingh/F2LND74SK/-.js and commented: Output of "ip add"

simonloader
2016-10-07 15:13
CORE_VM_ENDPOINT=172.17.0.1/16 <--- this is wrong

simonloader
2016-10-07 15:15
CORE_VM_ENDPOINT=172.17.0.1:2375

simonloader
2016-10-07 15:15
maybe

simonloader
2016-10-07 15:15
depending on what port docker is running on

retlaw
2016-10-07 15:28
has joined #general

zemtsov
2016-10-07 15:38
@zemtsov uploaded a file: https://hyperledgerproject.slack.com/files/zemtsov/F2LP8GP8S/getcallercertificate.go and commented: This is a function from car-leasing-demo. It returns the name of user who queries the chaincode. When I do the same in my chaincode x509Cert.Subject.CommonName is equal to “Transaction Certificate”. What is the correct way to get the caller’s name from the chaincode?

abhisingh
2016-10-07 15:50
@simonloader Still same error

abhisingh
2016-10-07 15:50

simonloader
2016-10-07 15:51
Cant be the same

abhisingh
2016-10-07 15:51
ERRO 070 Error building images: cannot connect to Docker endpoint

simonloader
2016-10-07 15:51
I dont see Error building images anywhere in there

simonloader
2016-10-07 15:52
ster failed Error starting container: cannot connect to Docker endpoint

abhisingh
2016-10-07 15:52
see line #27 n 28

simonloader
2016-10-07 15:52
what port does docker listen on ?

abhisingh
2016-10-07 15:52
2375

simonloader
2016-10-07 15:53
any firewall ?

simonloader
2016-10-07 15:53
so telnet 172.17.0.1 2375 responds ?

simonloader
2016-10-07 15:56
CORE_VM_ENDPOINT= needs to be a working docker port

simonloader
2016-10-07 15:56
that your peer can communicate with

simonloader
2016-10-07 15:56
or peers

simonloader
2016-10-07 15:57
Is this using the vagrant demo ?

abhisingh
2016-10-07 15:58
NO it not using vagrant

abhisingh
2016-10-07 15:58
Let me test telnet ip

abhisingh
2016-10-07 16:19

abhisingh
2016-10-07 16:20
See this. PORTS field is empty.

abhisingh
2016-10-07 16:21
Is this the problem?

juren
2016-10-07 18:28
has joined #general

kongotania
2016-10-07 19:39
has joined #general

xuxinlai
2016-10-07 22:05
root@b6c6443e9b3c:/opt/gopath/src/github.com/chaincode_example02# CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02 22:05:00.063 [shim] DEBU : Peer address: 0.0.0.0:7051 2016/10/07 22:05:01 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/10/07 22:05:02 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 22:05:03.064 [shim] ERRO : Error trying to connect to local peer: grpc: timed out when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: timed out when dialingroot@b6c6443e9b3c:/opt/gopath/src/github.com/chaincode_example02#

xuxinlai
2016-10-07 22:06
do anyone know the problem?

muralisr
2016-10-07 22:30
@xuxinlai how are you starting the peer ?

xuxinlai
2016-10-07 22:32
1.pull the [hyperledger/fabric-peer ]

xuxinlai
2016-10-07 22:32
2.sudo docker run -t -i hyperledger/fabric-peer /bin/bash

xuxinlai
2016-10-07 22:33
3.root@b6c6443e9b3c:/opt/gopath/src/github.com/chaincode_example02# go build

xuxinlai
2016-10-07 22:34
4.CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02

xuxinlai
2016-10-07 22:35
@muralisr I do as the above steps. Do I miss the [starting the peer]?

muralisr
2016-10-07 22:35
yes


xuxinlai
2016-10-07 22:36
thanks.

muralisr
2016-10-07 22:36
sure

xuxinlai
2016-10-07 22:44
when I run the command [docker build -t hyperledger/fabric-starter-kit:latest .]

xuxinlai
2016-10-07 22:45
node_modules/.bin/tsc src/hfc.ts(2411,24): error TS2339: Property 'notBefore' does not exist on type 'Attribute'. src/hfc.ts(2411,59): error TS2339: Property 'notBefore' does not exist on type 'Attribute'. src/hfc.ts(2412,24): error TS2339: Property 'notAfter' does not exist on type 'Attribute'. src/hfc.ts(2412,57): error TS2339: Property 'notAfter' does not exist on type 'Attribute'. typings/globals/node/index.d.ts(415,11): error TS2430: Interface 'NodeBuffer' incorrectly extends interface 'Uint8Array'. Types of property 'fill' are incompatible. Type '(value: any, offset?: number, end?: number) => Buffer' is not assignable to type '(value: number, start?: number, end?: number) => this'. Type 'Buffer' is not assignable to type 'this'. make: *** [lib/hfc.js] Error 2 The command '/bin/sh -c make all' returned a non-zero code: 2

xuxinlai
2016-10-07 22:45
there is a error comes.

xuxinlai
2016-10-07 22:45
Does anyone meet the same problem.

tkuhrt
2016-10-08 00:13
has joined #general

mkaczynski
2016-10-08 02:32
has joined #general

renhongchang
2016-10-08 03:28
has joined #general

arthur.yu
2016-10-08 04:24
has joined #general

williamzhu
2016-10-08 05:55
has joined #general

martinb
2016-10-08 06:16
has joined #general

flyingtiger.feihu
2016-10-08 06:36
Does anyone know which team won virtual reality headsets in the hackathon, which use case?

flyingtiger.feihu
2016-10-08 06:37
Which team won 3D printers? and which one won drones?

flyingtiger.feihu
2016-10-08 06:37
Thanks very much!

mhayashi
2016-10-08 07:20
has joined #general

vire
2016-10-08 08:47
has joined #general

garisingh
2016-10-08 09:27
@xuxinlai - you might want to pull the latest source and go from there. I'd also advise modifying the Dockerfile for building the starter kit to simply do an `npm install hfc` rather than the way it works today installing/building the hfc from source

xuxinlai
2016-10-08 09:34
you mean that change FROM ------------------------------------------------------------------- # install the hfc locally for use by the application RUN npm install $GOPATH/src/github.com/hyperledger/fabric/sdk/node ------------------------------------------------------------------- ->to ------------------------------------------------------------------- npm install hfc -------------------------------------------------------------------

xuxinlai
2016-10-08 09:35
@garisingh

garisingh
2016-10-08 09:39
yep

xuxinlai
2016-10-08 09:40
Thanks u.I will try it.


xuxinlai
2016-10-08 10:34
when type [make node-sdk]

xuxinlai
2016-10-08 10:34
does not create "build/bin" folder

xuxinlai
2016-10-08 10:34
Does anyone know why?

abhisingh
2016-10-08 11:24
@garisingh Do you know the solution for my problem posted above?


xuxinlai
2016-10-08 12:14
does anyone know the error.

xuxinlai
2016-10-08 12:14
?

ghaskins
2016-10-08 14:11
@xuxinlai: the build/bin problem sounds like a makefile bug. Pls file JIRA and assign to me

andyverbunt
2016-10-08 15:40
has joined #general

rajeshscontact
2016-10-08 16:05
has joined #general

nastia
2016-10-08 16:05
has joined #general

parisny
2016-10-08 16:09
has joined #general

vigneswaran.r
2016-10-08 16:23
@xuxinlai Some things to check when npm install fails. 1) whether you're behind any proxy? If so, execute the following commands npm config set proxy "http://user:passwd@proxy:port" npm config set https-proxy "http://user:passwd@proxy:port" Sometimes, proxy may not allow to CONNECT https. Then try the following too, npm config set registry http://registry.npmjs.org/ Before re-executing "npm install", better clear partial install from the current directory (where npm install executed) rm -rf node_modules

vire
2016-10-08 17:35
hi guys, is there a tutorial how I can strt the hyperledger locally? and then connect a couple of remote nodes and add something to the blockchain?

tuand
2016-10-08 17:47
@vire, best place to start would be http://hyperledger-fabric.readthedocs.io or the .md files in hyperledger/fabric/docs

tuand
2016-10-08 17:48
The docs will walk you through creating the network and executing the chaincode examples

vire
2016-10-08 18:02
:bow:

echenrunner
2016-10-08 18:18
Hi guys, I am creating 4 Validating peers. In the documentation it uses vpN, can I uses different name like HyperLedgerVPn. also in the consensus/pbft config.yaml if I have one noneVP, do I change it from 4 to 5? Thnaks

tuand
2016-10-08 19:23
For now, you have to name the peers as VPn

tuand
2016-10-08 19:25
As part of the new architecture work, we're looking at ways to have pbft work without worrying about the names

echenrunner
2016-10-08 19:40
another question if I have 4 servers(VP) and have chaincode running on those 4, is I envoke 1 of them. do I see all 4 running?

echenrunner
2016-10-08 19:50
and name conversion ofr nor vaildateing peer

garisingh
2016-10-08 20:09
there's no real use for a non validating peer

garisingh
2016-10-08 20:09
they are going away in the new architecture so I would not use them

garisingh
2016-10-08 20:10
in terms of executing chaincode, you would invoke a transaction against any one of the peers which then submits it for consensus and the transaction is delivered and executed by each peer

garisingh
2016-10-08 20:10
@echenrunner ^^^

echenrunner
2016-10-08 20:48
thanks, this what I have in each of my server in the core.yaml file

echenrunner
2016-10-08 20:49
id: vp3 validator: enabled: true consensus: # Consensus plugin to use. The value is the name of the plugin, e.g. pbft, noops ( this value is case-insensitive) # if the given value is not recognized, we will default to noops plugin: pbft rootnode: 192.168.56.101:7051, 192.168.56.102:7051, 192.168.56.103:7051, 192.168.56.104:7051, 192.168.56.105:7051

echenrunner
2016-10-08 20:51
am I missing any things. when I issue a query, on one of the host, t seem the chaincode does not get started. only at the one I query again it.

garisingh
2016-10-08 21:26
ah - query only runs on the peer you called

garisingh
2016-10-08 21:26
invoke runs on all

alessandro
2016-10-08 22:02
has joined #general

josedc
2016-10-08 22:45
has joined #general

echenrunner
2016-10-08 23:11
thank you Garisingh, Just run an invoke see the chaincode running on all four severers. query verify the result

lodestone18
2016-10-09 01:26
has joined #general

cx
2016-10-09 01:36
has joined #general

teddy
2016-10-09 03:31
hi,i deploy the example chaincode with four vp node, and init a, b for trans, then i change the chaincode and depoy. i get a new chaincodeID, i find i need to init a,b again. how can i upgrade my chaincode without init again, that means i lost the history data.

vu3mmg
2016-10-09 05:45
Could you point me to some good examples of chaincode/smart contract

dillonhows
2016-10-09 06:24
has joined #general

phyrex
2016-10-09 08:05
has joined #general

rain8010
2016-10-09 09:27
has joined #general

rain8010
2016-10-09 09:40
Hi, I am new in the project. Could anyone help me about creating a Linux Foundation ID? I always got " The answer you entered for the CAPTCHA was not correct."


rain8010
2016-10-09 09:45
Many thanks.

flemmingkrath
2016-10-09 09:52
has joined #general

warm3snow
2016-10-09 10:27
@rain8010 It's because you're in China, the problem hasn't been solved. Login in with your github account (top 3 item). Email to Linux Foundation(sorry, I forgot the email address) and report your problem, they'll give you a link to finish it.

echenrunner
2016-10-09 12:21
I issue an enrollment to one of my ValidatingPeer(192.168.56.103)vp3 . the enrollment want successful, but the other three did not get updated. only vp3. The membersrvc runs on it's own server. Thanks


garisingh
2016-10-09 13:17
I tried to write an explanation. If you want to be able to use the same id to connect to multiple peers, then you'll need to use the NodeSDK and/or the GRPC APIs instead of using the REST API

moitreyee
2016-10-09 14:55
has joined #general

seshadrs
2016-10-09 15:00
has joined #general

pwwolff
2016-10-09 15:01
has joined #general

jasonrosso
2016-10-09 15:22
has joined #general

bharat
2016-10-09 15:34
has joined #general

venkata
2016-10-09 16:28
has joined #general

zemtsov
2016-10-09 18:30
@teddy as far as I know it is not implemented yet. Every new chaincode has access only to the data it created.

futurist
2016-10-09 18:32
has joined #general

kent_landholm
2016-10-09 20:34
@kent_landholm pinned a message to this channel.

ana
2016-10-09 20:49
has joined #general

bv
2016-10-09 21:22
has joined #general

teddy
2016-10-10 01:54
@zemtsov thanks. @garisingh answered this before but i'm not sure. it's a problem for production env.

jbelog
2016-10-10 02:31
has joined #general

daniel1
2016-10-10 02:40
has joined #general

george153
2016-10-10 04:06
has joined #general

zemtsov
2016-10-10 05:24
@teddy fabric is in dev preview state now. I'm sure it will be implemented soon

therajmahal
2016-10-10 05:28
has joined #general

larry
2016-10-10 05:32
has joined #general

tongsh
2016-10-10 07:45
has joined #general

martin-goslin
2016-10-10 07:58
has joined #general

dbilanov
2016-10-10 09:00
has joined #general

huyaxin
2016-10-10 09:59
has joined #general

zemtsov
2016-10-10 11:07
@abhisingh have you resolved your problem with error [rpc error: code = 2 desc = Identity or token does not match]? (https://hyperledgerproject.slack.com/files/abhisingh/F2LJH9NKB/-.txt)

zemtsov
2016-10-10 11:07

echenrunner
2016-10-10 11:08
Hi Garisingh, why was the concept of NVP created and what is the reason to removed. Thanks :slightly_smiling_face:

abhisingh
2016-10-10 11:10
Hi @zemtsov! Nope, still unresolved.

zemtsov
2016-10-10 11:11
I have the same issue now :disappointed:

abhisingh
2016-10-10 11:14
"It is possible that you ran `docker-compose up`, then stopped the containers, slightly modified the yaml (perhaps changing the peer config) and then ran `docker-compose up` again?" This is the comment from @garisingh. I did the same except changing the peer config file. I think this is the main reason why we are getting this error.

zemtsov
2016-10-10 11:15
I went another way. I have built membersrvc and peer from hyperledger/fabric source folder.

mayankanup
2016-10-10 11:15
has joined #general

abhisingh
2016-10-10 11:18
@zemtsov Are you using the docker compose?

zemtsov
2016-10-10 11:18
no. I start them with ‘membersrvc' and ‘peer node start’ commands from fabric directory

zemtsov
2016-10-10 11:28
@abhisingh Looks like it is working again. I just removed /var/hyperledger/production one more time and restarted services

crazybit
2016-10-10 11:50
has joined #general

abhisingh
2016-10-10 11:56
@zemtsov: Great :slightly_smiling_face:

christophera
2016-10-10 11:56
On April 29th in Paris, between IEEE S&P and Eurocrypt, we are hosting IEEE Security & Privacy on Blockchain http://prosecco.gforge.inria.fr/ieee-blockchain2016/ — I am chair of program committee. The deadline for submissions is December 14th.

crazybit
2016-10-10 12:37
i am new to fabric,any one can tell any quick way to build and run the fabric in local pc, btw, i am using ubuntu


zemtsov
2016-10-10 12:43
Is uses Host-VM-Docker model

zemtsov
2016-10-10 12:43
*It uses

garisingh
2016-10-10 12:45
@crazybit - I highly advise using the Docker images rather than trying to build thing locally on the host. You really want to get started with basic chaincode development initially - so http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/ would be my recommended starting point as well

crazybit
2016-10-10 12:46
@zemtsov @garisingh thanks

zemtsov
2016-10-10 12:58
Guys, is it possible to start several nodes on a single machine?

aloughran
2016-10-10 13:01
yeah, using docker & scaling

aloughran
2016-10-10 13:01
whats the use case?

zemtsov
2016-10-10 13:03
Actually I’d like to investigate how pbft works. As far as I understand it requires 4 nodes in the network

robert.symes
2016-10-10 13:04
has joined #general

tuand
2016-10-10 13:05
@zemtsov , look in directory hyperledger/fabric/bddtests for examples on how to run 4+ nodes with PBFT with docker-compose ...

tuand
2016-10-10 13:06
i've usually run with vagrant and docker-compose ... if you want to run on actual OS or using VM, you'll need to play around with addresses and port numbers

zemtsov
2016-10-10 13:06
Thanks!

crazybit
2016-10-10 13:09
can any one briefly tell me what is the different between PBFT and POW/DPOS

tuand
2016-10-10 13:17
@crazybit, the guys working on fabric consensus use #fabric-consensus-dev ... PBFT nodes exchange messages and depend on receiving from enough nodes to determine consensus , no proof like PoW ... the seminal paper is `Practical Byzantine Fault Tolerance and Proactive Recovery` by Castro & Liskov

zemtsov
2016-10-10 13:46
Can anybody say what does this message mean? `Currently system chaincode does support security(noop,http://github.com/hyperledger/fabric/bddtests/syschaincode/noop)`?


markparz
2016-10-10 14:10
Very nice demo of the Gossip protocol has been placed on the #playbacks channel

tom.appleyard
2016-10-10 14:16
Quick question about PBFT - doesn anyone know on what grounds the validating leader is changed? (i.e. is it every block, after a certain number of TXs etc.) Following from this how is the new leader chosen?

zemtsov
2016-10-10 14:21
validating peers make the election

zemtsov
2016-10-10 14:21
and choose the new leader

tom.appleyard
2016-10-10 14:25
what kicks off an election?

tom.appleyard
2016-10-10 14:25
and how do they decide who to vote for?

gatb27
2016-10-10 14:34
has joined #general

aliblackwell
2016-10-10 15:15
@brianbehlendorf hey are you up for looking into getting Slack to treat Hyperledger as a registered non-profit? It'd be really useful to be able to see the chat history in all the channels. Might one of our industry partners be prepared to put some cash in? Here's the relevant page on Slack's website: https://get.slack.help/hc/en-us/articles/204368833

brianbehlendorf
2016-10-10 15:16
We already asked, they already said no, since we're a 501c6 (industrial consortium) and not a 501c3.

brianbehlendorf
2016-10-10 15:16
$200k was the quoted amount since we have so many individual users.

brianbehlendorf
2016-10-10 15:17
that's insane unless there truly are no alternatives. plus, anything non-temporary should be done on mailing lists or in Jira anyways.

aliblackwell
2016-10-10 15:17
that is bonkers – thanks for getting back.

krams
2016-10-10 15:33
has joined #general

abhishekbp
2016-10-10 15:48
has joined #general

arnaud
2016-10-10 16:12
@aliblackwell another reason not to do that is that not everybody can use/access slack so we've decided not to fully depend on slack

arnaud
2016-10-10 16:13
we've discussed alternatives - there are quite a few - but not managed to converge on a particular solution so far

echenrunner
2016-10-10 16:50
question yesterday I brought up 4 Validating peers and one none validating peer plus memberservc. I was told I don't need NVP. I took the address on NVP in my core,yaml now it still looking for the NVP. how do I tell him to stop looking for it

yacovm
2016-10-10 16:52
what's the value of `peer.discovery.persist` ?

garisingh
2016-10-10 16:54
by value, you mean purpose?

yacovm
2016-10-10 16:54
no... I mean value

yacovm
2016-10-10 16:54
in the yaml

garisingh
2016-10-10 16:54
true or false

garisingh
2016-10-10 16:54
true by default

yacovm
2016-10-10 16:54
I think the solution to his problem is to delete the NVP from the persistor, if that is in use

yacovm
2016-10-10 16:54
that's what I'm trying to get to, Gari.

garisingh
2016-10-10 16:54
yeah - except it is stored in the DB

garisingh
2016-10-10 16:54
:disappointed:

yacovm
2016-10-10 16:54
oh? really?

yacovm
2016-10-10 16:55
yep

yacovm
2016-10-10 16:55
you're right

garisingh
2016-10-10 16:55
``` // Store enables a peer to persist the given key,value pair to the database func (p *Impl) Store(key string, value []byte) error { db := db.GetDBHandle() return db.Put(db.PersistCF, []byte(key), value) } ```

garisingh
2016-10-10 16:55
I know because I have face this issue :disappointed:

yacovm
2016-10-10 16:56
I didn't, only remembered going through that code in the past... isn't there a way of taking down a VP 1-by-1 and deleting it from rocks DB?

yacovm
2016-10-10 16:56
is there even a CLI to rocksDB?

yacovm
2016-10-10 16:58
So basically if the persistor is enabled (and is, by default)- your DB is tattooed forever with all peers you've ever seen before. a blessing and a curse.

echenrunner
2016-10-10 17:10
Therefore I must delete it. or accept the fact as it is.

echenrunner
2016-10-10 17:33
I am also getting too many open files... and then abort

yacovm
2016-10-10 17:34
oh really?

yacovm
2016-10-10 17:34
that's interesting, can you please attach an output of `lsof` on the process? or is it already dead?

geeth.demel
2016-10-10 17:41
has joined #general

elli
2016-10-10 17:52
Hi, please join fabric-crypto channel for discussions over the security/crypto components of fabric.

elli
2016-10-10 17:53
Also in channel fabric-next-proto we discuss the next architecture message protocols format. Any feedback/comment would be welcome!

echenrunner
2016-10-10 18:05
it's already dead

cacaxi
2016-10-10 19:08
has joined #general

echenrunner
2016-10-10 20:14
I rebuild the /var/hyperledger/production on each of the peers running and the membersrvc and now the problem of too many file open resolved. Question I have now is membersrvc. To get every reloaded I have to bring-up a non-validating "peer" on the membersrvc server. and then copy everything on the /var/hyperLedger/production directory to each of the peer that runs the chaincode. Is there a better way of doing this? how do we deal with new enrollment?

ddkothar
2016-10-10 21:35
has joined #general

ddkothar
2016-10-10 21:41
Hey, guys I am new in this group, can someone help me to get to speed?

hema
2016-10-10 21:52
has joined #general

tbenzies
2016-10-10 22:35
Given the limitations of Slack, we are evaluating moving to Discourse as an alternative. As such, if you have not already, please create an account at check out http://discuss.hyperledger.org/.

carlosarturoq
2016-10-10 23:11
has joined #general

siannyg
2016-10-11 02:29
has joined #general

ccooper21
2016-10-11 02:41
@brianbehlendorf If you are looking for an alternative to Slack, you might check out Rocket Chat (https://rocket.chat/). I encountered it on another project, and it seems functionally comparable to Slack. It is open source though so not subject to the tiered Slack limitations.

rain8010
2016-10-11 02:46
@warm3snow thank you. I solved the problem according to your reply.

mrbuggy
2016-10-11 03:13
has joined #general

chauncey.chen
2016-10-11 03:43
has joined #general

mint
2016-10-11 04:03
@cbf @baohua I have a question, a chaincode deployed on vps. If a vp turn off, the chaincode on it turn off as follow, but if the vp turn on, the chaincode can turn on too?

hustdihu
2016-10-11 04:44
has joined #general

zemtsov
2016-10-11 05:21
Chaincode is deploying onto all vps in the network. If one of vps goes offline, chaincode still lives in the blockchain.

baohua
2016-10-11 05:37
@mint how’s ur deployment topology? If you deploy vp and chaincode together, then both will turn off after the shutdown. However, other peers will still provide the service normally.

mint
2016-10-11 05:42
@baohua I know both will shutdown, but if the vp power on, can the chaincode startup automatically?Tks

baohua
2016-10-11 05:43
That depends. Can u describe the deployment details?

mint
2016-10-11 05:47
I'm just curious. Because If the chaincode can’t be automatically startup after the vp, this vp is pointless for consensus

arvin
2016-10-11 05:57
@baohua is there some way in net model chaincode container and vp container can run in different host?

baohua
2016-10-11 05:57
certainly

arvin
2016-10-11 05:58
and where can i get detail?

zemtsov
2016-10-11 05:58
What is chaincode container?

baohua
2016-10-11 05:59
see vm configurations in the core.yaml file

arvin
2016-10-11 06:01
i get it ,thanks

arvin
2016-10-11 06:05
@baohua do you have some message in membersrvc HA

baohua
2016-10-11 06:05
message?

arvin
2016-10-11 06:07
how can i config membersrvc HA in 0.6

baohua
2016-10-11 06:11
I guess there is no embedded HA support now. Not sure whether this should be implemented in fabric recently.

gengjh
2016-10-11 06:15
By my understanding, membersrvc HA support will be in 0.7. At least in the original milestone plan.


gengjh
2016-10-11 06:26
some tasks in jira about HA support are still in todo status :thinking_face:


baohua
2016-10-11 06:28
yes, and u can talk with membersrvc workgroup to see the existing status.

saran
2016-10-11 06:42
has joined #general

arvin
2016-10-11 07:16
got it , membersrvc HA was delayed

gatb27
2016-10-11 07:23
@gatb27 uploaded a file: https://hyperledgerproject.slack.com/files/gatb27/F2MMZ08G3/-.txt and commented: Hi all! I'm new to hyperledger and I've a very stupid question :slightly_smiling_face: I'm following the original Fabric documentation (http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/) and I think I've set up everything correctly, but I don't understand a very critical thing: how can I use the REST api to start interacting with the blockchain and use some chaincode? Do you know another guide step by step for starting to better understand how to work locally with the hyperledger? Thanks to all which will help me, Have a goody day and enjoy your time :slightly_smiling_face:

zemtsov
2016-10-11 07:27
For example, you can make a POST request from JavaScript to `http://<yourhost>:<port>/chaincode` and send JSON you provided. This should deploy you chaincode to the blockchain.

zemtsov
2016-10-11 07:28
But you should set correct name in chaincodeID

arvin
2016-10-11 07:29
you must login in with jim or other users first. http://<yourhost>:7051/registrar

zemtsov
2016-10-11 07:31
in that case JSON should also include secureContext property, I guess

gatb27
2016-10-11 07:44
Thank you both, I'll try asap :smile:

ant2221
2016-10-11 09:23
@brianbehlendorf are your slides available from the LinuxCon keynote anywhere? They do not appear to be on the LinuxCon website :confused:

owah
2016-10-11 09:57
do you guys know if there is any project which is already making use of hl-fabric properly?

gatb27
2016-10-11 10:23
@zemtsov @arvin Now I've used vagrant and I am able to perform the basic commands deploy, invoke and query for chaincode_example02. Thank you for the support :slightly_smiling_face:

arvin
2016-10-11 10:27
glad to help you

zemtsov
2016-10-11 10:57
Hello. I use node.js `hfc` package to make some configuration of the blockchain. And when I call function `enroll(username, password, cb)` I get the following error: `Handshake failed with fatal error SSL_ERROR_SSL: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number.` Is it something in my peer config or in membersrvc config?

yls
2016-10-11 11:08
Hello, when i use “stub.GetRow()” to query a row in chaincode, if have not the row, an error will occurr "Error when querying chaincode: Error:Failed to execute transaction or query(Timeout expired while executing transaction)” , and can’t get the return error of “stub.GetRow()”. Why? How can i do?

yls
2016-10-11 11:12
How to ignore this errors or catch the error *in chaincode*?

vigneswaran.r
2016-10-11 11:19
@yls I think, timeout is due to other problems (not due to stub.GetRow(). Could you please check without calling GetRow() inside Query -- instead just return something hardcoded?

yls
2016-10-11 11:22
@vigneswaran.r Thanks. I tried, i found if no row the error occurred; if have the row, it’s ok.

sofusmortensen
2016-10-11 11:23
has joined #general

vigneswaran.r
2016-10-11 11:23
@yls ok

hurui777
2016-10-11 11:25
has joined #general

pal.krogdahl
2016-10-11 11:27
has joined #general

miyamae
2016-10-11 12:50
has joined #general

gatb27
2016-10-11 13:00
Now with a more general question about your ideas :smile: What do you think could be the best use case in which Hyperledger can rapresent the right way to solve certain problems withint the context of the Internet of Things? Currently I'm trying to focus on the idea of traceability, referring to everything that can happen inside an IoT network

sidthekid
2016-10-11 13:29
has joined #general

rachel_leekin
2016-10-11 13:33
has joined #general

yacovm
2016-10-11 14:07
what's up with this discourse thing? can't we stay on slack and somehow periodically export slack messages to an archive? I'm sure the technology exists

johann_jaeger
2016-10-11 14:39
has joined #general

marcobuijs
2016-10-11 15:01
has joined #general

simon_meredith
2016-10-11 15:15
has joined #general

ercw
2016-10-11 16:46
has joined #general

vkoukoutsas
2016-10-11 17:16
has joined #general

peter-b
2016-10-11 18:46
has joined #general

echenrunner
2016-10-11 19:47
I have 4 VP running I bring down one of them. I issue the an invoke and comes back "OK and the query comes back old information. During the invoke, is there a way that the user knows that it did not get updated ?

lhaskins
2016-10-11 19:53
A quick reminder: the ports have changed when moving from fabric v0.5 to v0.6. Be sure to take the correct actions when communicating with your fabric peers.

jef.hoeberichts
2016-10-11 20:17
has joined #general

tuand
2016-10-11 20:35
@lhaskins would you have a list of the port changes ? Also, can you repost in #fabric so we catch the fabric developers who don't monitor general ?

lhaskins
2016-10-11 20:42
sure... the mapping is: ``` v0.5 | v0.6 ------------- 5000 | 7050 30303 | 7051 50051 | 7054 31315 | 7053 ```

pauloakes
2016-10-11 21:57
has joined #general

sergioborger
2016-10-11 22:46
has joined #general

rjoost
2016-10-11 22:47
has joined #general

echenrunner
2016-10-12 00:19
This time I have all my validating and chaincode running on all 4 servers. three of them updated but the fourth did not. query the block on each of the server but the fourth has the old block. how do I get all of them in SYNC?

echenrunner
2016-10-12 00:19
thanks

arvin
2016-10-12 02:07
hi,what's the relationship between blocks and transactions in fabric ? I've see a block storage a transaction,and sometimes storage more than one transaction

arvin
2016-10-12 02:10
where can i get that config ?

gengjh
2016-10-12 02:29
it depends on your consensus related configuration, pls check this in docker-compose-4-consensue-base.yml

gengjh
2016-10-12 02:29
# TODO: This is used for testing as to assure deployment goes through to block - CORE_PBFT_GENERAL_BATCHSIZE=1

arvin
2016-10-12 02:36
1s generate a block ,got it .thanks

tuand
2016-10-12 02:51
@echenrunner not sure what you mean by 'the old block'? Is the chain height less than on the other peers ?

tuand
2016-10-12 02:54
How many invokes were done ? As long as there are transactions coming into the network, the lagging peer will recognize that it is behind and initiate state transfer to catch up.

tuand
2016-10-12 02:56
Also the v0.6 version of hyperledger fabric had a fix for a condition where state transfer was stuck

tuand
2016-10-12 02:57
And we should continue the discussion over on #

yls
2016-10-12 03:39
How to view chaincode logs?

arvin
2016-10-12 03:44
docker logs <chaincode container id>

yls
2016-10-12 03:54
So, thanks

kerstentw
2016-10-12 05:51
Hey possibly a silly question: How does inter-chain validation work? If, for instance, I was an entity A with my own HLF block chain and wanted to handle an asset from entity B who had their own HLF block chain, how would I assemble this transaction and be able to validate it on my own A chain? Maybe is there be a way to delegate peers between chains to ensure that if the other B network goes down I can still check that all the transactions on the other ledger are kosher? In other words how do I link a bunch of sub-chains and ensure any transactions between them are valid?

sirpringles
2016-10-12 05:57
has joined #general

goms143
2016-10-12 06:21
has joined #general

soohwan
2016-10-12 07:29
has joined #general

segora
2016-10-12 07:46
has joined #general

ulli
2016-10-12 08:13
has joined #general

redlineshark
2016-10-12 08:35
has joined #general

echenrunner
2016-10-12 09:24
In one of my test(invoke) I did see catchup on one of them(three already completed). I am boot up the servers later and retry. Thanks

nikolas.kr
2016-10-12 10:11
has joined #general

sumitks
2016-10-12 10:30
Hey I am new on block chain. Can anyone suggest some good sources to learn chain codes?

zemtsov
2016-10-12 10:34

jasondotstar
2016-10-12 10:35
has joined #general

stanislav
2016-10-12 11:05
has joined #general

sumitks
2016-10-12 11:24
thanks @zemtsov for the help

telluur
2016-10-12 11:59
has joined #general

kaavya
2016-10-12 12:11
how to start a non-validating peer?

pauloakes
2016-10-12 12:25
Hi all. I’m new to the project and community. I’ve just got connected with gerrit and Jira. I’m hoping that someone here may help point me in a direction where I may be of some use, please?

sumitks
2016-10-12 13:14
Hi you can start with this link. I think it is pretty good for beginners-https://console.ng.bluemix.net/docs/services/blockchain/index.html?pos=2

prut
2016-10-12 13:22
has joined #general

alberto.dallaporta
2016-10-12 13:41
has joined #general

pauloakes
2016-10-12 13:50
@sumitks thank you very much

crazybit
2016-10-12 14:06
what is the recommended IDE for the fabric? personally, i am using sublime,looks lots of stuff need to setup if i wanna build and run fabric with sublime

yacovm
2016-10-12 14:08
I use intellij

tuand
2016-10-12 14:18
i use atom with the go-plus package ... don't think there's a recommended IDE , pick whatever works for you

aaronwp
2016-10-12 14:45
has joined #general

dexturkhoon
2016-10-12 15:18
has joined #general

jdockter
2016-10-12 16:10
has joined #general

aamine
2016-10-12 16:11
has joined #general

quiz42
2016-10-12 16:14
has joined #general

echenrunner
2016-10-12 16:40
Someone told me that NVP is going away.

echenrunner
2016-10-12 16:41
validator: enabled: false consensus: # Consensus plugin to use. The value is the name of the plugin, e.g. pbft, noops ( this value is case-insensitive) # if the given value is not recognized, we will default to noops plugin: noops # total number of consensus messages which will be buffered per connection before delivery is rejected

tedkuo
2016-10-12 16:49
has joined #general

edward.wang-dlink
2016-10-12 16:53
has joined #general

tmccrimon
2016-10-12 16:56
has joined #general

klorenz
2016-10-12 16:57
has joined #general

jvescio
2016-10-12 17:20
has joined #general

friarknot
2016-10-12 17:45
has joined #general

cbf
2016-10-12 17:50
@echenrunner suggest you bring this to the #fabric channel

cbf
2016-10-12 17:50
yes the NVP is a deprecated concept

harsha544
2016-10-12 18:18
I was having a looking at HFC and came across a Maze in this link http://hyperledger-fabric.readthedocs.io/en/latest/Setup/nodeSDK/node-sdk-self-contained.md

echenrunner
2016-10-12 18:35
14:28:55.133 [peer] handleChat -> ERRO 096 Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created 14:28:55.831 [consensus/pbft] ProcessEvent -> INFO 097 Replica 0 batch timer expired 14:28:55.831 [consensus/pbft] sendBatch -> INFO 098 Creating batch with 1 requests 14:28:55.843 [consensus/pbft] executeOne -> INFO 099 Replica 0 executing/committing request batch for view=8/seqNo=20 and digest 47Wf8rc8bOQm8zSlxwRxNk7vyVT6GvXLsEhe+37/OLfe1KeHw1JAY3tFz91RCzZbXSCZ/3f7U/W14twflt6OZA== 14:28:55.849 [chaincode] Launch -> ERRO 09a You are attempting to perform an action other than Deploy on Chaincode that is not ready and you are in developer mode. Did you forget to Deploy your chaincode? 14:28:56.003 [consensus/pbft] execDoneSync -> INFO 09b Replica 0 finished execution 20, trying next

echenrunner
2016-10-12 18:37
on vp0 , I am getting Replica 0 batch timer expired. can that cause of the vp4 not getting the update?

asti
2016-10-12 19:17
has joined #general

peterme
2016-10-12 19:18
has joined #general

echenrunner
2016-10-12 20:53
found what the solution is in the general.timeout.batch from 1 second to 10 --- this is testing

puja.bakshi
2016-10-12 21:55
has joined #general

egan
2016-10-12 23:07
has joined #general

umit
2016-10-13 00:01
has joined #general

pospi
2016-10-13 01:48
has joined #general

sirpringles
2016-10-13 02:28
Hey everyone. I just started experimenting with hyperledger. I am trying to install the CLI and am having trouble when using the `make peer` command. Here is the log I get from the command line : `'Building build/image/ccenv/bin/protoc-gen-go Installing chaintool curl -L https://github.com/hyperledger/fabric-chaintool/releases/download/v0.9.1/chaintool > build/bin/chaintool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 582 0 582 0 0 483 0 --:--:-- 0:00:01 --:--:-- 484 100 14.4M 100 14.4M 0 0 468k 0 0:00:31 0:00:31 --:--:-- 404k chmod +x build/bin/chaintool Creating build/image/ccenv/goshim.tar.bz2 Building docker ccenv-image docker build -t hyperledger/fabric-ccenv build/image/ccenv Sending build context to Docker daemon 21.55 MB Step 1 : FROM hyperledger/fabric-baseimage:x86_64-0.1.0 ---> db53d04b117c Step 2 : COPY bin/* /usr/local/bin/ ---> Using cache ---> 2217ea57770f Step 3 : ADD goshim.tar.bz2 $GOPATH/src/ Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/ccenv/.dummy] Error 1` ` Did anyone get a similar error or can think of a way to go around ? I'm stuck on this for a day now. Thanks in advance for any help !

conghonglei
2016-10-13 02:38
has joined #general

duangrudee.pramualwut
2016-10-13 03:23
has joined #general

yufanghua
2016-10-13 04:50
Hi all! I just joined HyperLedger for a few weeks. I want to ask whether fabric could run on AWS EC2 instance?

yufanghua
2016-10-13 04:51
I followed the starter manual but had some error. So was the IBM boilerplate project which I suspect to be related with the way I deployed them in AWS

goms143
2016-10-13 06:12
hello ! im trying to enroll anew user in hyperledger chaincode using rpc is there any pre defined methods availble else can you point me in the right direction i went through https://github.com/IBM-Blockchain/cp-web code but i couldnt usnderstand much

sarves
2016-10-13 06:29
has joined #general

aniket007
2016-10-13 06:38
has joined #general

monirzamanmon
2016-10-13 06:38
has joined #general

sarves
2016-10-13 06:39
Hello everyone, good to be part of hyperledger slacks

monirzamanmon
2016-10-13 06:40
Hi Everyone, happy to be participating in Hyperledger Slack.

sarves
2016-10-13 06:40
Am not sure which are the proposals that are approved by TSC and entered incubation

monirzamanmon
2016-10-13 06:40
I had a small question, is there any prerequisites for setting up PBFT mode?

sarves
2016-10-13 06:40

sarves
2016-10-13 06:42
of these, which are the proposals that have been approved by TSC and entered incubation?

sarves
2016-10-13 06:44
I posted a question at the general discussion forum


sarves
2016-10-13 06:44
no reply yet

qq
2016-10-13 07:27
has joined #general

fusuipu
2016-10-13 07:29
has joined #general

sample
2016-10-13 07:34
has joined #general

padmaja
2016-10-13 07:55
has joined #general

albert_romkes
2016-10-13 07:57
has joined #general

calvin.heo
2016-10-13 09:06
has joined #general

echenrunner
2016-10-13 09:12
Sirpringle, are installing using Vagrant from a WINDO server? "git config --get core.autocrlf" then "git config --global core.autocrlf false"

hitsuji
2016-10-13 09:14
has joined #general

pushpalatha
2016-10-13 10:41
Hi All, Outside vagrant when we want to deploy and invoke chain code using web-app for nodesDK, what should be the set up? Where do we need to put the chain code? I am getting following error: vp0_1 | src/build-chaincode/service-test.go:12:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: vp0_1 | /opt/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) vp0_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH) vp0_1 | src/build-chaincode/service-test.go:14:2: cannot find package "http://github.com/op/go-logging" in any of: vp0_1 | /opt/go/src/github.com/op/go-logging (from $GOROOT) vp0_1 | /opt/gopath/src/github.com/op/go-logging (from $GOPATH) vp0_1 | Even though the path : /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim exists. Any idea?

garisingh
2016-10-13 10:52
@pushpalatha - unfortunately, you actually need to "vendor" your external dependencies including the fabric. In the root of your chaincode source folder, create a folder name `vendor`. You can then either use a tool like `govendor` to install the dependencies in the `vendor` folder or simply copy/clone the packages into `vendor`. The structure needs to match what would be under `$GOPATH/src` - e.g. `vendor/github.com/hyperledger/fabric` `vendor/github.com/op/go-logging` (although this is actually vendored in the fabric so might not need this)

yufanghua
2016-10-13 10:57
FAQ?


milena.caires
2016-10-13 12:12
has joined #general

mattgee
2016-10-13 12:29
has joined #general

iemura
2016-10-13 12:35
has joined #general

tuand
2016-10-13 12:58
@monirzamanmon , use as templates some of the docker compose yaml files in hyperledger/fabric/bddtests, for example `docker-compose-4-consensus-batch.yml` , and those of us working on consensus use #fabric-consensus-dev https://hyperledgerproject.slack.com/archives/general/p1476340852002685

chaitanya
2016-10-13 13:10
Hey everyone, I'm facing some issues with my hyperledger setup. When I try to deploy my chaincodes I repeatedly get the following error: `13:06:09.603 [peer] handleChat -> ERRO 280b1 Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created 13:06:10.321 [consensus/util/events] loop -> DEBU 280b2 Event timer fired 13:06:10.321 [consensus/util/events] loop -> DEBU 280b3 Timer event delivered 13:06:10.321 [consensus/pbft] ProcessEvent -> DEBU 280b4 Replica 0 batch main thread looping 13:06:10.321 [consensus/pbft] ProcessEvent -> DEBU 280b5 Replica 0 processing event 13:06:10.321 [consensus/pbft] ProcessEvent -> DEBU 280b6 Replica 0 view change resend timer expired before view change quorum was reached, resending 13:06:10.321 [consensus/pbft] stopTimer -> DEBU 280b7 Replica 0 stopping a running new view timer 13:06:10.321 [consensus/handler] Sign -> DEBU 280b8 Security is disabled 13:06:10.321 [consensus/pbft] sendViewChange -> INFO 280b9 Replica 0 sending view-change, v:3, h:162, |C|:0, |P|:0, |Q|:0 13:06:10.322 [peer] SendMessage -> DEBU 280ba Sending message to stream of type: CONSENSUS 13:06:10.322 [peer] SendMessage -> DEBU 280bb Sending message to stream of type: CONSENSUS`

chaitanya
2016-10-13 13:11
The chaincodes call each other, and I've ensured an ordering during deployment too. Any pointers as to what could be going on here?

ppgmpp
2016-10-13 13:32
has joined #general

madsjorgensen
2016-10-13 13:39
has joined #general

mlishok
2016-10-13 14:10
@chaitanya do your chaincodes call each other on deploy? You said there was an ordering for deployment but it looks like one of the chaincodes is being called before deployment is finished on that peer, just from the messages you have posted. If there is an order for deployment where all of them deployed in order? at what point are you failing?

echenrunner
2016-10-13 14:32
Chaitanya, try increases value of timeout in the in the "consensus/pbft/config.yaml" I used to get that message now is gone. P.S I have no ideal what I did. :slightly_smiling_face:

anzarko
2016-10-13 14:53
has joined #general

mcoblenz
2016-10-13 15:42
has joined #general

sergefdrv
2016-10-13 15:49
has joined #general

joe
2016-10-13 16:24
has joined #general

aharbis
2016-10-13 16:41
has joined #general

eddie.allen
2016-10-13 16:45
has joined #general

zakhar.sukhanov
2016-10-13 17:24
has joined #general

xianjun
2016-10-13 17:32
has joined #general

apereira
2016-10-13 18:49
has joined #general

abhijmk
2016-10-13 20:04
has joined #general

jonny
2016-10-13 20:40
has joined #general

patrick
2016-10-13 20:44
has joined #general

angelhb
2016-10-13 21:34
has joined #general

samrad
2016-10-13 22:49
has joined #general

arvin
2016-10-14 02:45
in my case , rootnode need connet other three.like this in one vp config CORE_PEER_DISCOVERY_ROOTNODE=10.10.33.85:7051,10.10.33.86:7051,10.10.33.87:7051. # Peer discovery settings. Controls how this peer discovers other peers discovery: # The root nodes are used for bootstrapping purposes, and generally # supplied through ENV variables # It can be either a single host or a comma separated list of hosts. rootnode: "It can be either a single host " just config one rootnode,i can't understand ,who knows about that case?

leemy
2016-10-14 03:34
has joined #general

qiang
2016-10-14 03:53
has joined #general

liaoqc
2016-10-14 04:51
has joined #general

sumitks
2016-10-14 06:17
hey can anyone guide me to set up native environment for hyperledger fabric in windows?

rishavkmr09
2016-10-14 06:27
has joined #general

pratibhacs
2016-10-14 06:28
has joined #general

garisingh
2016-10-14 06:54
@sumitks - are you just trying to build and deploy chaincode and apps with hyperledger fabric?

garisingh
2016-10-14 06:55
if so, easiest thing is to simply use the Docker images with Docker Toolbox or Docker for Windows (if using Windows 10)

jov
2016-10-14 07:14
has joined #general

sumitks
2016-10-14 07:27
@garisingh thanks for the suggestion.

matanyahu
2016-10-14 07:30
Does anyone know how to reset a password on Fabric gerrit review page?

benjamin
2016-10-14 07:50
has joined #general

tom.appleyard
2016-10-14 08:19
``` vp0_1 | 14:50:51.301 [dockercontroller] Start -> ERRO 0aa start-could not start container API error (500): {"message":"oci runtime error: process_linux.go:245: running exec setns process for init caused \"exit status 1\""} vp0_1 | 14:50:51.301 [container] unlockContainer -> DEBU 0ab container lock deleted(dev-vp0-7010f6f44f0a13eeba084833bdff0be765a54a095e9b0ff8a243df4878c2f54d) vp0_1 | 14:50:51.301 [chaincode] Launch -> ERRO 0ac launchAndWaitForRegister failed Error starting container: API error (500): {"message":"oci runtime error: process_linux.go:245: running exec setns process for init caused \"exit status 1\""} ``` I'm getting this error when I try to use hfc to deploy and run chaincode on docker - does anone have idea idea how to fix it?

tkato
2016-10-14 08:39
has joined #general

zhangyang
2016-10-14 09:03
has joined #general

drasko
2016-10-14 09:08
has joined #general

vinoth.balu
2016-10-14 09:38
has joined #general

chaitanya
2016-10-14 09:41
Thanks, @echenrunner and @mlishok Increasing the timeout values in the `consensus/pbft/config.yaml` fixed it for me too.

chaitanya
2016-10-14 09:41
:slightly_smiling_face:

echenrunner
2016-10-14 09:53
that fixes will not fix the real issue. When I was on the train last night on the train I'm able recreated the problem. It seems when one peer(s) is

echenrunner
2016-10-14 09:53
down the other are not able to connect or recover from it.

echenrunner
2016-10-14 09:54
I think it's recovey issue

echenrunner
2016-10-14 10:42
Tom, Can you tell us what you trying to do. It seems like you are running a ChainCode in docker. It's always good that logs are provided that goes back to 1 or 2 minutes before the error occurs.

tom.appleyard
2016-10-14 13:18
@echenrunner So I've downloaded the docker containers based on the instructions on the readthedocs site. I have an hfc app that I have used to deploy chaincode onto peers when they run natively and I'm trying to get the two to speak and to get some chaincode deployed and then a query invoked

n.ohagan
2016-10-14 13:45
has joined #general

paul_peters
2016-10-14 14:08
has joined #general

paul_peters
2016-10-14 14:15
Thanks for the add. Will go in lurking mode until something useful to share.

shellzcrypt
2016-10-14 16:00
has joined #general

g.sarajlic
2016-10-14 16:16
has joined #general

makamat
2016-10-14 17:53
has joined #general

jason
2016-10-14 17:54
has joined #general

sathish
2016-10-14 18:23
has joined #general

albert
2016-10-14 20:54
has joined #general

paulmarty
2016-10-14 22:09
has joined #general

ke
2016-10-14 22:23
has joined #general

juliangordon
2016-10-15 01:18
has joined #general

udon
2016-10-15 06:22
has joined #general

manok
2016-10-15 06:29
has joined #general

sukhoi
2016-10-15 06:37
Hello everyone

garisingh
2016-10-15 11:37
hello

kent_landholm
2016-10-15 12:49
@sumitks: I used the docker images no problem on a mac. On windows 7 I had a problem. I will post the error.

erictsui
2016-10-15 12:56
has joined #general

garisingh
2016-10-15 13:12
@kent_landholm - please do post any errors you had on Windows 7

echenrunner
2016-10-15 14:01
Chaitanya, If this condition does occurs, you need to issue "peer node stop" on the offender VP that want down without being "Deregistered" to the other peer(s). The "stop" will tells the other peers is being "Deregistered" - transport is closing from the handleChat . Then bring it back up, the message should be gone.

kent_landholm
2016-10-15 15:20
Starting "default"... (default) Check network to re-create if needed... (default) Waiting for an IP... Machine "default" was started. Waiting for SSH to be available... Detecting the provisioner... Started machines may have new IP addresses. You may need to re-run the `docker-m achine env` command. Regenerate TLS machine certs? Warning: this is irreversible. (y/n): Regeneratin g TLS certificates Waiting for SSH to be available... Detecting the provisioner... Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... ## . ## ## ## == ## ## ## ## ## === /"""""""""""""""""\___/ === ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~ \______ o __/ \ \ __/ \____\_______/ docker is configured to use the default machine with IP 192.168.99.100 For help getting started, check out the docs at https://docs.docker.com Start interactive shell Kent@Sue-PC MINGW64 ~ $ curl -o docker-compose.yml https://raw.githubusercontent.com/hyperledger/fabr ic/master/examples/sdk/node/docker-compose.yml % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1858 100 1858 0 0 2646 0 --:--:-- --:--:-- --:--:-- 2769 Kent@Sue-PC MINGW64 ~ $ curl -o Dockerfile https://raw.githubusercontent.com/hyperledger/fabric/maste r/examples/sdk/node/Dockerfile % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 311 100 311 0 0 538 0 --:--:-- --:--:-- --:--:-- 569 Kent@Sue-PC MINGW64 ~ $ docker build -t hyperledger/fabric-starter-kit:latest . Error checking context: 'can't stat '\\?\C:\Users\Kent\AppData\Local\Application Data''. Kent@Sue-PC MINGW64 ~ $

kent_landholm
2016-10-15 15:23
@garisingh I posted the entire dialog from my Windows 7 install. I don't have the referenced "AppData" folder on my Windows7 machine. Not sure where that folder is supposed to come from?

vrgl
2016-10-15 17:35
has joined #general

vrgl
2016-10-15 17:39
Hi, I have an issue compiling on macOS Sierra. This is the error message: Step 2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/src/.dummy] Error 1

yacovm
2016-10-15 17:45
you should ask in #fabric-dev-env

vrgl
2016-10-15 17:45
thanks

cbf
2016-10-15 21:52
@vrgl it means you built the binary on a different OS - possibly you are not in vagrant?

udeshmukh
2016-10-16 01:46
has joined #general

xiaomaolv
2016-10-16 03:55
has joined #general

arturo_dr
2016-10-16 08:25
has joined #general

arsalan
2016-10-16 09:47
has joined #general

jared
2016-10-16 14:18
has joined #general

reachk.raj
2016-10-16 15:23
has joined #general

arvin
2016-10-16 15:49
is there any way i can transactions between different chaincode ?

muralisr
2016-10-16 15:50
@arvin pasted the above on the `chaincode` slack

vijay
2016-10-16 16:24
has joined #general

rickr
2016-10-16 17:48
has joined #general

riadham001
2016-10-16 18:19
has joined #general

jguguy
2016-10-16 18:50
has joined #general


matanyahu
2016-10-16 20:12
hovewer, in the very end of the process I am receiving this error


matanyahu
2016-10-16 20:13
any ideas are welcome

kite
2016-10-17 05:30
has joined #general

juhahulkkonen
2016-10-17 06:57
has joined #general

matanyahu
2016-10-17 06:57
I am currently trying to document crypto mechanisms involved in Fabric in different areas and processes of the ledger activity. I was sweeping through the source code in /master/core/crypto and I found references to : (1) client_confidentiality.go (2) node_tca.go (3) hash.go (4) ecdsa.go (5) x509.go. There's more references to cryptographic mechanisms in /fabric/core/crypto. Unfortunately, none of these pieces of code are documented or commented and therefore, I do not know what they serve for and in what order should I analyze them. Can anyone help me understanding what is used and when?

yohei
2016-10-17 07:50
has joined #general

libe
2016-10-17 08:24
has joined #general

adeelqureshi
2016-10-17 09:25
Hi fellows , can you suggest reading material / collateral that I can use to find out more about HyperLedger Events that can be used to interact with external systems and its protocals ( REST , SOAP , Adapters ?? )

adeelqureshi
2016-10-17 09:26
Need to discuss with a client how does a Hyper-ledger block chain solution typically interacts with the other systems and what is its events model ?


adeelqureshi
2016-10-17 09:57
thanks

jnh
2016-10-17 10:03
has joined #general

jackbush
2016-10-17 11:06
has joined #general

taolicheng
2016-10-17 12:59
has joined #general

wulliel
2016-10-17 13:05
has joined #general

tom.appleyard
2016-10-17 14:16
Hey All, I've downloaded this hyperledger boilerplate: https://github.com/IBM-Blockchain/fabric-boilerplate However when I try to run it I'm getting the following error: ```error: [SDK] Failed to register WebAppAdmin, Error at /home/tom/go-workspace/fabric-boilerplate/node_modules/hfc/node_modules/grpc/src/node/src/client.js:411:17 { Error at /home/tom/go-workspace/fabric-boilerplate/node_modules/hfc/node_modules/grpc/src/node/src/client.js:411:17 code: 14, metadata: Metadata { _internal_repr: {} } } undefined ``` Does anyone have any idea what is causing this? (I'm on Ubuntu 14.04, node is 6.8, npm is 3.10.8, docker is 1.12.1, build 23cf638)

garisingh
2016-10-17 14:17
@tom.appleyard - which fabric are you pointing at?

garisingh
2016-10-17 14:17
might be an hfc mismatch?

tom.appleyard
2016-10-17 14:17
the fabric for hte boilerplate is 0.5

tom.appleyard
2016-10-17 14:18
let me check the package.js for hte hfc version

garisingh
2016-10-17 14:18
ok - so you are using the compose that comes with it

tom.appleyard
2016-10-17 14:18
indeede

tom.appleyard
2016-10-17 14:18
"hfc": "0.5.3",

garisingh
2016-10-17 14:18
okay - scratch the above :wink:

tom.appleyard
2016-10-17 14:18
:stuck_out_tongue:

tom.appleyard
2016-10-17 14:19
I don't suppose you have any other ideas as to the cause? - I've been told the issue might be down to ubuntu specific issues with grpc

zemtsov
2016-10-17 15:26
Hello. I started two peers with the same network id. But when I'm requesting network info via REST API (<peer address>:7050/network/peers) each peer returns only info about itself. What should I do to make then see each other?

mdelmott
2016-10-17 15:37
has joined #general

willie.t
2016-10-17 15:42
has joined #general

echenrunner
2016-10-17 16:20
Aemtsv, in the core.yaml" under discover - rootnode have one of the ip address define. example, I have all three of my VP1-3 pointing to VP0's ipaddress and port is IPAddress:7051

zemtsov
2016-10-17 17:43
@echenrunner thank you! I’ll try

chrissparshott
2016-10-17 20:52
has joined #general

rtalmeida
2016-10-17 23:09
has joined #general

rachit
2016-10-18 02:28
has joined #general

zqkou
2016-10-18 02:46
has joined #general

jassengu
2016-10-18 02:59
everbody,what is systemchaincode ? how to use?

yls
2016-10-18 03:07
Hi, link “https://github.com/hyperledger/fabric/blob/master/consensus/docker-compose-files/compose-consensus-4.md” in fabric/examples/chaincode/go/asset_management/app/READ.md is error. How can i find compose-consensus-4.md?

yls
2016-10-18 03:08
sorry , it’s fabric/examples/chaincode/go/asset_management/app/README.md

phildf
2016-10-18 07:53
has joined #general

sstone1
2016-10-18 08:11
Anybody know why the `latest` tags have disappeared from Docker Hub for the peer and membersrvc images? For example: https://hub.docker.com/r/hyperledger/fabric-peer/tags/

chretzer
2016-10-18 08:15
has joined #general

astyanax_norbloc
2016-10-18 08:40
has joined #general

mint
2016-10-18 09:13
@cbf I noticed that you committed the sbft implement, but there is no docs to understand it, google also nothing. So can you commit some docs? Thanks, and I know you are in beijing now, looking forward to your share tomorrow.

mikias
2016-10-18 09:28
has joined #general

msoumeit
2016-10-18 09:33
has joined #general

cimadai
2016-10-18 09:54
has joined #general

dvitas
2016-10-18 11:07
has joined #general

dvitas
2016-10-18 11:11
Hi everybody! Can anyone please point me to the discussion on the halting problem in the chaincode? How is fabric going to deal with infinite loops, including recursive loops? Was this problem discussed somewhere?

henriquecd
2016-10-18 11:36
has joined #general

jkobielus
2016-10-18 12:39
has joined #general

julien.nicolai
2016-10-18 13:37
has joined #general

echenrunner
2016-10-18 13:52
Hi folks, this Thursday there is a presentation on HyperLedger on IBM mainframes z/VM platform. The presentation is 12PM -1pm EST.

echenrunner
2016-10-18 13:52
Title: Overview of Blockchain Concepts, Use Cases, and z Systems Exploitation Abstract This presentation gives an overview of the Blockchain concepts. It describes the Hyperledger blockchain project and how it is different from bitcoin. Industry use cases will be shown. It also highlights the capabilities integrated into IBM z Systems that enable stronger security and higher performance. Speaker Bio: Nin Lei is an IBM Distinguished Engineer and Chief Technology Officer for Business Analytics in IBM Systems. He is responsible for driving systems growth into the business analytics segment by advancing assets into business solutions that meet worldwide customer needs. He delivers valuable technical counsel to key business analytics leaders and executives on technical strategy, direction and projects, and provides leadership across the breadth of our development community on business analytics value propositions that improve our technical content in solutions, and assists in platform positioning for specific customer workloads.

echenrunner
2016-10-18 13:53
When Thu Oct 20, 2016 4pm – 5pm (UTC) Where ,,,206580

devdetonator
2016-10-18 14:17
has joined #general

pradeep
2016-10-18 14:31
has joined #general

jappwilson
2016-10-18 14:43
has joined #general

mart0nix
2016-10-18 15:52
@echenrunner would video livestreaming be available ?

chadgates
2016-10-18 16:08
has joined #general

kent_landholm
2016-10-18 16:17
where can I find out more about the licensing model for the hyperledger projects?

echenrunner
2016-10-18 17:14
Hi Mart0nix, No livestreaming. However I just spoke to the sponsor, we are thinking of having a workshop at OSU around June of 2017. Please joint the call , so I can push the ideal to IBM. P.S. the cost of the workshop is about $100.00

mart0nix
2016-10-18 17:15
@echenrunner sure

mart0nix
2016-10-18 17:16
what’s OSU btw ?

echenrunner
2016-10-18 17:48
Sorry, Ohio State University. U.S.A - it going to be in June and it's 2.5 days. I'm thinking of providing half days sessions on each topic/subject. 1.5 days on hyperLedger topics.

mart0nix
2016-10-18 17:49
great. I’m looking forward

chatsap
2016-10-18 18:21
has joined #general

sskrame16
2016-10-18 23:51
has joined #general

brunops
2016-10-19 02:21
has joined #general

christophera
2016-10-19 05:29
No Hyperledger Identity WG meeting tomorrow (Wednesday October 18th) due to people being at #RebootingWebOfTrust this week and #IIW next week.

dmitry
2016-10-19 06:12
has joined #general

adeelqureshi
2016-10-19 06:38
Hi folks, is any one aware of any initiatives that are being taken to use HyperLedger to replace eStampings / Notorization ... I need some material to help brainstorm some ideas with a government Client on this

lohith.ramachandra
2016-10-19 06:38
has joined #general

endoatsu
2016-10-19 07:50
has joined #general

dgurin
2016-10-19 07:57
has joined #general

attiecyril
2016-10-19 08:05
has joined #general

lucascorbeaux
2016-10-19 08:50
has joined #general

shameek
2016-10-19 09:00
has joined #general

7sigma
2016-10-19 09:35
has joined #general

7sigma
2016-10-19 09:37
Hi Everyone. Is there a road map for Java code support updates. Its quite long since updates happened on the Java Shim Packages

7sigma
2016-10-19 09:38
Though many features are there, there is lack of certificate validation logic and examples which is present in GO

joker
2016-10-19 10:54
has joined #general

trial2try
2016-10-19 11:41
has joined #general

trial2try
2016-10-19 11:45
Hi guys just a small query. Is it possible to query based on timestamp or block number and retrieve the old block key value? I had read in a documentation that it is a work in progress.

larsz
2016-10-19 11:47
has joined #general

echenrunner
2016-10-19 14:18
dvitas, as a suggestion, try to attend tomorrow IBM z SYSTEM presentation.

christopher.white
2016-10-19 14:38
has joined #general

albee.jhoney
2016-10-19 14:40
has joined #general

lanzen
2016-10-19 14:43
has joined #general

hancockp
2016-10-19 14:44
has joined #general

bbbuffaloe
2016-10-19 14:46
has joined #general

arturokantox
2016-10-19 15:01
has joined #general

ohtanim
2016-10-19 15:31
has joined #general

ross.cloudsoft
2016-10-19 16:19
has joined #general

jwalters
2016-10-19 17:20
has joined #general

eniojo
2016-10-19 18:14
has joined #general

michael.szlapa
2016-10-19 19:34
has joined #general

martingimnich
2016-10-19 19:48
has joined #general

yoda
2016-10-19 20:05
has joined #general

albertotcj
2016-10-19 22:17
has joined #general

don
2016-10-19 22:26
has joined #general

qshen1
2016-10-19 22:35
has joined #general

hiepnm
2016-10-20 01:16
has joined #general

hiepnm
2016-10-20 01:26
Hello everyone, I'm newcomer on Hyperledger subject.

hiepnm
2016-10-20 01:26
Nice to meet you!

sukhoi
2016-10-20 02:52
ah

jonathanlevi
2016-10-20 02:56
Hello and welcome @hiepnm !

hellospencer
2016-10-20 02:59
@echenrunner I would be interested in this presentation. Is this open and could you please send me a link? Thanks!

hellospencer
2016-10-20 03:14
no worries just found the info by scrolling up :wink:

koyamada
2016-10-20 04:41
has joined #general

haoxiang
2016-10-20 07:20
has joined #general

larryliu
2016-10-20 08:18
has joined #general

tom.appleyard
2016-10-20 09:26
Hey All, would someone be able to explain using tables to me? Specifically - when you make a table I get the idea that you specify the columns and what each column is called and contains but what does the 'key' field mean? Likewise, when you do a search for a row in a table you do so by something like this: ```var columns []shim.Column col1 := shim.Column{Value: &shim.Column_String_{String_: args[0]}} columns = append(columns, col1) col2 := shim.Column{Value: &shim.Column_String_{String_: args[1]}} columns = append(columns, col2) col3 := shim.Column{Value: &shim.Column_String_{String_: args[2]}} columns = append(columns, col3) row, err := stub.GetRow("RequestTable", columns) ``` The table the above searches contains 7 columns yet in this only 3 are specified - what is happening here? - So far as I can see what is happening is that 3 column objects are being made containing the arguments put in (I assume these arguments are values to be searched for?). However the column objects in the array don't seem to be given any kind of identifier that might link them to the columns in the table (apart from the type) as such how does the table know which column in the table to compare them to?

dvitas
2016-10-20 09:33
Thanks! Will join it. I hope there will be a time for Q&A?

kyrieleison
2016-10-20 09:41
has joined #general

dvitas
2016-10-20 09:45
BTW, do you know if there is a Swedish number I can call to join the meeting? Is it GoToMeeting? Is there any way to join it online or in an app?

mint
2016-10-20 09:47
@tom.appleyard I think that table isn’t good enough to use, very complexly. It’s better to use state directly.

echenrunner
2016-10-20 09:52
good morning, I don't think so. If there is a lot of international folks. I will ask the sponsor if he can do it again. also I will try to get and post anything available.

dvitas
2016-10-20 09:56
Great, thank you!

tom.appleyard
2016-10-20 09:59
@mint I'll bear that in mind

tom.appleyard
2016-10-20 09:59
incidentally I've had the question answered on another channel so I'm clued up now :slightly_smiling_face:

lipets
2016-10-20 11:26
has joined #general

stefancolins
2016-10-20 11:28
has joined #general

lipets
2016-10-20 11:31
Hello. I'm trying to run Node.js sample. However, it fails to be compiled. I'm applying "make all" command in /opt/gopath/src/github.com/hyperledger/fabric/sdk/node folder. Instructions are taken from here: https://github.com/hyperledger/fabric/blob/master/docs/nodeSDK/app-developer-env-setup.md. I will be very grateful for any help. Thank you

astepanov
2016-10-20 11:42
@tom.appleyard could you please share the answer? I'm also trying to work with tables

yacovm
2016-10-20 11:43
@lipets , ask in #fabric-sdk-node

tom.appleyard
2016-10-20 11:44
@astepanov >when you do a GetRows/GetRow you can supply values of 0 or more key columns. you cannot specify the values of non-key columns. you have to specify the values of the key columns in the order that they are defined in the table, so if you have a table with key1, key2, key3 you cannot do a query of key3, key1, key2 - it has to be key1, key2, key3 > >if you have multiple key columns then you have to supply all the keys that come before it in the query. for example, if you have a table with key1, key2, key3 you cannot do a query with just key3 or key2. you have to do a query with key1, key2, key3 or key1, key2 or key1. > >this is because the rows in the table are mapped into key/value pairs and the key is basically tableName+(concatenated values of key columns)

walkeralencar
2016-10-20 12:49
has joined #general

jonas
2016-10-20 14:58
has joined #general

jake
2016-10-20 15:42
has joined #general

nick_zhang
2016-10-20 15:46
has joined #general

tbrooke
2016-10-20 16:06
@echenrunner I am listening to Blockchain conference - where are the slides?

hellospencer
2016-10-20 16:09
hi what is the room number?

hellospencer
2016-10-20 16:10
I can’t join

hellospencer
2016-10-20 16:10
thx

jdockter
2016-10-20 16:12
also looking for slides

hellospencer
2016-10-20 16:16
Could you please post the dial-in number and conference room you've used to enter the telecon?

jdockter
2016-10-20 16:18
,,,206580

dmitry.moskalets
2016-10-20 16:21
has joined #general

hellospencer
2016-10-20 16:28
Thanks,

smothiki
2016-10-20 17:50
Hi folks I have recently started looking into hyperledger project . I need help could some one advice me where to start with to understand the technologies involved.

larsac
2016-10-20 18:28
has joined #general

tkuhrt
2016-10-20 19:13
@smothiki : not an official answer, but I do most of my reading here: https://github.com/hyperledger/fabric/blob/master/docs/index.md

smothiki
2016-10-20 19:18
@tkuhrt thanks for the link. Also Let me if there are any papers or projects or blogs that I can read to understand underlying technologies like bitcoin and blockchain. I have tried google and confused about where to start

tkuhrt
2016-10-20 19:25
These are some of my favorite Bitcoin intros: • The Essence of How Bitcoin Works (Non-Technical): https://www.youtube.com/watch?v=t5JGQXCTe3c&list=LLT2x3WqX5bFnt7XrMUKxJNw&index=2 • How Bitcoin Works in 5 Minutes (Technical): https://www.youtube.com/watch?v=l9jOJk30eQs&list=LLT2x3WqX5bFnt7XrMUKxJNw&index=3 • How Bitcoin Works Under the Hood: https://www.youtube.com/watch?v=Lx9zgZCMqXE&list=LLT2x3WqX5bFnt7XrMUKxJNw&index=1

smothiki
2016-10-20 19:35
@tkuhrt thanks a lot Now I know how my weekend is going to be.

zemtsov
2016-10-20 19:36
:slightly_smiling_face:

echenrunner
2016-10-20 19:44
did anyone out there started testing where validating peer get out of sync with the rest of the network. According to the DOCS when that occurs, It should get “state may be inconsistent, cannot query”. However, in order to get that the "engine.helper.valid" must be false.

markus
2016-10-20 20:28
has joined #general

jim
2016-10-20 20:34
has joined #general

domingohui
2016-10-20 21:00
has joined #general

ry
2016-10-20 21:05
I’ve created #iroha for discussions on Iroha

blockzombie
2016-10-20 22:24
has joined #general

seego
2016-10-21 00:28
has joined #general

dontpanicburns
2016-10-21 01:09
has joined #general

kksw88
2016-10-21 01:32
has joined #general

weeds
2016-10-21 01:40
@echenrunner yes, we did test when peers get out of synch. Have you moved up to the latest Hyperledger-fabric version? There were a lot of fixes in this space that were done. You could go to the latest 0.6 docker images.

yvemuru
2016-10-21 04:17
has joined #general

kobaken
2016-10-21 05:56
has joined #general

n.someya
2016-10-21 06:53
has joined #general

mloepfe
2016-10-21 08:44
has joined #general

nagu
2016-10-21 09:10
has joined #general

echenrunner
2016-10-21 09:25
I am not running of from docker

zws
2016-10-21 09:58
has joined #general

zemtsov
2016-10-21 11:19
Hello. I’m starting 4 peers and a membersrvc with `docker-compose up` command. Then I register the user `user1` and enroll it with the provided password from JS via HFC API. After it I try to check the result via REST API using the endpoint `http://localhost:7050/registrar/user1`. The response is ```{ "Error": "User user1 must log in.” }``` I try to send enrollId and enrollSecret to `http://localhost:7050/registrar` and get this response: ```{ "Error": "rpc error: code = 2 desc = Identity or token does not match." }``` What is wrong in my scenario?

garisingh
2016-10-21 11:21
likely you have some leftover credentials from a prior use of the SDK? Try deleting `/tmp/keyValueStore` and running again

mike_wall
2016-10-21 11:21
has joined #general

zemtsov
2016-10-21 11:22
@garisingh I delete it on my host machine (where I run my script).

zemtsov
2016-10-21 11:22
should it be enough?

garisingh
2016-10-21 11:22
generally yes

garisingh
2016-10-21 11:23
OH

garisingh
2016-10-21 11:23
sorry

garisingh
2016-10-21 11:23
let me get this straight

zemtsov
2016-10-21 11:23
when I use REST API I don’t use it , I believe

garisingh
2016-10-21 11:23
1) are you enrolling via hfc?

zemtsov
2016-10-21 11:23
1) yes

garisingh
2016-10-21 11:25
ok - so let me try to explain (and apologize if you know all of this)

zemtsov
2016-10-21 11:26
(I’m sure I don’t understand how exactly it works)

garisingh
2016-10-21 11:29
- You can enroll a user once as the enrollSecret is a one time password. - The Node SDK (hfc) and the REST API actually take different paths in how they work - The NodeSDK will enroll you and download the credentials locally (default is `/tmp/keyValueStore`). At this point, you are enrolled (so you can't enroll again) but your credentials are local to the SDK and now you can only use the SDK to invoke/query as the enrollID you used to enroll - The REST API works differently. We you call the `/registrar` endpoint via REST, what happens is the the peer actually acts as a "wallet" and enrolls you behind the scenes. So in this case, the credentials end up being stored on the peer itself (by default in the `/var/hyperledge/production/client` directory and in your case this would be inside the Docker container)

garisingh
2016-10-21 11:30
so the bottom line is that if you enroll via HFC you can't use the ID via the REST API and vice versa - if you enroll via the REST API you can't use that ID via HFC

garisingh
2016-10-21 11:30
hopefully this (somewhat) makes sense

zemtsov
2016-10-21 11:31
So, before I work with the system I should choose the way I’ll do it: HFC or REST?

garisingh
2016-10-21 11:32
you got it - you need to choose REST of HFC for any given enrollID

zemtsov
2016-10-21 11:32
Thank you! That was very helpful

zemtsov
2016-10-21 11:35
And if I enroll a user on my host machine, its credentials are saved locally. Can they be used only from my host machine? Can they be used by a script running from another machine in the network?

garisingh
2016-10-21 11:36
well the credentials will physically be on your host machine by default when using the SDK, but it is possible to store the credentials in a database (you'd need write a plugin) which could be access from multiple machines.

zemtsov
2016-10-21 11:39
What about user’s certificates?

zemtsov
2016-10-21 11:40
is there any difference how certificates are used via HFC and REST?

garisingh
2016-10-21 12:03
interesting question - the answer is yes and no. With HFC, the certificates are directly used within the hfc code - meaning you'll actually be submitting signed transactions via GRPC to a fabric peer (and technically you could control usages of trasnacaction certificates, etc). When using the REST API, the crypto functions are delegated to the peer to act on your behalf (so you submit a REST call with SecureContext in it and then the peer takes that, converts it into a fabric transaction, signs it with the credentials it is storing on your behalf and then submits it)

garisingh
2016-10-21 12:04
So in the end, the system will see the same certificates either way, just that HFC is a more direct and controlled path for a client

zemtsov
2016-10-21 12:06
And from the chaincode’s point of view they are the same, right?

garisingh
2016-10-21 12:07
correct

zemtsov
2016-10-21 12:07
Thank you very much!

garisingh
2016-10-21 12:08
not a problem. great questions. we need to find a way to capture some of this stuff. others will surely have the same question(s)

zemtsov
2016-10-21 12:08
I’ve bookmarked this one :slightly_smiling_face:

sumitks
2016-10-21 13:00
hi i am getting the following error while executing vagrant up. Can anybody suggest the correction. error: RPC failed; result=6, HTTP code = 0

sumitks
2016-10-21 13:03
full error info:error: RPC failed; result=6, HTTP code = 0 fatal: The remote end hung up unexpectedly

dzadorozhnyi
2016-10-21 13:37
Hello guys, If maybe someone could help me out: I have a private peer network running on 4 virtual machines. 5th machine has membershipservice running on it. In order to perform requests to any of those peers i need a certificate. On Bluemix, we have a link in variables: "cert": "https://blockchain-certs.mybluemix.net/us.blockchain.ibm.com.cert" When setting up a local network, how to get that certificate? Does membershipservice provide it somehow, or should i generate it in some way? Many thanks!


tim_main
2016-10-21 13:58
has joined #general

echenrunner
2016-10-21 13:59
dzadorozhnyi, when you say VM on you running on z/VM Linux?

dzadorozhnyi
2016-10-21 14:03
ubuntu linux

echenrunner
2016-10-21 14:06
so X86 processor not mainframe? did you have you membersrvc.yaml and <<< core.yaml setup to point to the membersrvc server >>>

garisingh
2016-10-21 14:31
@dzadorozhnyi - we need to document exactly how to get TLS working, although if you look in the BDD tests folder I believe there is a compose file which does get TLS working

hoe
2016-10-21 14:31
has joined #general

jvescio
2016-10-21 14:32
Looking into being able to setup in Dedicated BlueMix . We have a setup in public BM . Is there services or instructions to be able to do in Dedicated so we are able to access legacy data.

dzadorozhnyi
2016-10-21 14:33
@garisingh BDD tests for hyperledger/fabric, right?

dzadorozhnyi
2016-10-21 14:33
@echenrunner yes, i have my membersrvc.yml and core.yml setup

garisingh
2016-10-21 14:34
yes - sorry - for the fabric. It's a bit tricky in that there is a "chicken and egg" problem if you try to use the TLS certificates issued by membership services since you have to start the peer without TLS, have it contact membership services to get its TLS certificate and then start it in TLS mode

garisingh
2016-10-21 14:36
For Bluemix, we actually circumvent this as we actually wanted to use a certificate signed by a public CA (we used Digicert). So we actually use a wildcard certificate (for *.http://us.blockchain.ibm.com) and configure all of the nodes to use that certificate and then we also create the proper DNS entries as well

garisingh
2016-10-21 14:37
so we pass PKIX validation and hostname verification

garisingh
2016-10-21 14:37
are you interested in doing this more for demonstration purposes or are you really trying to get something securely deployed?

b0000000000000t
2016-10-21 15:03
has joined #general

zahoor
2016-10-21 15:05
has joined #general

echenrunner
2016-10-21 15:32
Garisingh, According to the DOCS when the peer gets out of SYNC, It should get “state may be inconsistent, cannot query”. However, in order to get that, the "engine.helper.valid" must be false. How do I know this Ledger I am looking one is not the latest because it was down? Thnaks

easwarvivek
2016-10-21 17:02
has joined #general

arnaud
2016-10-21 17:08
wow, github is down?

arnaud
2016-10-21 17:09
I can access other sites just fine but I can't seem to access http://github.com

arnaud
2016-10-21 17:09
anybody else?

hellospencer
2016-10-21 17:09
I also cannot access github

hellospencer
2016-10-21 17:09
I thought it would be corporate IT

arnaud
2016-10-21 17:10
well, I was wondering if it was on my side too

arnaud
2016-10-21 17:10
I'm guessing there are quite a few people annoyed right now...

hellospencer
2016-10-21 17:11
Yea, this is bad

yacovm
2016-10-21 17:11
github works for me

arnaud
2016-10-21 17:12
where are you based @hellospencer ?

arnaud
2016-10-21 17:13
I'm in brussels

hellospencer
2016-10-21 17:13
I’m in Bay Area

arnaud
2016-10-21 17:13
ok, so it's not geographical

arnaud
2016-10-21 17:13
yacov, stop bragging :wink:

yacovm
2016-10-21 17:14
I'm not... you want something from github? I can fetch it if it's small


hellospencer
2016-10-21 17:14
Probably related to this ddos as my colleague pointed out

arnaud
2016-10-21 17:14
ah, that looks like it indeed

arnaud
2016-10-21 17:14
thanks

yacovm
2016-10-21 17:15
good thing we're working with gerrit and github is only a mirror

arnaud
2016-10-21 17:15
yeah, that's why I'm ok

yacovm
2016-10-21 17:17
the attack according to that link is a DDOS on the DNS, github resolves to `192.30.253.112` on my machine, can you access it?

arnaud
2016-10-21 17:20
are you sure?

arnaud
2016-10-21 17:20
it doesn't work for me

hellospencer
2016-10-21 17:21
not really, there are other artifacts to load and chrome re-resolves the address to http://github.com

arnaud
2016-10-21 17:22
ah, right

arnaud
2016-10-21 17:22
no biggie

arnaud
2016-10-21 17:22
thanks

habpy
2016-10-21 17:30
has joined #general

mmyersjr
2016-10-21 17:34
has joined #general

anneconnelly
2016-10-21 17:48
has joined #general

stevenmoon
2016-10-21 18:13
has joined #general

dzadorozhnyi
2016-10-21 19:26
@garisingh thanks for your answer, what i am trying to do is to connect hfc to my private peer network and it requires a valid certificate to be downloaded

dcgrandview
2016-10-21 19:27
has joined #general

jamesjong
2016-10-21 19:47
has joined #general

garisingh
2016-10-21 20:43
@dzadorozhnyi - do you already have TLS enabled on the peers?

dzadorozhnyi
2016-10-21 20:49
not sure, will find that out only on monday :slightly_smiling_face:

js20161688
2016-10-21 21:19
has joined #general

varone
2016-10-21 21:22
has joined #general

xq2417
2016-10-22 07:46
has joined #general

stec86
2016-10-22 08:39
has joined #general

demetrius
2016-10-22 11:34
has joined #general

wanghaidong
2016-10-22 12:36
has joined #general

winnie.tsang
2016-10-22 13:31
has joined #general

rakeshinnovation
2016-10-22 16:23
has joined #general

rakeshinnovation
2016-10-22 16:25
hi everyone glad to join here

alisafri
2016-10-22 17:14
has joined #general

rc_ybarra
2016-10-22 22:22
has joined #general

jja_fr
2016-10-23 00:42
has joined #general

sumitks
2016-10-23 05:31
hi i am getting the following error while executing vagrant up. Can anybody suggest the correction. error: RPC failed; result=6, HTTP code = 0 full error info:error: RPC failed; result=6, HTTP code = 0 fatal: The remote end hung up unexpectedly

agupta2016
2016-10-23 05:41
has joined #general

agupta2016
2016-10-23 05:45
Hi everyone. I am a newbie here. Can somebody help me understand how to contribute to Requirements Working Group on different use cases. Best Abhishek

jonathanlevi
2016-10-23 06:01
Hi @agupta2016, I can point out a few URLs that you can follow. First, that WG is part of the Public Meetings (Calendar): https://wiki.hyperledger.org/community/calendar-public-meetings#requirements_wg

jonathanlevi
2016-10-23 06:02
Second, there is also a lot of (general) info in the wiki (e.g., https://wiki.hyperledger.org/community/frequently-asked-questions-faq)

jonathanlevi
2016-10-23 06:04
But more specifically, the easiest will probably be to write to Oleg Abdrashitov (who is very friendly!) directly (before, after or during one of these meetings)...

agupta2016
2016-10-23 06:44
Thanks a lot @jonathanlevi for the links. Also Thanks for pointing me to Oleg. I am keen to contribute to use cases described at https://github.com/hyperledger/hyperledger/wiki/Requirements-WG . Hope these meetings point me to that too.

kupham
2016-10-23 09:08
has joined #general

leon.chu
2016-10-23 16:32
has joined #general

zgorizzo
2016-10-23 16:34
has joined #general

zahoor
2016-10-23 18:00
Hi Iam new to hyperledger. Iam a developer. What are some tasks I can take as a newbie... pointers please


olivierb
2016-10-23 20:18
has joined #general

jaynbc
2016-10-23 21:24
has joined #general

narvemp
2016-10-23 21:59
has joined #general

mohit
2016-10-24 01:57
has joined #general

robmichael
2016-10-24 02:35
has joined #general

jd
2016-10-24 03:02
has joined #general

tapann
2016-10-24 03:46
has joined #general

sumitks
2016-10-24 06:12
hi I am getting the following error while running the command to start the peer node. error: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 127.0.0.1:5005: getsockopt: connection refused"; Reconnecting to {"127.0.0.1:5005" <nil>} Can anybody help me out.

hiron
2016-10-24 06:17
has joined #general

longwu
2016-10-24 08:25
has joined #general

lohitkrishnan
2016-10-24 08:40
has joined #general

garisingh
2016-10-24 09:45
@sumitks - where in your config is port 5005?

garisingh
2016-10-24 09:45
also, how are you running the peer?

sumitks
2016-10-24 09:48
@garisingh I am running the peer with security and privacy disables using the procedure available at : https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#running-the-chaincode. I have been able to make peer but encountered the error while running the command start peer node.

garisingh
2016-10-24 09:49
so you are running `peer node start` and getting that error?

sumitks
2016-10-24 09:50
yes

sumitks
2016-10-24 09:50
i ran the code : peer node start --peer-chaincodedev

garisingh
2016-10-24 09:52
ah - shoot - I know the problem

garisingh
2016-10-24 09:53
the `master` branch has now been updated to start development on the new v1 architecture

garisingh
2016-10-24 09:53
what you'll need to do is to checkout the `v0.6` branch instead. better yet, you may just want to run the Docker images we have built for v0.6.1-release-preview

sumitks
2016-10-24 10:01
@garisingh can you elaborate a bit... i am a fresher in this field. Currently playing out with docker toolbox and vagrant on my windows 7 to develop local environment for experimenting with block chain. Didnt get what u meant with checking out version the new updated master branch 0.6?? I however downloaded the latest images and tired building peer in the non-vagrant environment. But I could not locate the peer using the address 127.0.0.1:2375.

sumitks
2016-10-24 10:02
sorry the address is 172.17.0.1:2375

garisingh
2016-10-24 10:05
sure - so a couple of points: 1) The documentation was written for the `v0.6` version of the fabric which is the latest stable release. 2) Over the past few days, we've been "merging" `v1.0` feature branches into the `master` branch of the repository so if you clone the source repository the `master` (default) branch will actually be for `v1.0` which means that things no longer work exactly as they did in `v0.6` (and as the docs describe) Is it safe to assume that you are more interested in using the fabric and developing chaincode and applications rather than actually doing development on the core fabric code itself?

garisingh
2016-10-24 10:08
be right back ....

sumitks
2016-10-24 10:10
@garisingh yes actually I am trying to learn building a chain code first. Can you help me out with some links for the chain code development. and are the command for cloning v0.6 and v1.0 different?

synblockchainteam
2016-10-24 10:34
has joined #general

smatsui
2016-10-24 10:39
has joined #general

garisingh
2016-10-24 10:44
@sumitks - I'm back. So hopefully what we can do here is get you up and running with the Docker images and then developing / running your chaincode on your Windows 7 host. Step 1: Install Docker Toolbox for Windows (I think you did this already) Step 2: Use the "Docker QuickStart Terminal" shortcut (either on your desktop or via the start menu) to launch Docker on your Windows host (if you've done this already, I'd recommend closing any open "QuickStart Terminal" Windows Step 3: After launching the "QuickStart Terminal", you'll see a line printed out underneath the Docker picture - something like `...configured to use the default machine with IP http://XXX.XXX.XXX.XXX` - you will want to capture that IP address as we'll need it when we run the chaincode later Step 4: Follow https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#option-3-docker-toolbox to create a compose file and launch the peer and membership services

garisingh
2016-10-24 10:47
Step 5: If you don't have Go installed on your Windows host, install that next

sumitks
2016-10-24 10:54

sumitks
2016-10-24 10:54
@garisingh I have run the command docker-compose up and got the following response

sumitks
2016-10-24 10:54
the image above

garisingh
2016-10-24 11:02
ok - good looks like things are working up until now

garisingh
2016-10-24 11:02
do you have Go installed on your Windows host?

sumitks
2016-10-24 11:03
yes

garisingh
2016-10-24 11:05
(I'm going to write out some additional steps which you might already have done but hopefully we can capture these for others to use as well)

garisingh
2016-10-24 11:17
Step 6: Launch another "Docker QuickStart Terminal" Step 7: In that terminal, `cd $GOPATH/src` (if GOPATH is not set, refer to the Golang instructions on setting up your GOPATH - https://golang.org/doc/install Step 8: run `mkdir -p http://github.com/hyperledger` Step 9: `cd http://github.com/hyperledger` Step 10: `git clone -b v0.6 --single-branch http://gerrit.hyperledger.org/r/fabric` Step 11: `cd fabric/examples/chaincode/go/chaincode_example02` Step 12: `go build` Step 13: `CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=http://XXX.XXX.XXX.XXX:7051 ./chaincode_example02` - replace http://XXX.XXX.XXX.XXX with the IP address you capture in Step 3

garisingh
2016-10-24 11:17
if this works ( :pray: ) then you should be able to develop your own chaincode locally on your Windows host as well

garisingh
2016-10-24 11:19
you'll just want to make sure that you emulate Step 13 but replace `chaincode_example02` with your compiled chaincode - you can also of course give it a different name by passing a different value for `CORE_CHAINCODE_ID_NAME`

garisingh
2016-10-24 11:19
(note that Step 10 above is a convenient way to ensure that you only have the v0.6 version of the src code in your GOPATH)

abhisingh
2016-10-24 11:24
Hi All,

abhisingh
2016-10-24 11:24

abhisingh
2016-10-24 11:25
I am getting this error while building

abhisingh
2016-10-24 11:26
java chaincode

garisingh
2016-10-24 11:27
before you post here, I'd advise posting the the #java-chaincode channel

sumitks
2016-10-24 11:29
@garisingh I encountered the following error after executing the step 13

sumitks
2016-10-24 11:29

ktekavec
2016-10-24 11:30
has joined #general

garisingh
2016-10-24 11:33
@sumitks - I see the problem - I did not realize that the Docker compose file did not expose the ports :disappointed:

garisingh
2016-10-24 11:34
Please modify the compose file: ``` membersrvc: image: hyperledger/fabric-membersrvc command: membersrvc vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7053:7053" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://172.17.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev" ```

garisingh
2016-10-24 11:34
notice the addition of the "ports" entry above

sumitks
2016-10-24 11:35
@garisingh this docker compose corresponds for the docker for windows 10 according to the documentation.

garisingh
2016-10-24 11:36
this should work for Docker Toolbox on Windows 7

sumitks
2016-10-24 11:36
while the documentation says that foe docker toolbox we need to use the following file( as I am using windows 7):

sumitks
2016-10-24 11:36
ok will try and let you know

sumitks
2016-10-24 11:37

garisingh
2016-10-24 11:44
I just gave it a try and as they say "it worked for me" :wink:

garisingh
2016-10-24 11:45
or "it worked on my machine"

cbf
2016-10-24 12:08
gari, i have that in the docs

cbf
2016-10-24 12:09
I should check all the places

garisingh
2016-10-24 12:10
Hmm - I might have missed it

andrew.haim
2016-10-24 12:21
has joined #general

sumitks
2016-10-24 12:31
@garisingh I got the same error with the new docker compose file:

sumitks
2016-10-24 12:32

sumitks
2016-10-24 12:57
@garisingh @muralisr also the file created after the command go build has the extension .exe. Is that right?

sumitks
2016-10-24 13:12
I guess i am doing something wrong after step 12.

sumitks
2016-10-24 13:14
do i need to edit the file: chaincode_example02.exe created after executing the command: go build before running the command :CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=http://XXX.XXX.XXX.XXX:7051 ./chaincode_example02

muralisr
2016-10-24 13:16
@sumitks did you try CORE_PEER_ADDRESS=127.0.0.1:7051

muralisr
2016-10-24 13:16
also make sure 7051 is up with `netstat -an`

sumitks
2016-10-24 13:18
@muralisr i didn't get what you mean with netstat -an

sumitks
2016-10-24 13:19
If you mean including 7051 in the compose file then it is already included in it

sumitks
2016-10-24 13:20
my core peer address was my vm ip:7051

sumitks
2016-10-24 13:22
i.e. 192.168.99.101:7051

sumitks
2016-10-24 13:25
it is not working with either of the core peer addresses

garisingh
2016-10-24 13:35
sorry - was away - not sure what is going on. Can you run the following commands in the same quick start terminal window you are using: `docker run --rm --net host -it alpine /bin/sh`

garisingh
2016-10-24 13:35
once that runs, it you should be in another shell

garisingh
2016-10-24 13:36
then run `ifconfig eth1` and check the ip address

garisingh
2016-10-24 13:37
also run `netstat -an |grep 7051` and make sure you get something back

mmassengill
2016-10-24 13:52
has joined #general

sumitks
2016-10-24 13:58
@garisingh @muralisr thanks it worked the second time

sumitks
2016-10-24 13:58
the snipped of the terminal is :

sumitks
2016-10-24 13:59

sumitks
2016-10-24 14:00
but the core vm end point that i used was-- CORE_VM_ENDPOINT=unix:///var/run/docker.sock and as they "it worked for me" also :relaxed: @garisingh

zemtsov
2016-10-24 14:15
@sumitks @garisingh so, guys, the problem was in CORE_VM_ENDPOINT?

zemtsov
2016-10-24 14:16
I also have some problems with docker-compose start. Can’t find what causes it

garisingh
2016-10-24 14:17
@zemtsov - what's your host OS?

zemtsov
2016-10-24 14:17
MacOS

zemtsov
2016-10-24 14:17
and no vagrant

zemtsov
2016-10-24 14:17
starting from host

zemtsov
2016-10-24 14:18
I have a problem when deploying chaincode

zemtsov
2016-10-24 14:18
``` [dockercontroller] deployImage -> ERRO 02e Error building images: dial unix /var/run/docker/sock: connect: no such file or directory```

garisingh
2016-10-24 14:18
Docker for Mac or Docker Toolbox

zemtsov
2016-10-24 14:18
it is Docker, I guess

garisingh
2016-10-24 14:18
guess it does not really matter

garisingh
2016-10-24 14:20
you need to map a volume for it to work with `/var/run/docker.sock`

garisingh
2016-10-24 14:20
``` volumes: - /var/run/docker.sock:/var/run/docker.sock ```

zemtsov
2016-10-24 14:20
in docker-compose.yml?

garisingh
2016-10-24 14:20
yep

zemtsov
2016-10-24 14:20
And to add it to each peer, right?

taylant
2016-10-24 14:21
has joined #general

garisingh
2016-10-24 14:21
correct

zemtsov
2016-10-24 14:21
Ok, let me try. Thanks

garisingh
2016-10-24 14:21
np

jefftenn
2016-10-24 14:29
has joined #general

cusdenia
2016-10-24 14:30
has joined #general

zemtsov
2016-10-24 14:32
@garisingh was the tag latest removed? (I guess somebody wrote about it)

zemtsov
2016-10-24 14:32
```Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage```

garisingh
2016-10-24 14:33
there's never been one

garisingh
2016-10-24 14:34
easiest thing to to is `docker tag hyperledger/fabric-peer hyperledger/fabric-baseimage:latest` or of course to `docker pull` the base image and then `docker tag` it

zemtsov
2016-10-24 14:43
That error has gone

zemtsov
2016-10-24 14:43

zemtsov
2016-10-24 14:48
Is it something wrong inside image?

rascal
2016-10-24 14:49
Hi, there

rascal
2016-10-24 14:49
I’m also a newbie about Hyperledger

rascal
2016-10-24 14:50
My env are macOS sierra

rascal
2016-10-24 14:50
No error so far

rascal
2016-10-24 14:51
I followed the instructions, and it works

rascal
2016-10-24 14:51
Something changed??

rascal
2016-10-24 14:53


zemtsov
2016-10-24 15:00
@rascal have you tried to deploy your chaincode?

rascal
2016-10-24 15:01
yup

zemtsov
2016-10-24 15:02
did you use the same docker-compose.yml as it is on the page?

rascal
2016-10-24 15:02
uh, yes and no

rascal
2016-10-24 15:02
wait a minute

zemtsov
2016-10-24 15:03
I create 1 membersrvc and 4 peers.

garisingh
2016-10-24 15:04
@zemtsov - are you using the Node SDK - aka "hfc" to deploy the chaincode?

rascal
2016-10-24 15:04
I used compose-defaults.yml, and docker-compose-4-consensus-batch.yml

zemtsov
2016-10-24 15:04
@garisingh yes, I deploy it from my script

rascal
2016-10-24 15:04
so did I @zemtsov

garisingh
2016-10-24 15:05
did either of you "vendor" the fabric source?

garisingh
2016-10-24 15:05
@rascal - my guess is you did

zemtsov
2016-10-24 15:06
mmm. I don’t know. That probably means NO :slightly_smiling_face:

rascal
2016-10-24 15:06
I made an example go file as hyperleger/fabric/examples2/chaincode_counter/main.go,

rascal
2016-10-24 15:06
and I edited yml files little bit

zemtsov
2016-10-24 15:07
What does it mean, “to vendor”?

rascal
2016-10-24 15:07
I’d like to hear too


garisingh
2016-10-24 15:08
``` After you have placed your chaincode project under the $GOPATH/src, you will need to vendor the dependencies. From the directory containing your chaincode source, run the following commands: go get -u http://github.com/kardianos/govendor cd $GOPATH/src/github.com/chaincode_example02 govendor init govendor fetch http://github.com/hyperledger/fabric ```

garisingh
2016-10-24 15:09
(from the docs)

rascal
2016-10-24 15:09
HFC lets us to registrar a new user, right?

rascal
2016-10-24 15:11
How can I kind of “bookmark” in slack?

rascal
2016-10-24 15:12
I note that xD on my notepad

rascal
2016-10-24 15:12
Is it kind of rule?

rascal
2016-10-24 15:12
@garisingh

weeds
2016-10-24 15:17
I have had a lot of questions in terms of where all the design documentation is for Hyperledger-fabric for the version 1. Apparently there are people in the community that have problems finding it. As a result, Binh Nguyen created a link in Hyperledger wiki to help. Hopefully this helps everyone: https://wiki.hyperledger.org/community/fabric-design-docs

rascal
2016-10-24 15:19
wow

rascal
2016-10-24 15:19
so helpful

rascal
2016-10-24 15:20
COP means a sort of summit or anything? @weeds

rascal
2016-10-24 15:25
thanks

rascal
2016-10-24 15:28
By the way, @zemtsov , I did “vagrant up —provision” and “vagrant ssh” in fabric/devenv dir from my terminal

zemtsov
2016-10-24 15:28
I don’t use vagrant. I start docker-compose from my host OS

rascal
2016-10-24 15:28
oh

rascal
2016-10-24 15:28
sorry

rascal
2016-10-24 15:29
hmm

garisingh
2016-10-24 15:29
@zemtsov - just as a quick test - can you try something? I assume that you pulled and re-tagged the fabric-baseimage?

zemtsov
2016-10-24 15:30
```hyperledger/fabric-membersrvc latest b3654d32e4f9 6 days ago 1.417 GB hyperledger/fabric-baseimage latest 21cb00fb27f4 6 days ago 1.424 GB hyperledger/fabric-peer latest 21cb00fb27f4 6 days ago 1.424 GB```

garisingh
2016-10-24 15:31
did you pull the base image or did you try to trick of re-tagging the peer image? looks like the latter but just want to make sure

zemtsov
2016-10-24 15:32
I pulled `hyperledger/fabric-peer:latest` and re-retagged it to `hyperledger/fabric-baseimage:latest`

zemtsov
2016-10-24 15:33
Is it what you want to know?

rascal
2016-10-24 15:38
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/ Cannot connect to the Docker daemon. Is the docker daemon running on this host?

rascal
2016-10-24 15:39
I can't

rascal
2016-10-24 15:42
oops

rascal
2016-10-24 15:47
My daemon wasn’t up xD on the host OS

rascal
2016-10-24 15:48
I’m gonna test

jkilpatr
2016-10-24 15:48
has joined #general

rascal
2016-10-24 15:49
If I can run it on the host OS

zemtsov
2016-10-24 15:49
@garisingh I vendored my chaincode (I try to deploy chaincode_example02) but it didn’t help. Looks like ` src/build-chaincode/vendor/github.com/hyperledger/fabric/peer/core.yaml` is missed inside the image. Should I install govendor inside the image?

rascal
2016-10-24 15:50
@zemtsov did you make peer-image?

zemtsov
2016-10-24 15:51
no. I pulled images with docker

zemtsov
2016-10-24 15:51
But I’ve tried it before

rascal
2016-10-24 15:51
oh

jacg
2016-10-24 15:55
has joined #general

garisingh
2016-10-24 16:02
hmm - this is odd

rascal
2016-10-24 16:03
I’m testing on the host

zemtsov
2016-10-24 16:03
Probably I’m doing something wrong

rascal
2016-10-24 16:03
oh, those came down

rascal
2016-10-24 16:05
hmm, those’re working


zemtsov
2016-10-24 16:06
Is it a start?

rascal
2016-10-24 16:07
yup

zemtsov
2016-10-24 16:07
Mine starts also :slightly_smiling_face:

zemtsov
2016-10-24 16:07
It fails on chaincode deploying

rascal
2016-10-24 16:07
okay, I’m gonna test it

zemtsov
2016-10-24 16:08
Too many messages with DEBUG logging level in the log :slightly_smiling_face:

andrea.pagano
2016-10-24 16:13
has joined #general

zemtsov
2016-10-24 16:18
@zemtsov uploaded a file: https://hyperledgerproject.slack.com/files/zemtsov/F2TDCRLBF/-.sh and commented: @rascal this is my starting log. 4 peers with pbft

rascal
2016-10-24 16:24
hmm

zemtsov
2016-10-24 16:44
@garisingh what happens when I deploy a code? Are any new containers creating?

garisingh
2016-10-24 16:50
when you deploy chaincode, you get a new container for each chaincode for each peer

rascal
2016-10-24 17:04
Rascals-MacBook-Pro:chaincode_example02 Rascal$ CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true peer chaincode deploy -u jim -l golang -n mycc -c '{"Function":"init", "Args": ["Tom", "100", "Ken", "200"]}' --peer-chaincodedev bash: peer: command not found oops

rascal
2016-10-24 17:04
path isn’t ..

rascal
2016-10-24 17:11
Hmm… I can’t run it on the host OS now

rascal
2016-10-24 17:12
@zemtsov sorry...

rascal
2016-10-24 17:13
It works on the Docker on the VM, though...

jkilpatr
2016-10-24 18:10
Ok, new here, trying to grok the project organization. For example whats the intersection between sawtooth and frabric?

kevan
2016-10-24 18:40
has joined #general

balakrishna
2016-10-24 18:46
Hi all, I am having a problem while returning the errors from chiancode invoke methods to CLI or NodeSDK. Can anyone help out with this ? Is there anyway i can return errors from invoke function to NodeSDK in case of any errors

pcallen1015
2016-10-24 20:08
has joined #general

remmy
2016-10-24 20:57
has joined #general

ghaskins
2016-10-24 23:01
@balakrishna what you are looking for is the events mechanism, its still WIP

ghaskins
2016-10-24 23:01
right now, invoke status is not returned in any meaningful way to the SDK

ghaskins
2016-10-24 23:02
there’s people working on it, though

justinhoo
2016-10-24 23:28
has joined #general

john-s
2016-10-25 01:39
has joined #general

huangye
2016-10-25 01:53
has joined #general

figoliu
2016-10-25 01:55
has joined #general

dtamplin
2016-10-25 03:18
has joined #general

mrbuggy
2016-10-25 04:50
@mrbuggy uploaded a file: https://hyperledgerproject.slack.com/files/mrbuggy/F2TMWDTPX/-.txt and commented: hello all, I am trying to build the HFC sdk docs as instructed here http://hyperledger-fabric.readthedocs.io/en/latest/nodeSDK/app-developer-env-setup/ ... I am trying to build the docs from the *starter kit* but it is showing me the following output.

mrbuggy
2016-10-25 04:51
where can I find this index.d.ts?

viv8up
2016-10-25 06:56
has joined #general

gaurav
2016-10-25 07:18
Hi, Can anyone suggest for HFC, if the event functionality is there in version v0.6.0-preview for both HFC and Hyperledger/Fabric?

zemtsov
2016-10-25 07:55
@garisingh Hello! About “vendoring” again. Should I do in on the host machine, right?

zemtsov
2016-10-25 08:29
govendor works strange on my machine

zemtsov
2016-10-25 09:37
I do “vendor” my chaincode. After that a new `vendor` directory appears. Inside it I can find all dependencies from my chaincode. But when I deploy the code to the blockchain I get this error: ```cp: cannot stat 'src/build-chaincode/vendor/github.com/hyperledger/fabric/peer/core.yaml': No such file or directory```

zemtsov
2016-10-25 10:01
Oh… Looks like I moved forward. It seems like there is a problem with confidential deploy transactions. Here is the info: https://github.com/hyperledger-archives/fabric/issues/1204

shueheng
2016-10-25 10:17
Hi, if we have an asset eg invoice that has to be linked to a number of different assets eg PO, what is the best way to implement it in HL's ledger?

rishavkmr09
2016-10-25 11:21
I have sucessfully resgistered the sample chaincode(example chaincode02) on docker toolbox. How do i use REST API now? will i be needing vagrant environment additionally ? @muralisr @zemtsov

yacovm
2016-10-25 11:26
it is better to use the node SDK than the REST api

rishavkmr09
2016-10-25 11:31
ok , but i don't know whether a test node.js app is available in the documentation for testing the deployment of chaincode. still can you give me instructions for both Rest Api and Node Sdk?, i am relatively fresher here.... @yacovm ......and for rest api we need to build vagrant environment right?? or can it be done using docker also.


yacovm
2016-10-25 11:32
you can use the vagrant, and docker images, its up 2 u

jasoneng
2016-10-25 12:01
has joined #general

klausb
2016-10-25 12:49
has joined #general

rishavkmr09
2016-10-25 13:44
@yacovm I tried to run the command cd /opt/gopath/src/github.com/hyperledger/fabric build/bin/peer as given in the 1st link provided by you but it says that no such directory exists. I run it from the docker terminal. can you eloborate a bit of this.

rishavkmr09
2016-10-25 13:45

yacovm
2016-10-25 13:46
what happens when you run `make` ?

rishavkmr09
2016-10-25 13:49
bash : make: command not found

rishavkmr09
2016-10-25 13:50

rishavkmr09
2016-10-25 13:50
this is my last good status : Registering the peer

rishavkmr09
2016-10-25 13:50
stuck after that

rishavkmr09
2016-10-25 13:51
and within the build folder i only have image folder

rishavkmr09
2016-10-25 13:51
@yacovm

yacovm
2016-10-25 13:51
can you do "vagrant ssh"

yacovm
2016-10-25 13:52
then go to that folder and run make from the linux?

rishavkmr09
2016-10-25 13:53
i had been pulling docker images all this time...can i run vagrant up & shh from docker terminal(instead of git)??

rishavkmr09
2016-10-25 13:54
@yacovm

yacovm
2016-10-25 13:54
you don't need to tag me after each sentence :slightly_smiling_face:

yacovm
2016-10-25 13:54
what do you mean you were pulling images all this time?

yacovm
2016-10-25 13:55
after you did `vagrant up`

yacovm
2016-10-25 13:55
do `vagrant ssh`

yacovm
2016-10-25 13:55
this takes you into the machine

yacovm
2016-10-25 13:55
then go to /opt/gopath/src/github.com/hyperledger/fabric

yacovm
2016-10-25 13:55
and run make from there

rishavkmr09
2016-10-25 13:56
was using docker instead of vagrant enviorment

rishavkmr09
2016-10-25 13:56
using docker toolbox

rishavkmr09
2016-10-25 13:57
should i move to git for vagrant enviorment(i read somewhere) or can i do vagrant up from docker terminal

yacovm
2016-10-25 13:57
oh.. you are running docker on windows?!

rishavkmr09
2016-10-25 13:57
?

rishavkmr09
2016-10-25 13:57
yes

yacovm
2016-10-25 13:58
dear god...

yacovm
2016-10-25 13:58
ok you need somehow to build the peers then

yacovm
2016-10-25 13:58
it's kind of complicated IMO

yacovm
2016-10-25 13:58
you can either use vagrant

yacovm
2016-10-25 13:59
or ask in #fabric-dev-env how you build and run without vagrant, on windows

rishavkmr09
2016-10-25 14:01
ok i will try vagrant on git

rishavkmr09
2016-10-25 14:02
i tried it once earlier

rishavkmr09
2016-10-25 14:02
got stuck after make peer command in peer node start

yacovm
2016-10-25 14:02
it didn't output anything?

rishavkmr09
2016-10-25 14:04
addrconn.resetTransport failed to create client transport: connection error

rishavkmr09
2016-10-25 14:04
*somewhat this error

yacovm
2016-10-25 14:05
huh? during make? weird

yacovm
2016-10-25 14:05
I'd advise to do that again

yacovm
2016-10-25 14:05
and if you get stuck there, it's easier to get support

rishavkmr09
2016-10-25 14:05
during peer node start

yacovm
2016-10-25 14:05
oh

rishavkmr09
2016-10-25 14:07
does that depends on version of fabric cloned?

yacovm
2016-10-25 14:07
clone the latest... I dunno

rishavkmr09
2016-10-25 14:09
i an giving a try again on vagrant..can you suggest a good documentation ..i have been referring to https://hyperledger-fabric.readthedocs.io all this while

rishavkmr09
2016-10-25 14:13
@yacovm



yacovm
2016-10-25 14:14
and please stop tagging me each time :sweat: my phone explodes

rishavkmr09
2016-10-25 14:16
okay sry

rishavkmr09
2016-10-25 14:16
thanks

rishavkmr09
2016-10-25 14:16
let me try again

umasuthan
2016-10-25 14:44
I am a bit confused about a validating peer vs participant vs client application. Can there is a scenario where two participants invoke transaction through the same validating Peer?

ahmedelhajji
2016-10-25 15:10
has joined #general

ahmedelhajji
2016-10-25 15:12
Hello i am new hyperledger user i want juste to do same test

ahmedelhajji
2016-10-25 15:13
when i execute this cmd

ahmedelhajji
2016-10-25 15:13
CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02

ahmedelhajji
2016-10-25 15:13
15:04:27.004 [shim] INFO : error with chaincode log level: logger: invalid log level level= 15:04:27.004 [shim] DEBU : Peer address: 0.0.0.0:7051 2016/10/25 15:04:28 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/10/25 15:04:29 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 15:04:30.005 [shim] ERRO : Error trying to connect to local peer: grpc: timed out when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: timed out when dialing

ahmedelhajji
2016-10-25 15:14
if someone has seen the same problem before

wlahti
2016-10-25 15:17
hmmm, I’ll look into that. definitely in the code area I’ve been working on.

wlahti
2016-10-25 15:18
to workaround the issue for now, pass in a log level value (debug, for example) for CORE_LOGGING_CHAINCODE

ahmedelhajji
2016-10-25 15:20
only for me to explain the context im in this tutorial


ahmedelhajji
2016-10-25 15:21
now in this step Starting and registering the chaincode

ahmedelhajji
2016-10-25 15:21
when i execute this cmd : CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02

ahmedelhajji
2016-10-25 15:22
i have the error i showed before

wlahti
2016-10-25 15:24
got it. I’ll fix it as soon as possible. as mentioned above, setting CORE_LOGGING_CHAINCODE in your command will temporarily resolve the issue. for example: CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 CORE_LOGGING_CHAINCODE=debug ./chaincode_example02

ahmedelhajji
2016-10-25 15:27
thank you for your response

ahmedelhajji
2016-10-25 15:28
but i test the exemple and i have the same error

ahmedelhajji
2016-10-25 15:29
# CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 CORE_LOGGING_CHAINCODE=debug ./chaincode_example02 15:25:55.741 [shim] DEBU : Peer address: 0.0.0.0:7051 2016/10/25 15:25:56 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/10/25 15:25:58 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 15:25:58.741 [shim] ERRO : Error trying to connect to local peer: grpc: timed out when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: timed out when dialing

ahmedelhajji
2016-10-25 15:30
the problem for now im a new user :slightly_smiling_face:

wlahti
2016-10-25 15:30
what method are you using to run your peer? it looks to me like the peer isn’t started.

ahmedelhajji
2016-10-25 15:30
I am still learning

ahmedelhajji
2016-10-25 15:32
how i can check if the peer started or not ?

wlahti
2016-10-25 15:34
I believe that running ‘docker ps’ should give an indication of the whether the peer is running no matter which method you choose to run the peer (e.g. vagrant, docker-compose)

ahmedelhajji
2016-10-25 15:36
when i execute docker ps i have this

ahmedelhajji
2016-10-25 15:36
# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1de9fafZR02a1 hyperledger/fabric-starter-kit "sh -c 'sleep 20; /op" 5 days ago Up 5 days starter 06d2533F175a hyperledger/fabric-peer "sh -c 'sleep 10; pee" 5 days ago Up 5 days peer 897510ASab0c hyperledger/fabric-membersrvc "membersrvc" 5 days ago Up 5 days membersrvc

echenrunner
2016-10-25 15:56
I'm try to verify " state may be inconsistent, cannot query" by bring down one of my validating peer. after the peer comes back up from the outage, I did a query and it still has the old ledger. and I can't found any messages in the logs that indicate that the peer i'm querying be "inconsistent".

tuand
2016-10-25 16:04
@echenrunner I'm assuming you're running a PBFT network of at least 4 peers ... are you sending transactions to the network after you restarted your peer ? that peer won't know it is lagging unless it is receiving checkpoint messages from the other peers ... we can continue the discussion to #fabric-consensus-dev

maytun
2016-10-25 16:24
has joined #general

ornit17
2016-10-25 16:27
has joined #general

senthil
2016-10-25 18:44
has joined #general

jj
2016-10-25 20:35
has joined #general

skoev
2016-10-25 20:53
has joined #general

jorgego
2016-10-25 21:14
has joined #general

theoplatt
2016-10-25 21:18
has joined #general

diferal
2016-10-25 21:57
has joined #general

kunallimaye
2016-10-25 22:41
I am attempting to start using Kubernetes to deploy fabric. Step one is getting fabric-starter-kit to work on Kubernetes - http://www.finiteloop.me/getting-started-with-hyperledger-on-kubernetes. Would love some feedback

varadarajan
2016-10-25 23:00
has joined #general

jh314
2016-10-26 01:50
has joined #general

jskurray
2016-10-26 03:04
has joined #general

sumitks
2016-10-26 05:51
@ahmedelhajji you can follow the following txt file if you are doing with docker toolbox in windows 7

sumitks
2016-10-26 05:51
i did this and i was able to register the chain code



sumitks
2016-10-26 05:53
@ahmedelhajji or you can search for my conversation with @garisingh i think that will give you a better idea

luca3104
2016-10-26 05:54
has joined #general

bain
2016-10-26 06:51
has joined #general

bain
2016-10-26 07:09
I tried to use docker to run fabric in production mode. But when I deploy my chaincode, I encountered the error of "/var/run/docker.sock not found”. Help!!!

tom.appleyard
2016-10-26 07:18
Hey All, has anyone ever seen this message and if so do you know how to fix it: ```07:07:25.908 [dockercontroller] Start -> ERRO 01c start-could not start container API error (500): {"message":"oci runtime error: process_linux.go:245: running exec setns process for init caused \"exit status 1\""} 07:07:25.908 [chaincode] Launch -> ERRO 01d launchAndWaitForRegister failed Error starting container: API error (500): {"message":"oci runtime error: process_linux.go:245: running exec setns process for init caused \"exit status 1\""}```

yacovm
2016-10-26 07:27
let me guess

yacovm
2016-10-26 07:27
you have an anti-virus

yaoguo
2016-10-26 07:58
@bain: do you set docker working at /var/run/docker.sock?

bain
2016-10-26 07:59
@yaoguo Oh, sorry. I missed volumes setting in compose file.

ahmedelhajji
2016-10-26 08:05
thank you @sumitks i solved the problem

ahmedelhajji
2016-10-26 08:06
the problem i have chosen starter kit

ahmedelhajji
2016-10-26 08:07
this is why in my docker-compose.yml there is no ports

dporowski
2016-10-26 08:57
has joined #general

ahmedelhajji
2016-10-26 10:52
Hy just question i have to install java to execute examples ??

ahmedelhajji
2016-10-26 10:53
and which version i have to use

garisingh
2016-10-26 11:01
Java is only needed if using Java chaincode. Java8 is what we use (openjdk 8 but oracle or ibm java 8 should both work as well)

sumitks
2016-10-26 11:04
can we use CLI to deploy chain code with docker images instead of vagrant (windows 7)??

sumitks
2016-10-26 11:05
or is vagrant environment necessary to do so

garisingh
2016-10-26 11:20
I don't see why not. I typically use either hfc or REST, but the CLI should work as well as long as you configure the target endpoint correctly

sumitks
2016-10-26 11:22
actually i am getting an error:

sumitks
2016-10-26 11:23

sumitks
2016-10-26 11:23
i have run the command: docker ps and it shows running peers

sumitks
2016-10-26 11:24
in the documentation it is written that you need to run vagrant ssh before running the command as in the snippet

sumitks
2016-10-26 11:25
or are the commands for docker different than vagrant

sumitks
2016-10-26 11:25
@garisingh

damiang
2016-10-26 11:28
has joined #general

garisingh
2016-10-26 11:28
so if you run Docker only, you won't have the peer binary installed locally. So you'll need to `exec` into your peer container: `docker exec -it [CONTAINER NAME OR ID] /bin/bash`

garisingh
2016-10-26 11:29
then you should be able to run the peer command from within there

sumitks
2016-10-26 11:30
ok thanks will try it out

damiang
2016-10-26 11:37
Hi all, I have a question regarding deploying chaincode. When I run this: $ peer chaincode deploy -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}' I get the following error: Error: Error endorsing chaincode: rpc error: code = 2 desc = Failed to init chaincode(handler not found for chaincode 1f5168d3a4a42b50fc25af0743bb9924bc49332cfe295384b211214b4d32cedbb488bf8da775fcd84db2b5a77d3ad91bd134f9ee2dc22f1d0e9d4515110df21f) Does anybody have an idea of what might go wrong?

garisingh
2016-10-26 11:47
@damiang - are you running in chaincode dev mode?

damiang
2016-10-26 11:47
yes

garisingh
2016-10-26 11:51
so you'll need to compile and run the chaincode as an executable: https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#not-vagrant

damiang
2016-10-26 11:51
ok thx, I'll try to do this

garisingh
2016-10-26 11:52
and then you'll want to do something like: `peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}'`

garisingh
2016-10-26 11:53
notice that the `-n` here needs to match the value you use for `CORE_CHAINCODE_ID_NAME` like here https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#starting-and-registering-the-chaincode

damiang
2016-10-26 11:59
I still get an error: $ peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}' 11:57:30.859 [devops] GetChaincodeBytes -> ERRO 001 Error getting chaincode package bytes: Cannot generate hashcode from empty chaincode path Error: Error getting chaincode code chaincode: Error getting chaincode package bytes: Cannot generate hashcode from empty chaincode path Actually I had this before, this is why I used -p ...

muralisr
2016-10-26 12:07
@damiang if you are using the “-n” param with deploy, you need start peer in `—peer-chaincodedev` mode AND `go build` and start the chaincode yourself to have it registered with the peer before issuing the deploy command

muralisr
2016-10-26 12:07
in other words, “-n” with deploy is meant only for —peer-chaincodedev mode

damiang
2016-10-26 12:09
I started the peer in `--peer-chaincodedev` mode, but it still doesn't work..

muralisr
2016-10-26 12:10
did you start the chaincode … something like this `CORE_PEER_ADDRESS=127.0.0.1:7051 CORE_CHAINCODE_ID_NAME=mycc ./chaincode_example02`

muralisr
2016-10-26 12:11
the above assumes you are using vagrant but the point is that chaincode has to be started and registered with the peer in dev mode

damiang
2016-10-26 12:15
I have three terminals. In the first, I run a peer with `peer node start --peer-chaincodedev` In a second, I run `CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02`. This shows "Received REGISTERED, ready for invocations" In the third, I run `$ peer chaincode deploy -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Args": ["init", "a","100", "b", "200"]}'`, and this yields "Error: Error endorsing chaincode: rpc error: code = 2 desc = Failed to init chaincode(handler not found for chaincode 1f5168d3a4a42b50fc25af0743bb9924bc49332cfe295384b211214b4d32cedbb488bf8da775fcd84db2b5a77d3ad91bd134f9ee2dc22f1d0e9d4515110df21f)"

muralisr
2016-10-26 12:25
so you are using the latest master.

muralisr
2016-10-26 12:26
it was tested for —peer-chaincodedev mode but did not try it recently

muralisr
2016-10-26 12:26
let me check it and get back to you soon @damiang

damiang
2016-10-26 12:26
so you think I should try another version?

damiang
2016-10-26 12:26
Ok thank you, very much appreciated!

muralisr
2016-10-26 12:26
master is WIP for v1.0 … to get the full feature I’d try the 0.6

muralisr
2016-10-26 12:27
one thing

muralisr
2016-10-26 12:27
to make the above work in master you’d also have to start the orderer

damiang
2016-10-26 12:28
I don't necessarily need to have it work in master.. What do you mean by orderer?

muralisr
2016-10-26 12:30
just noticed we are on the general channel… lets get to fabric channel to reduce noise here ?

gauthampamu
2016-10-26 12:52
Hello, I have a question on adding new peers. Right you have to bounce all peers when adding a new one, is it going to possible to add new peers in V1.0 without restarting all peers (endorsers/commiter/Consenter). Can you tell which features sets in JIRA address it. Found this in JIRA site but want to check what other specific JIRA FABs address this requirement. https://jira.hyperledger.org/browse/FAB-37

tuand
2016-10-26 13:02
@gauthampamu , have you had a chance to check https://wiki.hyperledger.org/community/fabric-design-docs ? I would start there then look at the JIRA epics

gauthampamu
2016-10-26 13:23
Thanks @tuand

salingers
2016-10-26 13:35
has joined #general

jason_wang
2016-10-26 13:53
has joined #general

kent_landholm
2016-10-26 14:24
Where does bluemix intersect with hyperledger ? Or, maybe it collides ?

lanzen
2016-10-26 14:32
@kent_landholm I’m early in the learning process, but here’s my take. Hyperledger is the open source project that IBM is participating in. It is the foundation of the IBM Blockchain service. So if you go to Bluemix and provision the IBM Blockchain, you’re running on top of Hyperledger.

jasondotstar
2016-10-26 14:34
Can you suggest a development workflow for contributing to Hyperledger?

lanzen
2016-10-26 14:53
IBM is managing a fork of Hyperledger from which I assume it feeds changes, as PRs, into the public Hyperledger. They are managing work items and the like for upcoming changes, so they could be building what you’re thinking of already. Alternatively, you could fork the project, build your changes and then submit them to the public Hyperledger as a PR.

nav
2016-10-26 14:59
has joined #general

ahmedelhajji
2016-10-26 15:09
Hello i want to install peer but when i execute this cmd

ahmedelhajji
2016-10-26 15:09
# make peer Building docker javaenv-image # Following items are packed and sent to docker context while building image # 1. Java shim layer source code # 2. Proto files used to generate java classes # 3. Gradle settings file tar (child): bzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now make: *** [build/image/javaenv/.dummy] Error 141

ahmedelhajji
2016-10-26 15:09
i have this error

ahmedelhajji
2016-10-26 15:09
i execute this cmd in fabric folder

cburniske
2016-10-26 15:17
has joined #general

ds
2016-10-26 15:21
Hello all, sorry, as I just managed to rejoin (and probably a topic that has already been widely discussed). Can I just confirm that REST will be completely removed from the next build?

bfuentes
2016-10-26 15:29
I heard gRPC will replace it, yeap

ds
2016-10-26 15:30
Ah okay, thanks @bfuentes do you know if that has been confirmed yet?

bfuentes
2016-10-26 15:31
almost...

thiru
2016-10-26 15:31
has joined #general

bfuentes
2016-10-26 15:31
i guess V1 will be only gRPC

ds
2016-10-26 15:31
okay, thanks for the heads-up.

ds
2016-10-26 15:31
Appreciate it :slightly_smiling_face:

bfuentes
2016-10-26 15:32
"The plan going forward is to remove the REST API from the peer entirely and instead, to transition all of the functionality provided by the REST API into the SDK packages. At this point, the REST API is still in the code base, but not under active development. If there are any critical bugs, we address those. But that is it. So if you are just now getting started with the fabric project, I would only recommend using the REST API in order to get familiarized with the different features and some quick testing. For any application code, please use the Node.js SDK. I honestly do not know anything regarding the Java SDK or the Python SDK, but I do not believe they are ready for consumption at this point. " Anna Derbakova

ds
2016-10-26 15:34
Okay, great feedback :slightly_smiling_face:

jvescio
2016-10-26 15:45
Can someone help me on IBM Bluemix question.. There is BlockChain services on their Public Bluemix .. We are internal and have a Dedicated IBM Bluemix that does not have Blockchain services. Anyone know if there are plans to have this service internal .. or how can we install the fabric ourselves

bfuentes
2016-10-26 16:10
@jvescio I think all services on dedicated should be able to access to all public services. As this services are hosted outside somewhere, something have to be configured I guess. I never had a look on it. For self installation, please foolow official Hyperledge Fabric docs here : http://hyperledger-fabric.readthedocs.io/

p.fleischmann
2016-10-26 17:02
has joined #general

petermt
2016-10-26 17:21
has joined #general

jevit
2016-10-26 17:33
has joined #general

oiakovlev
2016-10-26 18:46

jjmiranda
2016-10-26 19:00
has joined #general

simi
2016-10-26 20:01
has joined #general

bsm117532
2016-10-26 20:08
has joined #general

dean
2016-10-26 20:11
has joined #general

shaileshrl
2016-10-26 20:25
has joined #general

cmanghini
2016-10-26 20:31
@jvescio Bluemix services on Public are not available for all of them on Dedicated or Local. You can ask your sale rep to know when this service can be available for Dedicated flavor

meredithsolberg
2016-10-26 21:24
has joined #general

vilhelmfl
2016-10-26 22:11
has joined #general

bain
2016-10-26 22:18
I tried to run fabric in production mode via docker native, but when I deploy chaincode, I encountered the error of "vp0_1 | 22:15:47.644 [dockercontroller] deployImage -> ERRO 081 Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage". I had checked the repository, it's true that no latest tag for this image. How can I do?

antonyb
2016-10-26 22:20
has joined #general

bmatsuo
2016-10-26 22:31
has joined #general

kansubbi
2016-10-26 22:58
has joined #general

rby293
2016-10-26 22:59
has joined #general

munisp
2016-10-27 00:26
has joined #general

kazumi-yoshida
2016-10-27 02:04
has joined #general

bain
2016-10-27 02:34
Anyone has run fabric in production mode via docker successfully? Help!!!

waylon
2016-10-27 02:44
has joined #general

satyam_agl
2016-10-27 05:10
has joined #general

satyam_agl
2016-10-27 05:13
hey i am new to hyperledger-fabric i am setuping the environment as given steps from the docs but when i execute the command -- CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02 then i am facing the error looks like -------

satyam_agl
2016-10-27 05:14
$ CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_exampl e02 10:24:36.925 [shim] INFO : error with chaincode log level: logger: invalid log l evel level= 10:24:36.926 [shim] DEBU : Peer address: 0.0.0.0:7051 2016/10/27 10:24:37 grpc: addrConn.resetTransport failed to create client transp ort: connection error: desc = "transport: dial tcp 0.0.0.0:7051: connectex: The requested address is not valid in its context."; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/10/27 10:24:39 grpc: addrConn.resetTransport failed to create client transp ort: connection error: desc = "transport: dial tcp 0.0.0.0:7051: connectex: The requested address is not valid in its context."; Reconnecting to {"0.0.0.0:7051" <nil>} 10:24:39.927 [shim] ERRO : Error trying to connect to local peer: grpc: timed ou t when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: ti med out when dialing2016/10/27 10:24:39 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7 051: connectex: The requested address is not valid in its context."; Reconnectin g to {"0.0.0.0:7051" <nil>}

satyam_agl
2016-10-27 05:14
please help me out in this

angellopozo
2016-10-27 05:56
has joined #general

sumitks
2016-10-27 06:06
@satyam_agl I have uploaded 2 files yesterday you can search them if you are using windows 7 and docker environment. i think it will help you out.

warm3snow
2016-10-27 06:07
@satyam_agl The log shows you gave an invalid address. Find out the correct IP of your docker container. Try the following command: ``` docker inspect --format='{{.NetworkSettings.IPAddress}}' `docker ps -aq` ```

vsbhogle
2016-10-27 06:16
has joined #general

satyam_agl
2016-10-27 07:12
@warm3snow i execute the given comd by you and i got the ip as - 172.17.0.3, 172.17.0.2

satyam_agl
2016-10-27 07:12
@warm3snow then how do i proceed further with this lead

warm3snow
2016-10-27 07:14
@satyam_agl Just modify the address in you CLI command 0.0.0.0 --> 172.17.0.3

warm3snow
2016-10-27 07:15
Good luck :slightly_smiling_face:

satyam_agl
2016-10-27 07:19
@warm3snow it gives me further error looks like --$ CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=172.17.0.2:7051 ./chaincode_exa mple02 12:47:28.591 [shim] INFO : error with chaincode log level: logger: invalid log l evel level= 12:47:28.592 [shim] DEBU : Peer address: 172.17.0.2:7051 12:47:31.593 [shim] ERRO : Error trying to connect to local peer: grpc: timed ou t when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: ti med out when dialing

aditi
2016-10-27 07:22
has joined #general

warm3snow
2016-10-27 07:25
you setup two VP, right? @satyam_agl

warm3snow
2016-10-27 07:30
or you setup membersrvc and one VP. If it's the later one, try another IP. Maybe you use the membersrvc address.

ptrinchini
2016-10-27 07:35
has joined #general

satyam_agl
2016-10-27 07:40
@warm3snow i tried both the ip but somehow it not working

warm3snow
2016-10-27 07:48
@satyam_agl Check your peer's logs, I don't think you setup your peers normally. Or i have no idea what's going on.

tom.appleyard
2016-10-27 08:17
dumb question but the mockstub, does this work for fabric 0.5

satyam_agl
2016-10-27 08:32
@warm3snow thanks for your help . i appreciate for your efort an time

prodia
2016-10-27 08:48
has joined #general

nitin
2016-10-27 09:26
has joined #general

zxc
2016-10-27 09:47
has joined #general

ruquan.chen
2016-10-27 09:58
has joined #general

ratankr
2016-10-27 10:11
has joined #general

jonathan.tan
2016-10-27 10:11
has joined #general

clauson
2016-10-27 10:17
has joined #general

bbllc
2016-10-27 10:22
has joined #general

michaelwang
2016-10-27 10:55
has joined #general

garisingh
2016-10-27 11:05
@tom.appleyard - I believe the mockstub was only added in v0.6. One change between 0.6 and 0.5 is that in 0.5 a pointer to the stub was passed in whereas in 0.6 we pass the actual value in which allows us to do mock testing

garisingh
2016-10-27 11:05
any reason to stick with v0.5?

matt.walker
2016-10-27 11:32
has joined #general

tom.appleyard
2016-10-27 11:41
@garisingh working on a project based on this boilerplate: https://github.com/IBM-Blockchain/fabric-boilerplate which uses 0.5 and we need a way of doing unit testing. So far we've found this as a possible basis for how to do it, other than that we could also just stand up a peer and target the chaincode at it https://github.ibm.com/IBM-Blockchain/trade-finance/tree/master/code/chaincode Any suggestions if there's a better approach?


eduardolemasson
2016-10-27 12:16
has joined #general

jauland0
2016-10-27 12:35
has joined #general

shuowangthu
2016-10-27 12:52
has joined #general

giusepperizzo
2016-10-27 13:21
has joined #general

amos.gutman
2016-10-27 13:33
has joined #general

johannes
2016-10-27 13:46
has joined #general

preetha_natesan
2016-10-27 14:22
has joined #general

lbneves
2016-10-27 15:10
has joined #general

abhisingh
2016-10-27 15:34
Hi, I am not able to start docker services. Please help

abhisingh
2016-10-27 15:35
docker ps returns "Cannot connect to the Docker daemon. Is the docker daemon running on this host?"

nagasurya
2016-10-27 15:53
@abhisingh Check if your user is added to docker group... if not, add the user to docker group and restart the docker service (if possible restart the system also)

weeds
2016-10-27 15:54
@jvescio the other option is you can use the latest published docker images

abhisingh
2016-10-27 15:59
@nagasurya My user is there in docker group and after running command "service docker restart". It is not able to start docker service again

abhisingh
2016-10-27 16:00
Note: /etc/default/docker file is empty

weeds
2016-10-27 16:01
i thought I might add this link-- there are some pretty nice instructions and details for some of the docker images out there: https://hub.docker.com/u/ibmblockchain/

nagasurya
2016-10-27 16:01
@abhisingh run the command echo "DOCKER_OPTS=\"-s=aufs -r=true --api-cors-header='*' -H -H unix:///var/run/docker.sock \"" > /etc/default/docker and then restart the service

abhisingh
2016-10-27 16:03
Ok. Let me try this.

abhisingh
2016-10-27 16:19
@nagasurya Thanks. Its running fine now :slightly_smiling_face:

abhisingh
2016-10-27 16:20
I have one more doubt. While deploying chaincode I am getting this error "Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage"

nasser
2016-10-27 16:43
has joined #general

bmos299
2016-10-27 16:54
@abhisingh has this every worked? The daemon has to be started as root. What distro are you on? You can type: ps -ef | grep docker ..if you see nothing than the daemon is not started. If you see something it will show what user it is running as. Here is a good link: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-getting-started

abhisingh
2016-10-27 17:04
Command given by @nagasurya solves the problem.

bmos299
2016-10-27 17:06
@abhisingh great. did you get this issue addressed, ""Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage"

bmos299
2016-10-27 17:09
you can actually use the peer and tag it as the baseimage. i can give you an example.

abhisingh
2016-10-27 17:09
I pulled x86 tag hyperledger/fabric-baseimage and then tag it as latest

bmos299
2016-10-27 17:10
ok

bmos299
2016-10-27 17:10
great

bmos299
2016-10-27 17:10
so you are all set?

abhisingh
2016-10-27 17:10
This is same right?

bmos299
2016-10-27 17:10
yes. the deploy should work.

abhisingh
2016-10-27 17:10
Yes. Thanks alot :slightly_smiling_face:

bmos299
2016-10-27 17:10
sure.

bmos299
2016-10-27 17:10
are you using docker-compose or starting a single peer?

abhisingh
2016-10-27 17:10
Yes. It is working but I am getting some error while registering some user.

abhisingh
2016-10-27 17:11
Starting a single peer using docker-compose with membersrvc

bmos299
2016-10-27 17:23
Sounds good. Here is a nice get starter program that should help with the member services issues.

vineetbanga
2016-10-27 17:23
has joined #general


abhisingh
2016-10-27 17:28
@bmos299 Nice. I will try this also :slightly_smiling_face:

bmos299
2016-10-27 17:29
@abhisingh Please let us know if you need help.

bmos299
2016-10-27 17:29
the program is very flexible in that it can also connect to remote fabrics by simple modifying the config.json file.

abhisingh
2016-10-27 17:30
@bmos299 Yes, Sure. Thanks :slightly_smiling_face:

savagecat
2016-10-27 18:16
has joined #general

ronburkert
2016-10-27 19:23
has joined #general

parthd
2016-10-27 19:26
has joined #general

skandikonda
2016-10-27 22:15
has joined #general

eriktolido
2016-10-27 22:19
has joined #general

jdavid
2016-10-27 23:35
has joined #general

jdavid
2016-10-27 23:38
does anyone know of a good "demo" app that i can study that uses the membership service to test partial states ?

coininterview
2016-10-27 23:51
has joined #general

coininterview
2016-10-27 23:52
sent a email to the hyperledger team to schedule a interview :slightly_smiling_face:

jz
2016-10-28 00:28
has joined #general

jz
2016-10-28 00:29
Hi all. good to be here

jz
2016-10-28 00:30
I tried to follow the devnet-setup.md to deploy chaincode_example02, but failed with the following: Failed to init chaincode(handler not found for chaincode

jz
2016-10-28 00:30
anyone can help on this?

jz
2016-10-28 00:30
thanks

muralisr
2016-10-28 02:20
@jz what branch are you using ?

muralisr
2016-10-28 02:20
master or 0.6 ?

jz
2016-10-28 03:06
@muralisr the one on git hub

jz
2016-10-28 03:13
same problem with or without security

jz
2016-10-28 03:14
user runs chaincode, not deploying chaincode 03:13:31.956 [chaincode] sendInitOrReady -> DEBU 0eb handler not found for chaincode 2a4fee4715c8e33de3d66487ebab7cd2e5793a6d661cfe1e43ce2faf1d16cfa5fe3db9721857fcfe0904a85fe07a6424d34f96a26bb4edf3b1507dac855898ef 03:13:31.956 [chaincode] Launch -> ERRO 0ec sending init failed(handler not found for chaincode

toddjalexander
2016-10-28 03:37
has joined #general

bain
2016-10-28 04:15
Can I use HFC with security disabled?

getready
2016-10-28 04:54
has joined #general

sach
2016-10-28 05:16
has joined #general

adamscreative
2016-10-28 05:32
has joined #general

vsbhogle
2016-10-28 05:33
What are the size metrics of hyperledger db and how do I handle a scenario where I run out of space?

saeimson
2016-10-28 05:55
I am running peer locally using peer node start, without vagrant. Now, I am trying to connect two peers. How can I do that?

marvin
2016-10-28 08:17
has joined #general

nickchou1004
2016-10-28 08:54
has joined #general

abhisingh
2016-10-28 09:58
Hi

abhisingh
2016-10-28 09:58
root@localhost:~/Chaincode# curl -X POST -d @deploy.json http://172.17.0.3:7050/chaincode {"jsonrpc":"2.0","error":{"code":-32001,"message":"Deployment failure","data":"Error when deploying chaincode: open /var/hyperledger/production/crypto/client/vp/ks/raw/chain.key: no such file or directory"},"id":1}

abhisingh
2016-10-28 09:58
I am getting this error

vsbhogle
2016-10-28 10:08
this channel seems to be inactive

yaoguo
2016-10-28 10:57
@saeimson you can connect to peer with `CORE_PEER_ADDRESS=x.x.x.x peer chaincode invoke.....`

abhisingh
2016-10-28 11:01
I need to run validation peer. How can I do this?

abhisingh
2016-10-28 11:01

abhisingh
2016-10-28 11:01
This is my docker-compose.yml file

abhisingh
2016-10-28 11:01
Where I need to change?

zemtsov
2016-10-28 11:36
vp0 is a validating peer in the file

zemtsov
2016-10-28 11:36
CORE_PRIVACY_ENABLED should be CORE_SECURITY_PRIVACY btw

mmayorivera
2016-10-28 15:10
has joined #general

j9gerber
2016-10-28 15:24
has joined #general

chasetfreeman
2016-10-28 16:10
has joined #general

wale
2016-10-28 16:46
got a basic question here

wale
2016-10-28 16:47
installing docker for the hyberledger fabric on a mac . Installation is still going, 2 hours in. Is that normal?

lanzen
2016-10-28 17:34
When using HFC to build a solution with Node, is the expected development environment to have the chaincode be included in the overall Node project? Think of it from the perspective of managing the project in GitHub. Or, is the expected environment to have 2 separate GitHub projects: one for the Node code and a second for the chaincode?

lanzen
2016-10-28 17:35
I ask because it looks tricky how HFC exposes a deploy() interface that takes a chaincodePath which gets (hardcoded) appended to the end of $GOPATH/src/.

tuand
2016-10-28 17:38
@lanzen, i don't have the answer to your question but the sdk developers use #fabric-sdk-node and #fabric-sdk-node-dev .

lanzen
2016-10-28 17:38
Thanks!

alan.lisboa
2016-10-28 18:26
has joined #general

kent_landholm
2016-10-28 19:28
@wale not normal. I did the complete docker and fabric install in less than 20 minutes on a mac mini

thborges
2016-10-28 19:33
has joined #general

wale
2016-10-28 19:39
ahhh .. thanks @kent_landholm. it's been several hours. I just let it run. Assuming I was running low on memory on something

walkx5m
2016-10-28 20:41
has joined #general

rick.behl
2016-10-29 05:55
has joined #general

rick.behl
2016-10-29 06:00
Hi, quick question… I am just getting started with the docker images provided here (https://github.com/yeasy/docker-compose-files/tree/master/hyperledger) to start up a 4 node cluster… I do see the following error messages at the last step: vp0_1 | 05:48:30.688 [rest] StartOpenchainRESTServer -> INFO 026 Initializing the REST service on 0.0.0.0:7050, TLS is disabled. vp1_1 | 05:48:35.724 [peer] handleChat -> ERRO 027 Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Error registering Handler: Duplicate Handler error: {name:"vp2" 172.17.0.3:7051 VALIDATOR } vp2_1 | 05:48:35.725 [peer] handleChat -> ERRO 027 Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Error registering Handler: Duplicate Handler error: {name:"vp3" 172.17.0.4:7051 VALIDATOR } vp2_1 | 05:48:35.725 [peer] handleChat -> ERRO 028 Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Error registering Handler: Duplicate Handler error: {name:"vp1" 172.17.0.5:7051 VALIDATOR } vp3_1 | 05:48:35.726 [peer] handleChat -> ERRO 027 Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Error registering Handler: Duplicate Handler error: {name:"vp2" 172.17.0.3:7051 VALIDATOR } Is there an issue there?

yacovm
2016-10-29 06:21
Which docker-compose file did you use, @rick.behl ?

rick.behl
2016-10-29 06:42
Hi @yacovm


rick.behl
2016-10-29 06:44
actually I restarted docker and I don’t get that error any longer

rick.behl
2016-10-29 06:45
but when I try to do a ‘peer network login jim’ on one of the running docker containers (pbft_vp0_1) I get the following error now: 06:41:22.114 [networkCmd] networkLogin -> INFO 003 Logging in user 'jim' on CLI interface... Error: Error on client login: rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure Usage:

rick.behl
2016-10-29 06:45
all running on my macbook if that has any relevance

yacovm
2016-10-29 06:46
can you try to run the example with the membership service and try again?


rick.behl
2016-10-29 06:47
so I should start 4 noops first and then 4 PBFT with member services?

yacovm
2016-10-29 06:47
no no

rick.behl
2016-10-29 06:48
or just the docker-compose -f docker-compose-with-membersrvc.yml up

yacovm
2016-10-29 06:48
just use the docker-compose file

rick.behl
2016-10-29 06:48
let me try

rick.behl
2016-10-29 06:48
thx

yacovm
2016-10-29 06:48
of course, do `docker-compose kill` and `docker-compose rm` beforehand

yacovm
2016-10-29 06:48
to get rid of what you just ran

rick.behl
2016-10-29 06:49
cool

rick.behl
2016-10-29 06:54
ok, just tried that… but no dice :disappointed:


yacovm
2016-10-29 06:56
hmm weird, don't know :confused:

yacovm
2016-10-29 06:57
try to ask in #fabric

rick.behl
2016-10-29 06:58
cool, thx anyway

rick.behl
2016-10-29 06:58
will ask there

yacovm
2016-10-29 06:58
np

yacovm
2016-10-29 07:05

yacovm
2016-10-29 07:05
Maybe try this one?

yacovm
2016-10-29 07:06
@rick.behl

rick.behl
2016-10-29 07:06
thx, let me try that

rick.behl
2016-10-29 07:20
good news @yavcom!

rick.behl
2016-10-29 07:20
sorry @yacovm

yacovm
2016-10-29 07:20
?

rick.behl
2016-10-29 07:20
seems to work with your docker-compose

rick.behl
2016-10-29 07:21
file

yacovm
2016-10-29 07:21
I thought it would, I made it

rick.behl
2016-10-29 07:21
:slightly_smiling_face:

rick.behl
2016-10-29 07:21
looks like security is disabled with that setup?

yacovm
2016-10-29 07:21
yes. you want one with security enabled?

rick.behl
2016-10-29 07:21
no need to pass the -u parameters on any peer commands

rick.behl
2016-10-29 07:22
is it a simple change to the yaml?

yacovm
2016-10-29 07:22
depends. you want SSL between the peers?

rick.behl
2016-10-29 07:24
if possible

yacovm
2016-10-29 07:27
I can give you a docker-compose file with SSL enabled and security enabled that I made but you'll have to make a self-signed certificate for that to work. I'm not sure how to make one that satisfies the peers though. What I do for testing is take the files from the chaincode certificates and plant them in the right place and then it works. Even then, I can't assure you that'll work 100% with what you need, because I have no clue in the fabric flow of the whole user registration thing, as stupid as it sounds, I never tried doing that (I'm not a user, I'm a developer and I focus in the peer communication layer and a specific component in the next architecture)


rick.behl
2016-10-29 07:28
ok, let’s put the SSL on hold for now

yacovm
2016-10-29 07:28
wait, how do you know the index of the command? you did `!16` etc.

rick.behl
2016-10-29 07:28
oh, I did history

yacovm
2016-10-29 07:29
I didn't see that in the snippet

rick.behl
2016-10-29 07:29
ahhh

yacovm
2016-10-29 07:31
I don't know why the `ledger not found` thing is logged :confused:

yacovm
2016-10-29 07:31
did you do a docker-compose kill and rm before?

rick.behl
2016-10-29 07:31
ahhh… yes, it is strange

rick.behl
2016-10-29 07:32
let me try and restart the cluster

rick.behl
2016-10-29 07:32
with a kill and rm


jmahhh
2016-10-29 10:01
however when I want to deploy my chaincode I get: ``` { "jsonrpc": "2.0", "error": { "code": -32001, "message": "Deployment failure", "data": "Error when deploying chaincode: Error getting chaincode package bytes: Error getting code 'go get' failed with error: 'exit status 1'\npackage http://github.com/jmahhh/learn-chaincode/tree/master/finished: cannot find package 'http://github.com/jmahhh/learn-chaincode/tree/master/finished' in any of:\n\t/usr/local/go/src/github.com/jmahhh/learn-chaincode/tree/master/finished (from $GOROOT)\n\t/go/_usercode_/429099618/src/github.com/jmahhh/learn-chaincode/tree/master/finished (from $GOPATH)\n\t/go/src/github.com/jmahhh/learn-chaincode/tree/master/finished\n" }, "id": 1 } ```

jmahhh
2016-10-29 10:02
I checked the repo url, it's fine - a tad confused that it's complaining about the path as I have no control over that in bluemix

jmahhh
2016-10-29 10:02
:thinking_face:

garisingh
2016-10-29 10:40
hi @jmahhh - I see the problem(s)

garisingh
2016-10-29 10:41
1) you actually have the wrong path - your path should be `https://github.com/jmahhh/learn-chaincode/finished` BUT

garisingh
2016-10-29 10:42
then you will run into a second issue which is that the tutorial in the BMX docs has not been updated to reflect the changes in the learn-chaincode repository either

garisingh
2016-10-29 10:43
there are currently 2 versions of the fabric which people are using: v0.6 (the latest and available via Docker image from Docker hub) v0.5 - previous version which is actually what is running in BMX (we'll be updating BMX in the next 2 weeks)

garisingh
2016-10-29 10:44
unfortunately the chaincode interface changed between v0.5 and v0.6 so we had to update learn-chaincode to support both

garisingh
2016-10-29 10:45
the end result is that the URL you'll want to use for your path is actually `http://gopkg.in/jmahhh/learn-chaincode.v1/finished`

garisingh
2016-10-29 10:46
if you check out https://github.com/jmahhh/learn-chaincode#deployment you'll see the explanation of why we are using `http://gopkg.in` here is the path

garisingh
2016-10-29 10:46
FYI - I was able to deploy the chaincode to my network using `http://gopkg.in/jmahhh/learn-chaincode.v1/finished`

garisingh
2016-10-29 10:47
this also means that if you want to make any changes, you should do it on the `v1.0` branch of your fork

garisingh
2016-10-29 10:47
hope this helps

abhisingh
2016-10-29 12:56
Hi! Please guide me how to test asset_management02 example

nassero
2016-10-29 19:36
has joined #general

rbright
2016-10-30 03:43
has joined #general

jmc100
2016-10-30 10:09
has joined #general

jmahhh
2016-10-30 10:16
thanks @garisingh

ozdigennaro
2016-10-30 14:00
has joined #general

sriharin
2016-10-30 23:59
has joined #general

mano
2016-10-31 00:51
Good Morning all, so anyone knows if the fabric protocol has a websocket protocol that the client can subscribe to and only get blocks pushed when they are created?

tuand
2016-10-31 01:11
@mano, no websocket per se but take a look at the eventing example at hyperledger/fabric/examples/events/block-listener https://gerrit.hyperledger.org/r/gitweb?p=fabric.git;a=tree;f=examples/events/block-listener;h=9b3043d625e07ec4935a212b3acf24df4f5d66fe;hb=HEAD

modernity
2016-10-31 01:13
has joined #general

rogerhui
2016-10-31 01:56
has joined #general

stylix
2016-10-31 02:48
Hi, I try to follow the changes on fabric from my old days. I found the configuration of pbft and noops probably now merged to kind of orderer. I have 2 questions 1. Can anyone confirm if my guesses are right? Noops Block Size --> Batchsize Noops Block Timeout --> BatchTimeout PBFT general mode --> ? (cannot find where it is in this current version, probably all become batch mode) 2. Any reason to move to orderer? And what's differences btw solo and kafka mode for orderer?

stylix
2016-10-31 02:56
Extra question 3. How to config orderer.yaml correctly using environment variable? Are the following ENVs are correct? e.g. CORE_COMMITTER_BATCHTIMEOUT CORE_COMMITTER_BATCHSIZE CORE_COMMITTER_XXX

mint
2016-10-31 07:28
@cbf @baohua Here is a tough situation, at the beginning, I seted up 4 peers with pbft, then I deployed a chaincode on one of the peers, all the other 3 peers can deploy the chaincode automatically of course. But now, I set up a new peer which the core.yaml config set rootnode with one of the 4 peers addr, I think the chaincode can also be deployed on this peer automatically, but unfortunately not. Does HF can do that at version 0.6? Thank you!

baohua
2016-10-31 07:29
No, the pbft mode does not support this dynamic node adding situation.

mint
2016-10-31 07:30
How about noops instead of pbft?

stylix
2016-10-31 10:47
Somehow, I found myself about this env params. Just place it here as references. CORE_PEER_COMMITTER_XXX ORDERER_GENERAL_XXX

micheline
2016-10-31 10:52
has joined #general

simon
2016-10-31 10:53
mint: noops is not a working consensus

pd93
2016-10-31 10:54
has joined #general

manuelbiermann
2016-10-31 12:27
has joined #general

ski
2016-10-31 12:30
has joined #general

dsellin
2016-10-31 13:29
has joined #general

dingsor
2016-10-31 13:56
has joined #general

cbf
2016-10-31 14:25
@mint we expect to have the ability to dynamically add endorser nodes by v1.0. The set of orderer nodes will be fixed initially, but we hope to get to dynamic addition once we have introduced checkpointing (post 1.0 IIRC).

cbf
2016-10-31 14:26
may I ask what your use case is?

azaleta
2016-10-31 14:34
has joined #general

tom.appleyard
2016-10-31 14:44
Hey All, the `tx.on('complete', function(results){ ... })` that we have in HFC, currently mine keeps coming up with `{"result": "waited 5 seconds and assumed invoke was successful"}` is there any way to turn this off and make it return upon the invocation actually completing? Thanks!

tom.appleyard
2016-10-31 15:05
Re: the above So from asking around this is something you can only change with 0.6 where you can use the `chain.eventHubConnect()` function to make the callbacks actually happen with their namesakes. If you want this functionality in 0.5 it looks like polling is the only option :confused:

scoin
2016-10-31 15:08
has joined #general

mint
2016-10-31 16:21
@cbf: Looking forwards v1. And I am a developer who is learning blockchain technology by hyper fabric.

cbf
2016-10-31 17:22
the #fabric channel is best for any questions on using Fabric

cbf
2016-10-31 17:22
LMK if we can be of any help

weeds
2016-10-31 17:39
here is a pointer for the design documents for Version 1.0: https://wiki.hyperledger.org/community/fabric-design-docs

pfuntner
2016-10-31 18:28
has joined #general

cesarlb
2016-10-31 18:29
has joined #general

wale
2016-10-31 20:34
any experience with installing and getting up and running with docker compose?

mark.jumaga
2016-10-31 22:20
has joined #general

borey
2016-10-31 23:09
has joined #general

henryngo
2016-11-01 04:07
has joined #general

yls
2016-11-01 04:17
// ProcessTransactionMsg processes a Message in context of a Transaction func (eng *EngineImpl) ProcessTransactionMsg(msg *pb.Message, tx *pb.Transaction) (response *pb.Response) { return nil }

henryngo
2016-11-01 04:19
@weeds when we can get source code of version 1.0. thanks.

jonathansilverman
2016-11-01 05:29
has joined #general

jetienne
2016-11-01 06:50
has joined #general

jonathan.tan
2016-11-01 07:57
has anyone experienced this error https://github.com/IBM-Blockchain/SDK-Demo/issues/3 ?

jonathan.tan
2016-11-01 07:57
trying to resolve it urgently

mano
2016-11-01 08:20
Was able to deploy chaincode on bluemix successfully but not local network created via docker compose. I tried it with both 0.5 and 0.6 images. I get the following error: ```"error":{"code":-32001,"message":"Deployment failure","data":"Error when deploying chaincode: Error getting chaincode package bytes: Error getting code \'go get\' failed with error: \\"exit status 2\\"\\n# http://github.com/Otonomos/otochaincode\\n/opt/gopath/_usercode_/179001878/src/github.com/Otonomos/otochaincode/vehicles.go:38: stub.GetFunctionAndParameters undefined (type shim.ChaincodeStubInterface has no field or method GetFunctionAndParameters)\\n/opt/gopath/_usercode_/179001878/src/github.com/Otonomos/otochaincode/vehicles.go:76: stub.GetFunctionAndParameters undefined (type shim.ChaincodeStubInterface has no field or method GetFunctionAndParameters)\\n/opt/gopath/_usercode_/179001878/src/github.com/Otonomos/otochaincode/vehicles.go:156: stub.GetFunctionAndParameters undefined (type shim.ChaincodeStubInterface has no field or method GetFunctionAndParameters)\\n/opt/gopath/_usercode_/179001878/src/github.com/Otonomos/otochaincode/vehicles.go:187: cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start:\\n\\t*SimpleChaincode does not implement shim.Chaincode (wrong type for Init method)\\n\\t\\thave Init(shim.ChaincodeStubInterface) ([]byte, error)\\n\\t\\twant Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error)\\n"},"id":12}'```

mano
2016-11-01 08:21
Something seems to be the issue with stub shim.ChaincodeStubInterface

zemtsov
2016-11-01 08:25
As far as I know `Init(shim.ChaincodeStubInterface)` is the new interface. 0.6 wants function and arguments passing as separate parameters to functions Init, Query and Invoke.

jmahhh
2016-11-01 08:27
so is `GetFunctionAndParameters` 0.5 then?

jmahhh
2016-11-01 08:28
I thought it was the other way around

zemtsov
2016-11-01 08:32

jmahhh
2016-11-01 08:33
hmmm ok

jmahhh
2016-11-01 08:33
thanks @zemtsov

jhamhader
2016-11-01 08:38
has joined #general

liouxiao
2016-11-01 08:40
has joined #general

z21921
2016-11-01 08:53
has joined #general

jamescarlyle
2016-11-01 09:32
@tbenzies any news on the HL Hackfest in December? Are you still looking for a location?

li
2016-11-01 09:45
has joined #general

jono
2016-11-01 09:53
has joined #general

david.lee
2016-11-01 11:11
has joined #general

scoin
2016-11-01 11:37
hey all, maybe one of you can help me deploying chaincode using the `hfc` node sdk? Getting this error which is crashing my peer node

scoin
2016-11-01 11:37

muralisr
2016-11-01 11:44
@scoin perhaps try the fabric-sdk-node-dev channel ?

muralisr
2016-11-01 11:44
let me post this there

philippt
2016-11-01 12:15
has joined #general


rishavkmr09
2016-11-01 12:28
can someone explain this?

rishavkmr09
2016-11-01 12:28
When running Docker natively on Mac and Windows, there is no IP forwarding support available. Hence, running more than one fabric-peer image is not advised because you do not want to have multiple processes binding to the same port. For most application and chaincode development/testing running with a single fabric peer should not be an issue unless you are interested in performance and resilience testing the fabric’s capabilities, such as consensus

zemtsov
2016-11-01 12:32
@rishavkmr09 you can make a correct port forwarding for every image and run several peers. I can show the example of docker-compose file if you want

rishavkmr09
2016-11-01 12:37
yes sure...

rishavkmr09
2016-11-01 12:38
@zemtsov

zemtsov
2016-11-01 12:38

zemtsov
2016-11-01 12:39
@rishavkmr09 this starts 4 peers and one membersrvc with `docker-compose up` command

zemtsov
2016-11-01 12:40
… and with PBFT

jensneuschulz
2016-11-01 13:19
has joined #general

pluradj
2016-11-01 13:32
has joined #general

srini
2016-11-01 13:49
has joined #general

whaley
2016-11-01 14:38
has joined #general

mihirkanta
2016-11-01 14:47
has joined #general

shawnho
2016-11-01 15:02
has joined #general

rangao
2016-11-01 16:17
has joined #general

pd93
2016-11-01 16:38
wrt to the above docker-compose file.. can I ask why links are only made to vp0? does vp0 have a special property that links all of them together? and would it be incorrect or unnecessary to also link to vp1 & vp2 from vp3

zemtsov
2016-11-01 17:07
@pd93 without `CORE_PEER_DISCOVERY_ROOTNODE` you’ll see only one peer from `http://<node_addr>:7050/network/peers`. So, my guess is the role of vp0 is to make all peers know about each other. I’m sure somebody here can give you deeper answer.

bayo
2016-11-01 18:13
has joined #general

jvah
2016-11-01 18:58
has joined #general

guang384
2016-11-01 19:10
has joined #general

vilhelmfl
2016-11-01 19:22
Hi, does anyone know if there are any hyperledger projects that could be relevant for insurance companies?

vijayr24
2016-11-01 19:36
Hi all, I am trying to make a rest call from the to the peer deployed using docker. My chaincode is compiling without errors and I trying to invoke the chain code using a REST client, I am getting the following error message, "code":-32602,"message":"Invalid params","data":"Payload must contain a CtorMsg with a Chaincode function name."

vijayr24
2016-11-01 19:37
This is the request body,

vijayr24
2016-11-01 19:37
{ "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID": { "path": "http://github.com/chaincode_example02", "name": "mycc" }, "CtorMsg": { "function": "init" } }, "id": 1 }

vijayr24
2016-11-01 19:37
response: { "jsonrpc": "2.0", "error": { "code": -32602, "message": "Invalid params", "data": "Payload must contain a CtorMsg with a Chaincode function name." }, "id": 1 }

tkuhrt
2016-11-01 19:38
Use : ctorMsg

tkuhrt
2016-11-01 19:38
Not CtorMsg


vijayr24
2016-11-01 20:28
@tkuhrt : i used ctorMsg initially but got the same response

christophera
2016-11-01 20:33
There will be a Hyperledger Identity WG meeting tomorrow, November 2nd, 9am PDT (12pm EDT). Note for non-US participants, our daylight time has not ended yet! Webex: https://meetings.webex.com/collabs/meetings/join?uuid=M13E85PQ13KWSMVJJLZ1FZ3XNX-9VIB Meeting number: 190 609 401 Join by phone Call-in toll number (US/Canada) Call-in toll-free number (US/Canada) Access code: 190 609 401 Topic is open. November/December meetings after 11/2 will be hosted by @vipinb as I will be out of the country.

neal.corbett
2016-11-01 20:38
has joined #general

mrbuggy
2016-11-01 21:21
Hello all, is still advised to use the REST APIs in fabric?

tkuhrt
2016-11-01 21:37
@vijayr24 : Is it because you don’t have an ```args: []``` in the ctorMsg?

jwjwj
2016-11-01 23:14
has joined #general

jrampen
2016-11-01 23:44
has joined #general

vdods
2016-11-02 00:06
has joined #general

hiepnm
2016-11-02 02:40
Hello everybody, I'm a newcomer in blockchain technology and hyperledger project. So, I want an example about it. Can you help me? Thank you!

throughnothing
2016-11-02 02:41
has joined #general

as93717913
2016-11-02 02:41
has joined #general

mano
2016-11-02 03:11
hi all, getting the following error when deploying a simple chain code: I20161102-11:09:58.968(8)? Failed to deploy chaincode: request={"fcn":"init","args":[],"chaincodePath":"http://github.com/Otonomos/otophoenix/chaincode/"}, error=%k EventTransactionError {error: { [Error: sql: no rows in result set] code: 2, metadata: Metadata { _internal_repr: {} } }

mano
2016-11-02 03:12
any ideas?

tom.appleyard
2016-11-02 03:36
delete your key/val store - usually this means it hasn't deployed properly

devchaud
2016-11-02 03:38
has joined #general

mano
2016-11-02 04:07
thanks @tom.appleyard: moving forward but got another err msg as follows: ``` error: { [Error: {"created":"@1478058481.913540954","description":"Failed parsing HTTP/2","file":"../src/core/ext/transport/chttp2/transport/chttp2_transport.c","file_line":2022,"grpc_status":14,"referenced_errors":[{"created":"@1478058481.913525887","description":"Expected SETTINGS frame as the first frame, got frame type 80","file":"../src/core/ext/transport/chttp2/transport/parsing.c","file_line":479}{"created":"@1478058481.913536230","description":"Trying to connect an http1.x server","file":"../src/core/ext/transport/chttp2/transport/chttp2_transport.c","file_line":1995,"http_status":404}]}] code: 14, metadata: Metadata { _internal_repr: {} } }, I20161102-11:48:01.925(8)? msg: 'Error: {"created":"@1478058481.913540954","description":"Failed parsing HTTP/2","file":"../src/core/ext/transport/chttp2/transport/chttp2_transport.c","file_line":2022,"grpc_status":14,"referenced_errors":[{"created":"@1478058481.913525887","description":"Expected SETTINGS frame as the first frame, got frame type 80","file":"../src/core/ext/transport/chttp2/transport/parsing.c","file_line":479}{"created":"@1478058481.913536230","description":"Trying to connect an http1.x server","file":"../src/core/ext/transport/chttp2/transport/chttp2_transport.c","file_line":1995,"http_status":404}]}' } ```

mint
2016-11-02 04:14

hiepnm
2016-11-02 04:32
@mint Thank you very much. I'm following it now.

hiepnm
2016-11-02 04:32
@hiepnm pinned a message to this channel.

jilong
2016-11-02 04:36
has joined #general

vsbhogle
2016-11-02 05:36
hi from fabric code I can see that minimum block size is 1024 and maximum block size is 65536....I hope I am right on this..

rishavkmr09
2016-11-02 06:15
In the membership service file cloned from fabric , i see multiple clients/regristrars/vp/nvp registered. So what does it mean to have a single fabric peer image ?? i have setup a demo chaincode_example02 with the following docker compose file: membersrvc: image: hyperledger/fabric-membersrvc command: membersrvc vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7053:7053" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev"

rishavkmr09
2016-11-02 06:16
yesterday @zemtsov gave me another version of docker compose with multiple peer images.... can someone sumup the entire thing..having diffculty to understand the concepts?

sennetheunis
2016-11-02 08:47
has joined #general

sky
2016-11-02 09:04
I run the fabric-sdk-java deploy method, get an error :description=open /var/hyperledger/production/crypto/client/ks/raw/eca.cert.chain: no such file or directory

jamescarlyle
2016-11-02 09:55
@brianbehlendorf: any confirmation of December hackfest dates and location yet? I pinged Todd yesterday : https://hyperledgerproject.slack.com/archives/general/p1477992764003916

tbltzk
2016-11-02 10:15
has joined #general

cbf
2016-11-02 10:41
@jamescarlyle: yes, we are looking still... do you have something?

jamescarlyle
2016-11-02 10:58
Well I know of a location with an auditorium that seats 100 - I think I mentioned it before - but it (unsurprisingly) gets booked up. I checked yesterday and it was available for 1300-1700 on thursday 8 Dec. and all day friday 9th Dec.

jamescarlyle
2016-11-02 10:59
but an auditorium may not be the best layout anyway (though they also have some breakout areas)

jamescarlyle
2016-11-02 10:59
Monday 12 Dec also free, most of Tue 13th.

kanat90
2016-11-02 11:14
has joined #general

sennetheunis
2016-11-02 11:21
Hello everyone, I'm new to hyperledger, i'm now trying to deploy authorizable_counter. But everytime I deploy, I get this error: Error: Error endorsing chaincode: rpc error: code = 2 desc = Failed to init chaincode(handler not found for chaincode 3554cf80640eff08bad8e42bcdadfcfd680d9f4abe09e21c02bfe48da0072161a53a58bb1f4be40747e65f9285f9ef2a90f1e99b72521c7e25d77b4dee97b80c) anyone knows how to fix this?

rishavkmr09
2016-11-02 12:02
@garisingh hey please help me differentiate between what is meant by single fabric peer image vs multiple fabric peer image?

rishavkmr09
2016-11-02 12:02
working on docker toolbox in win 7

garisingh
2016-11-02 12:04
@rishavkmr09 not sure I understand the question? are you asking about the different docker compose files we provide?

tedy
2016-11-02 12:05
@garisingh when trying the sdk example (node.js) in net mode, deploy doesn't work

tedy
2016-11-02 12:05
the log show this error : [dockercontroller] deployImage -> ERRO 0c6 Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage

tedy
2016-11-02 12:05
do u have any idea please?

garisingh
2016-11-02 12:06
assume you are using the Hyperledger Docker images from dockerhub?

tedy
2016-11-02 12:06
yes


garisingh
2016-11-02 12:08
you either need to download the `fabric-baseimage` and retag it to `latest` or you could just retag the peer image you already have as `hyperledger/fabric-baseimage:latest`

garisingh
2016-11-02 12:08
then things will work

tedy
2016-11-02 12:09
thank you @garisingh i will try it

garisingh
2016-11-02 12:09
not a problem

tedy
2016-11-02 12:15
@garisingh sorry to ping again ...

tedy
2016-11-02 12:16
it's not showing th previous error anymore.. however there is a second one popping

tedy
2016-11-02 12:16
src/build-chaincode/chaincode_example02.go:30:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of:

tedy
2016-11-02 12:16
it started to build the chain code image but then it failed.. any hint please

garisingh
2016-11-02 12:18
ah - in this case the issue is likely that you are going to need to add the fabric source to a vendor folder in the directory with your chaincode

tedy
2016-11-02 12:19
in the container where i am running the app.js?

garisingh
2016-11-02 12:23
I think the starter kit is more geared towards running chaincode in development mode - but yes - it would need to be in that container


tedy
2016-11-02 12:26
ah ok .. thanks i will check it.. would you recommend any other alternative (to starter kit ) for net mode

garisingh
2016-11-02 12:28
starter kit is good for net mode as well - we just did not document exactly how to do net mode

tedy
2016-11-02 12:30
thank you for your support . u are really kind

rishavkmr09
2016-11-02 12:39
@rishavkmr09 pinned @zemtsov’s Shell https://hyperledgerproject.slack.com/files/zemtsov/F2WPS7M6X/-.sh to this channel.

binary2hex
2016-11-02 12:41
has joined #general

rishavkmr09
2016-11-02 12:46
https://hyperledgerproject.slack.com/archives/general/p1478003575003929 @garisingh / i am talking abbt this..(an yesterdays msg). What is meant by mainting several image and running several peers??? and what would this code https://hyperledgerproject.slack.com/files/zemtsov/F2WPS7M6X/-.sh

rishavkmr09
2016-11-02 12:46

rishavkmr09
2016-11-02 12:47
do differently as compared to the normal docker compose file?

iggy
2016-11-02 12:50
has joined #general

stylix
2016-11-02 12:52
I have some question about passing a big data through the REST api. For the invoke, should I still use REST to accept a very large data as a Based64, e.g. 100mb? I'm finding some way else if I should not do REST invoke.

tuand
2016-11-02 12:56
@stylix suggest you look at using the SDK rather than REST ... see #fabric-sdk-dev and #fabric-sdk-node-dev

stylix
2016-11-02 12:57
Actually, I may need REST for some period of time. BTW, for SDK, can I run it without a membership service?

stylix
2016-11-02 12:58
Since I actually don't need that membership for the moment, but it seemed the sdk use that, mostly.

tuand
2016-11-02 13:00
past my level of expertise :grin: I have to redirect you to the sdk slack channels and to the wiki https://wiki.hyperledger.org/community/fabric-design-docs

stylix
2016-11-02 13:10
Well, maybe my knowledge also wrong with SDK, I will check it.

stylix
2016-11-02 13:10
BTW, thank @tuand for this.

aufbakanleitung
2016-11-02 13:13
has joined #general

habond
2016-11-02 14:22
has joined #general

rameshd
2016-11-02 14:32
has joined #general

dc
2016-11-02 15:04
has joined #general

dc
2016-11-02 15:06
Is there a problem with using 0.5.4 instead of 0.5.3 hfc (sdk for nodejs) for Bluemix Blockchain - its the way I found for resolving the secure handshake error.

mark.bardsley
2016-11-02 15:27
has joined #general

nagatrip
2016-11-02 15:48
has joined #general

yelamanc
2016-11-02 15:57
has joined #general

arunravin
2016-11-02 16:33
has joined #general

vijayr24
2016-11-02 16:35
@tkuhrt : it was with ctorMsg, i sent it as args["init"] and it worked fine.

bjanardhanan
2016-11-02 17:24
has joined #general

vijayr24
2016-11-02 17:26
1) I am trying to add a new user in the membersrvc.yaml file 2) when I am trying to use the registrar API to register my user, I am getting the following error "Identity lookup error: sql: no rows in result set" request: { "enrollId": "administrartor", "enrollSecret": "password" } response: { "Error": "rpc error: code = 2 desc = \"Identity lookup error: sql: no rows in result set\"" }

vijayr24
2016-11-02 17:27
any help is appreciated

davide
2016-11-02 17:53
has joined #general

vijayr24
2016-11-02 19:17
Hi all, any idea how to fix this error : transport: http2Server.HandleStreams received bogus greeting from client: "GET /registrar/jim HTTP/" I am trying to call the peer from my node.js server

dc
2016-11-02 19:30
Running https://github.com/IBM-Blockchain/SDK-Demo with hfc:: having this error `Error: Failed to register and enroll JohnDoe: Error: Invalid affiliation group at Error (native)`

marconipp
2016-11-02 21:58
has joined #general


kelly
2016-11-02 22:18
^ meet Sawtooth Lake - information about design goals and features of the Sawtooth Lake hyperledger project

mutisaki
2016-11-02 22:44
has joined #general

tzukru
2016-11-02 22:52
has joined #general

mutisaki
2016-11-02 22:55
hello

mutisaki
2016-11-02 22:56
I am looking for a consultant

mutisaki
2016-11-02 22:56
helping us running java sdk examples

kernel
2016-11-02 23:07
has joined #general

tangfeixiong
2016-11-03 00:19
has joined #general

hisgarden
2016-11-03 00:42
has joined #general

jmchugh
2016-11-03 00:57
has joined #general

mrmoneychanger
2016-11-03 01:54
has joined #general

stopro
2016-11-03 02:10
has joined #general

haifeng
2016-11-03 02:40
has joined #general

alanlee
2016-11-03 02:53
has joined #general

alanlee
2016-11-03 03:18
Hi, any one in (close to) Hong Kong? I am Alan. We are looking for technical friends/consultant/partner for development. We hope to meet, share or/and partner. Mobile: +852 60516869. Email: .

daniellee
2016-11-03 03:22
has joined #general

rodger0514
2016-11-03 03:24
has joined #general

olzhas
2016-11-03 04:13
has joined #general

dipankarb
2016-11-03 04:19
has joined #general

tedy
2016-11-03 05:10
@mano to solve the http2 http1 error .. u need to adjust the chain setup to chain.setMemberServicesUrl("grpc://"+MEMBERSRVC_ADDRESS); chain.addPeer("grpc://"+PEER_ADDRESS); instead of putting the actual IP : MEMBERSRVC_ADDRESS and CORE_PEER_ADDRESS are set in the docker-compose file

minyu.liang
2016-11-03 05:38
has joined #general

tom.appleyard
2016-11-03 06:15
Regarding how tables work in Hyperledger can anyone explain to me _why_ they are are set up like this - I mean what advantage is there to not allowing the user to specify an arbitrary key and search on it and forcing them to do `GetRows()` with a linear combination of them?

gangachris
2016-11-03 06:38
has joined #general

bruce_zhao
2016-11-03 06:53
has joined #general

sasaki
2016-11-03 07:51
has joined #general

hiepnm
2016-11-03 08:44
I have a "4 peers" blockchain network with pbft consensus (vp0, vp1, vp2, vp3). I used postman (to generate post REST API) to deploy a chaincode (chaincode_example02, A=100, B=200) in to this network, and get more 4 containers that run my chaincode. I call Invoked transaction to vp0 to get the result like this (A-5, B+5 => A=95, B=205). Then, I requested QUERY to vp3 to get A value. I got A=95. It's OK. And then, I stop peer vp3, and restart it. After that, I call query request to vp3 to get A value. But, I got A=100 (like after chaincode deploy). Why did I get A=100 instead of 95?

hiepnm
2016-11-03 09:39
I have just retested, And It's OK. I don't know why! :disappointed:

shenthilkumarck
2016-11-03 10:25
Hi All, today I am trying to build the fabric project. When I am trying to query the chain. Received the "Error: chaincode query is deprecated and should not be used"

shenthilkumarck
2016-11-03 10:25
What/Where is the alternative?

tedy
2016-11-03 11:20
@shenthilkumarck how are u querying it? Use the API /chaincode

shenthilkumarck
2016-11-03 11:21
@tedy I was using the command line option. Let me try the API

liuzl123
2016-11-03 12:27
has joined #general

crmiles
2016-11-03 13:25
has joined #general

maggie
2016-11-03 13:27
has joined #general

scoin
2016-11-03 13:53
hey all, what is the best way to use the events stream in a node js program I am writing - any suggestions? can `hfc` do it? I'd like to get errors from transactions

viktords
2016-11-03 14:46
has joined #general

xunavy
2016-11-03 15:31
has joined #general

thomas_domingos
2016-11-03 15:43
has joined #general

hrvojerodic
2016-11-03 15:56
has joined #general

cmartain
2016-11-03 16:51
has joined #general

dipankarb
2016-11-03 17:57
Hi All, I want to publish events from the chaincode in Hyperledger using Java code. Please let me know if there is any such functionality available to 'shim' JAVA API. If exists, request you to provide some guidance.

bebersole
2016-11-03 18:09
has joined #general

arner
2016-11-03 18:22
there's a type in the administrator id, could that be an issue?

arner
2016-11-03 18:22
typo*

gulherme.amaral
2016-11-03 18:26
has joined #general

rajiv.nambiar
2016-11-03 19:51
has joined #general

vol_har
2016-11-03 20:48
has joined #general

coolfun
2016-11-03 21:25
has joined #general

wuikhong
2016-11-04 00:18
has joined #general

orlandolopez
2016-11-04 02:12
has joined #general

powste
2016-11-04 03:56
has joined #general

echigo
2016-11-04 04:17
gensai

echigo
2016-11-04 04:18
Oops, I missed typing...

steveellis
2016-11-04 04:41
has joined #general

rain8010
2016-11-04 05:42
Hi all, I used git clone following the doc one month ago and found I got 'vagrant@hyperledger-devenv:v0.1.0-e8b1513:/opt/gopath/src/github.com/hyperledger/fabric$'. Does that mean the branch I cloned is v.1.0?

rain8010
2016-11-04 05:44
Last week, my colleague used the command 'git clone && scp -p -P 29418 :hooks/commit-msg fabric/.git/hooks/'

rain8010
2016-11-04 05:45
But he got 'vagrant@hyperledger-devenv:v0.2.0-5274bb1:'

rain8010
2016-11-04 05:50
May anybody help me? Many thanks.

aybek
2016-11-04 06:23
has joined #general

yls
2016-11-04 07:14
Hi Mr,did you solve the problem?what reason? How to do it? @cbf

turmewr3ck
2016-11-04 08:02
has joined #general

zakk8889
2016-11-04 09:18
has joined #general

rishavkmr09
2016-11-04 09:33
How to startup CA services? I am using docker toolbox in win 7. have tried running sample chaincode 02 succesfully till now. have tried to follow this link https://github.com/hyperledger/fabric/blob/master/docs/Setup/ca-setup.md but got stuck in "make membercsrvc" command..

rishavkmr09
2016-11-04 09:37
@garisingh

abhisingh
2016-11-04 09:41
@rishavkmr09 How are you running peer?

rishavkmr09
2016-11-04 09:41
using docker image

rishavkmr09
2016-11-04 09:42
used these commands

rishavkmr09
2016-11-04 09:42
docker pull hyperledger/fabric-peer:latest docker pull hyperledger/fabric-membersrvc:latest

seki
2016-11-04 09:51
has joined #general

gebecker
2016-11-04 10:33
has joined #general

garisingh
2016-11-04 11:19
what error are you getting?

ryanpang
2016-11-04 12:07
has joined #general

nicolasdennewald
2016-11-04 12:18
has joined #general

sankuma2
2016-11-04 12:24
has joined #general


ttsdubai
2016-11-04 13:52
has joined #general

pamo
2016-11-04 15:35
has joined #general

ptippett
2016-11-04 15:37
has joined #general

andysugiarto
2016-11-04 15:47
has joined #general

bguilloteau
2016-11-04 16:01
Hi everybody. Somebody know what is the version implemented in the BlueMix service Blockchain ? I tried to deploy a java chaincode, and I got the following error : "error: Failed to determine platform type: Unknown chaincodeType: 4" (I already deployed it in local, and it worked)

james
2016-11-04 16:12
has joined #general

jdockter
2016-11-04 16:16
@bguilloteau it's my understanding it was 0.5 version today...not sure when 0.6 is coming for sure

patricli
2016-11-04 16:27
has joined #general

bguilloteau
2016-11-04 16:28
@jdockter ok, thank you

srilives
2016-11-04 16:41
has joined #general

jamesbradley
2016-11-04 16:41
has joined #general

abarabash
2016-11-04 18:31
has joined #general

matt.shams
2016-11-04 19:56
has joined #general

joeblew99
2016-11-04 21:47
has joined #general

joeblew99
2016-11-04 22:01
Hey All, I am working on the Health WOrking Group

joeblew99
2016-11-04 22:02
Does anyone knwo if there is a Dart Client floating around yet ?

adamjbradley
2016-11-05 00:02
has joined #general

adamjbradley
2016-11-05 00:23
Hi!

adamjbradley
2016-11-05 00:24
Looking for a Quick Start guide and Docker images :slightly_smiling_face:

adamjbradley
2016-11-05 00:24
Does such a thing exist?

adamjbradley
2016-11-05 00:24
Thanks in advance!

tuand
2016-11-05 00:48
@adamjbradley http://hyperledger-fabric.readthedocs.io :wink: docker image is part of the build, take a look at the makefile in the source tree

tuand
2016-11-05 00:49
Also directory hyperledger/fabric/bddtests has good examples of docker-compose configuration files

farrukh
2016-11-05 20:44
has joined #general

aleixmorgadas
2016-11-05 20:51
has joined #general

kenclarkson
2016-11-05 22:52
has joined #general

mnair
2016-11-05 23:14
has joined #general

cypher
2016-11-06 03:13
I need a sample chaincode from which I can build my own version. The ones I got from https://github.com/IBM-Blockchain/marbles-chaincode and https://github.com/IBM-Blockchain/learn-chaincode gave build errors regarding function signatures.

trentb
2016-11-06 03:54
has joined #general

bjalexis
2016-11-06 07:38
has joined #general

itokoji
2016-11-06 08:24
has joined #general

farrukh
2016-11-06 09:59
Hi guys, I'm trying to build peer using "make peer" command and I'm getting following message, any clues? Farrukhs-MacBook-Pro:fabric fijaz$ make peer Building docker ccenv-image docker build -t hyperledger/fabric-ccenv build/image/ccenv Sending build context to Docker daemon 20.18 MB Step 1 : FROM hyperledger/fabric-baseimage:x86_64-0.2.0 ---> 5073cec7e9eb Step 2 : COPY bin/* /usr/local/bin/ ---> Using cache ---> a6cb68787ff0 Step 3 : ADD goshim.tar.bz2 $GOPATH/src/ Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/ccenv/.dummy] Error 1

garisingh
2016-11-06 10:59

farrukh
2016-11-06 11:08
Thank you very much @garisingh

khaleshah
2016-11-06 11:54
has joined #general

brenterprises
2016-11-06 15:49
has joined #general

kredens
2016-11-06 20:16
has joined #general

rkarr
2016-11-06 20:46
has joined #general

blockchainfolks
2016-11-06 20:54
has joined #general

vibhu
2016-11-06 22:22
has joined #general

look4services
2016-11-06 22:42
has joined #general

nakamura
2016-11-06 23:31
has joined #general

willi
2016-11-07 01:59
has joined #general

liorg
2016-11-07 02:00
has joined #general

ferozkhan
2016-11-07 05:12
has joined #general

jinyu
2016-11-07 06:39
has joined #general

adrianp
2016-11-07 06:39
has joined #general

astepanov
2016-11-07 07:24
@cypher hi, look up here for chaincode examples https://github.com/hyperledger/fabric/tree/master/examples/chaincode/go

bain
2016-11-07 07:35
@jzhang I'm trying to use hfc to access Fabric_v0.6.1, but encountered error when enroll admin user. {"code":14,"metadata":{"_internal_repr":{}}}

rotksimon
2016-11-07 07:46
has joined #general

rotksimon
2016-11-07 07:48
Could someone possibly tell me what privacy protecting technologies does hyperledger apply?

hiepnm
2016-11-07 08:52
I want to ask a question about hyperledger theory that relevant to their use cases. I'm using hyperledger fabric to solve my _music streaming security_ problem. The _asset_ in my project are _keys_ that _encrypt/decrypt the mp3 files_. And those keys are stored in my ledger. Users who upload the mp3 files to my media server, keep the keys about those mp3 files. So, _Every user keep a their own ledger_. Should I create a new validating peer once a new user join my blockchain network?

rishavkmr09
2016-11-07 10:19
After a user invokes a chain code and the completion of a transaction in which format does the data on blockchain gets stored and where ??? @garisingh Can you please provide some links regarding this issue?

hiepnm
2016-11-07 10:26
@rishavkmr09 I have the same question. You can look up at: /var/hyperledger/db/ directory on your validating peers. (production folder is used for production mode). And I'm investigating how to retrieve it using dbutility: https://github.com/hyperledger/fabric/tree/master/tools/dbutility

garisingh
2016-11-07 10:29
@rishavkmr09 - check out http://hyperledger-fabric.readthedocs.io/en/latest/protocol-spec/#32-ledger - it gives some background about the `ledger` and the `world state`. From an implementation perspective, in v0.6 of the Fabric both of these are stored in RocksDB. At a high level, the ledger contains blocks with each block containing a set of transactions and each transaction essentially being the command you invoked (e.g. chaincodeID, function, parameters). The world state contains the current value for any key which has been set/modified by chaincode

hiepnm
2016-11-07 10:31
@garisingh thank you! How do I get a world state value that relevant to a transaction in history?

hiepnm
2016-11-07 10:33
Example: I have A=200, invoke(A-1), invoke (A-1), invoke (A-1). So A= 197. And I have 4 transactions in my block. I want to get the world state value that relevant to the second transaction (I expect A=199).

garisingh
2016-11-07 10:37
@hiepnm - unfortunately in the current release (v0.6), there is not really a built in historical query to retrieve point in time value of any given key

hiepnm
2016-11-07 10:40
@garisingh thank you. I'm reading this topic http://hyperledger-fabric.readthedocs.io/en/latest/protocol-spec/#32211-bucket-tree And I want to retrieve it inside the chaincode logic. Is it OK?

hiepnm
2016-11-07 10:43
I'm reading that topic, but I don't understand it.

garisingh
2016-11-07 10:45
@hiepnm - the only "data access" APIs within chaincode are PutState and GetState (well there are a few higher level tables APIs as well)

garisingh
2016-11-07 10:46
most of the stuff in the protocol spec would not be applicable from a chaincode development perspective

stefan.momma
2016-11-07 11:10
has joined #general

kersyduru
2016-11-07 11:48
has joined #general

christian.wolf
2016-11-07 13:15
has joined #general

debasis.das
2016-11-07 13:29
has joined #general

jakup
2016-11-07 13:30
has joined #general

bakar
2016-11-07 13:31
has joined #general

claudiu
2016-11-07 13:32
has joined #general

pdestrais
2016-11-07 13:47
has joined #general

pauls
2016-11-07 13:48
has joined #general

spidey
2016-11-07 14:01
has joined #general

urs.karrer
2016-11-07 14:17
has joined #general

astepanov
2016-11-07 14:26
Is anyone used stub.GetCallerMetadata() method? I do use fabric 6.1 with security enable and trying to deploy example from here https://github.com/hyperledger/fabric/blob/master/examples/chaincode/go/asset_management/asset_management.go But it returns empty array. Should it be GetCallerCertificate instead of stub.GetCallerMetadata?

utkucan
2016-11-07 14:31
has joined #general

scottz
2016-11-07 14:48
@hiepnm To identify a value on the ledger at "n"th transaction, you could use a chaincode that counts the transactions, and uses the counter as part of the key for the data to index into the correct item in the ledger. We modified example02 to do something like this. The chaincode keeps track of transactions, and each transaction adds a record to the ledger. Subtractions are not done, so admittedly it is not a completely realistic chaincode design for many application usecases. Moreover, if you are looking to keep track of batches on the ledger (which could contain multiple transactions), then it does not do that, because as garisingh mentioned the peer network does not provide that service. For our "add-records" chaincode, refer to: https://github.com/scottz64/obcsdk/blob/master/ledgerstresstest/example02_addRecordsToLedger/chaincode_example02_addrecs.go

yongkook
2016-11-07 15:33
does anyone know where I can pull v0.5 fabric code?

yongkook
2016-11-07 15:37

rodger0514
2016-11-07 18:00
I enabled the pbft, and run the example02, but keeping got the following errors, why

rodger0514
2016-11-07 18:00
2016/11/07 17:58:13 transport: http2Server.HandleStreams failed to receive the preface from client: read tcp 172.17.0.4:7051->172.17.0.7:47166: read: connection reset by peer 17:58:14.522 [consensus/pbft] executeOne -> INFO 036 Replica 1 executing/committing request batch for view=0/seqNo=3 and digest lZRMu7ilNSl9CKtoz8DF0o2+tUvKFKFk1aL8PlbvIZRA+qa5BN7XSYoxtzMArtXHn7NoK3vRlnynNHY5hBh01g== 17:58:23.833 [dockercontroller] deployImage -> ERRO 037 Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage 17:58:23.833 [dockercontroller] deployImage -> ERRO 038 Image Output: ******************** Step 1 : FROM hyperledger/fabric-baseimage Pulling repository http://docker.io/hyperledger/fabric-baseimage ******************** 17:58:44.727 [dockercontroller] deployImage -> ERRO 039 Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage 17:58:44.728 [dockercontroller] deployImage -> ERRO 03a Image Output: ******************** Step 1 : FROM hyperledger/fabric-baseimage Pulling repository http://docker.io/hyperledger/fabric-baseimage ******************** 17:58:44.728 [chaincode] Launch -> ERRO 03b launchAndWaitForRegister failed Error starting container: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage 17:58:44.728 [consensus/pbft] execDoneSync -> INFO 03c Replica 1 finished execution 3, trying next

garisingh
2016-11-07 18:04
you need to pull down the base image from docker hub and then re-tag it as latest

leoni
2016-11-07 18:27
has joined #general

spiro
2016-11-07 18:33
has joined #general

tzukru
2016-11-07 18:52
hi, is there any (pure) java client example for chaincode functions? i want to use only java to join peer and member servers and dont want to upload go file into the server.

jzhang
2016-11-07 19:54
@bain don’t believe your question above has been answered, but this means that the member service and your SDK’s local store (keyvalstore) are out of sync

jzhang
2016-11-07 19:55
either you changed to use a different local store and are using the same member service, or re-init’ed the member service but using the same local store from before.

jzhang
2016-11-07 19:56
easiest way to fix it is, if you can, re-init the member service and delete the local kvs

lganzman
2016-11-07 22:11
has joined #general

larissaauberger
2016-11-07 22:21
has joined #general

jl4113
2016-11-07 22:35
has joined #general

webkruncher
2016-11-08 00:10
has joined #general

ilshat
2016-11-08 01:03
has joined #general

jared
2016-11-08 01:20
Hi guys, when I tried starter-kit, it seemed it hung on "npm install hfc". I didn't find any error indications, how could I do next?

hiepnm
2016-11-08 01:33
@garisingh thank you very much. Can I retrieve it from rockdb? (/var/hyperledger/db)

rodger0514
2016-11-08 01:58
@garisingh Thank you for your answer. As you said, I pull the baseimage and tag it as latest. Look like the peer is using docker compiling the example02.go contract in runtime, I now got the following errors, how can I correct it?2016/11/08 01:53:25 transport: http2Server.HandleStreams failed to receive the preface from client: read tcp 172.17.0.4:7051->172.17.0.7:47560: read: connection reset by peer 01:53:26.727 [consensus/pbft] executeOne -> INFO 036 Replica 1 executing/committing request batch for view=0/seqNo=3 and digest h9BMQdu1+g5ACS5v31PsQQ0+2AyUb4ySeETShK1e1ZxUyHuAB6OGr6WqmkWCWt/pYCegrzeh1IFhC2pYznfg3g== 01:53:28.257 [dockercontroller] deployImage -> ERRO 037 Error building images: The command '/bin/sh -c go install build-chaincode && cp src/build-chaincode/vendor/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin && mv $GOPATH/bin/build-chaincode $GOPATH/bin/5c0e7241354a22bca08f23fa8058ccd7148e03efe562971e2e977fc4003107fd' returned a non-zero code: 1 01:53:28.258 [dockercontroller] deployImage -> ERRO 038 Image Output: ******************** Step 1 : FROM hyperledger/fabric-baseimage ---> 930520b2a511 Step 2 : COPY . $GOPATH/src/build-chaincode/ ---> Using cache ---> 6bac5ebaba73 Step 3 : WORKDIR $GOPATH ---> Using cache ---> 46d366f7c0e5 Step 4 : RUN go install build-chaincode && cp src/build-chaincode/vendor/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin && mv $GOPATH/bin/build-chaincode $GOPATH/bin/5c0e7241354a22bca08f23fa8058ccd7148e03efe562971e2e977fc4003107fd ---> Running in 5f903fd695f0 src/build-chaincode/chaincode_example02.go:30:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: /opt/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH) ********************

rodger0514
2016-11-08 02:04
Any one knows the Dockerfile(s) building hyperledger/fabric-peer hyperledger/fabric-membersrvc ? Where I could find it? I suppose I could customize it and reference existing Dockerfile.

hiepnm
2016-11-08 02:30
@scottz Thank you very much. I'm following your chaincode.

yls
2016-11-08 02:36
Hi all, why delete all membersrvc code from fabric in the?

yls
2016-11-08 02:37
in the latest version

miguelson
2016-11-08 02:40
has joined #general

chetan
2016-11-08 03:31
has joined #general

hiepnm
2016-11-08 03:56
@scottz Thanks for your chaincode. But I don't understand how I can query A value of historical transaction using the counter.

hiepnm
2016-11-08 04:36
Oh, @scottz I see. We'll store multiple A values (A1, ..., An).

tj.forsyth
2016-11-08 04:45
has joined #general

tiongks
2016-11-08 05:17
has joined #general

sumitks
2016-11-08 06:20
can anyone tell how to install hfc sdk without using npm as i am encountering some problem in that case

yossishm
2016-11-08 06:58
has joined #general

wangmzdl
2016-11-08 07:14
After I did "vagrant up" on branch 0,6, there is no "docker-compose" in the virtual context

rain8010
2016-11-08 07:17
@wangmzdl ,Have you passed the behave tests? When I used 'make all' on the branch 0.6, it couldn't pass these tests.

wangmzdl
2016-11-08 07:17
me too

rain8010
2016-11-08 07:19
I am not sure if I got the right branch. How did you use the git command to fetch the branch 0.6?

rain8010
2016-11-08 07:19
I used the git command like 'git checkout -b v0.6 origin/v0.6' and then use 'git fetch'. Is it right?

sk
2016-11-08 07:35
has joined #general

wangmzdl
2016-11-08 08:19
I play around according to the document


mochechan
2016-11-08 09:45
has joined #general

eugenluft
2016-11-08 09:48
has joined #general

johnc
2016-11-08 09:51
has joined #general

eugenluft
2016-11-08 09:56
Hi all - does anybody know how i can getRows by specific keys? According to the documentation, I can get the rows by key A,C: ``` // GetRows returns multiple rows based on a partial key. For example, given table // | A | B | C | D | // where A, C and D are keys, GetRows can be called with [A, C] to return // all rows that have A, C and any value for D as their key. GetRows could // also be called with A only to return all rows that have A and any value // for C and D as their key. ``` This is working for us, but now we trying to get the rows by keys [C,D] (A any value). How can i implement that in go?

sstone1
2016-11-08 10:09
@eugenluft you cannot do that with chaincode tables; as the comment says you can query using A, A + C, or A + C + D

sstone1
2016-11-08 10:11
this is because of how the tables are mapped onto the underlying key/value storage (accessible via GetState/PutState)

eugenluft
2016-11-08 10:12
@sstone1 oh no :flushed:

eugenluft
2016-11-08 10:16
@sstone1 any idea how do solve this issue?

humblealex
2016-11-08 10:34
@astepanov I think this example should be ran by asset_management/app/app.go, you can refer to the README.md in that folder. The metadata should be filled manually by app. If you simply deployed that chaincode, nothing would be filled into metadata by default. That is probably why it returns empty.

hiepnm
2016-11-08 11:03
Why? :disappointed:

garisingh
2016-11-08 11:09
@hiepnm - the fabric master branch is where we are doing all of the work for the V1 release of fabric. We've made some code organization changes in V1, including moving all of the SDKs (Node.js, Java, Python) into their own repositories. We are also doing a major restructuring / new implementation of the features that were in membersrvc and created a separate repo (fabric-cop) for that. You'll also notice that we are re-implementing the crypto libraries as well in a more modular fashion.

hiepnm
2016-11-08 11:10
thank you @garisingh

garisingh
2016-11-08 11:11
sure thing

floyd
2016-11-08 11:24
has joined #general

7sigma
2016-11-08 11:41
The Makefile in the fabric directory in the latest update have no memberservice, how can we make and run the membership service

garisingh
2016-11-08 11:43
@7sigma - use the v0.6 branch

garisingh
2016-11-08 11:43
or preferably use the Docker images we publish - https://hub.docker.com/r/hyperledger/fabric-membersrvc/

7sigma
2016-11-08 11:49
Thanks @garisingh . Will do that. Developments looks interesting. Had a quick look into fabric-cop and fabric-sdk-java, able to see the much needed ACL implemented.

garisingh
2016-11-08 11:57
BUT - stay tuned over the coming weeks - we'll be rolling out some "alpha" versions of the new architecture.

garisingh
2016-11-08 11:58
right now pieces are there and work, but things are not as consumable if you just want to use them :wink:

pzyshock
2016-11-08 12:35
has joined #general

7sigma
2016-11-08 12:54
Hi @garisingh what is the way to download v0.6 branch . If I use the normal approach it gets me the latest code

zeroonefive
2016-11-08 13:06
has joined #general

pd93
2016-11-08 13:23
@pd93 uploaded a file: https://hyperledgerproject.slack.com/files/pd93/F30EFGQ3Z/Cloning_a_branch.sh and commented: @7sigma couple of ways...

nakao
2016-11-08 14:04
has joined #general

gokulamurthy
2016-11-08 14:25
Guys, I'm getting this error while setting up dev environment in Ubuntu, after successful make peer command. /opt/gopath/src/github.com/hyperledger/fabric# make membersrvc make: *** No rule to make target `membersrvc'. Stop.

gokulamurthy
2016-11-08 14:25
please help me on this

scottz
2016-11-08 14:39
@hiepnm yes: string "An" is the key for the n'th element added to the ledger. B is repurposed to simply be the counter N, the number of records added.

scottz
2016-11-08 14:42
@hiepnm and the invoke args would look something like: []string{"a" + strconv.FormatInt(cntr, 10), DATA, "counter"}

garisingh
2016-11-08 14:52
@gokulamurthy - if you recently pulled down and/or updated your fabric master branch, membersrvc is no longer there

garisingh
2016-11-08 14:54
are you planning to contribute to the fabric or simply looking to develop chaincode and applications? If the latter, then I still recommend you use the prebuilt Docker images. If the former, v1 no longer leverages membersrvc. The new architecture is more modular and the mebersrvc capabilities are being redesigned / re-architected in the the fabric-cop repo

rascal
2016-11-08 15:03
many changes...

rascal
2016-11-08 15:08
@garisingh How can I(we) follow these drastic changes?

rascal
2016-11-08 15:22
JIRA??

garisingh
2016-11-08 15:24
JIRA for sure

rascal
2016-11-08 15:25
and this page, introduced once, is also helpful: https://wiki.hyperledger.org/community/fabric-design-docs

rascal
2016-11-08 15:26
I'd like to run and test asset_management examples on current architechture

yjdaoudi
2016-11-08 15:33
has joined #general

geo.dev
2016-11-08 15:53
has joined #general

readyforthenet
2016-11-08 16:04
has joined #general

akshay.agwl
2016-11-08 18:22
has joined #general

timravey
2016-11-08 18:45
has joined #general

pschwarz
2016-11-08 19:14
Hey all, he UI for the marketplace transaction family is now open source. You’ll find in: https://github.com/hyperledger/sawtooth-core/tree/master/extensions/mktplace/navigator. You can find more info in the #sawtooth channel

tmorrisj
2016-11-08 19:23
has joined #general

jmeis
2016-11-08 21:22
what happened to the original open blockchain white and yellow papers? I can’t seem to track them down and old repos are gone

hiroga
2016-11-08 23:39
has joined #general

vu3mmg
2016-11-09 00:35
Hi Could you please help me to understand the mechanism to prevent double spend in hyperledger

hiepnm
2016-11-09 00:57
@garisingh thank you!

lxdong.007
2016-11-09 01:08
has joined #general

yls
2016-11-09 02:46
Hi all,how can i find all design doc of v1.0?

7sigma
2016-11-09 07:10
thanks @pd93

iiiv
2016-11-09 07:37
has joined #general


yls
2016-11-09 08:15
thanks @rascal

rascal
2016-11-09 08:17
:grinning:

arulmurugan
2016-11-09 09:24
has joined #general

jlaw
2016-11-09 10:02
has joined #general

astepanov
2016-11-09 10:04
@humblealex thanks alot! I will try to use it with way with HFC

udaykiran0608
2016-11-09 10:24
has joined #general

udaykiran0608
2016-11-09 10:28
how can I integrate hyperledger in java

ronan
2016-11-09 10:28
has joined #general

udaykiran0608
2016-11-09 10:29
any good platform to use blockchain?

pd93
2016-11-09 10:48
@udaykiran0608 https://github.com/hyperledger/fabric-sdk-java Not sure how functional this is with the changes for v1. I'd assume it should work with the 0.6 branch though

udaykiran0608
2016-11-09 10:54
@pd93 I want to implement blockchain to supply chain which platform is better

udaykiran0608
2016-11-09 10:56
@pd93 and how do the block in blockchain are stored which database does it use and do we have any architecture which explains blockchain life cycle

somashekar
2016-11-09 11:03
I have just go a 0.6 version of fabric form gerrit and when i do make peer i am getting an error

somashekar
2016-11-09 11:03
BUILD-CACHE: Success! stdin: is not a tty Sending build context to Docker daemon 11.78 kB Error response from daemon: ENV must have two arguments make: *** [build/image/base/.dummy] Error 1

somashekar
2016-11-09 11:04
any help appreciated

orozalen
2016-11-09 13:41
has joined #general

donaldsbell
2016-11-09 14:22
has joined #general

wendellcnichols
2016-11-09 14:50
has joined #general

knnithyanand
2016-11-09 14:58
has joined #general

eugenluft
2016-11-09 15:35
Hi all, how can “map” a row (fetched by getRow()) to a struct? Because when i just return the row I loose all my keys: `{[string:/"12345/" string:/”comp1/”]} ` but what i want is {id: 12345, name: “comp1”}

loribrown702
2016-11-09 15:49
has joined #general

djungle61
2016-11-09 16:34
has joined #general

ahmedelhajji
2016-11-09 17:08
Hi all , i have a problem i dont now if problem from hyperledger or other thinks i want to invoke 3 000 000 transaction but wen but when i got to insert the transaction 700 000 i have error in my log screen " out of bound "

rosarora
2016-11-09 19:41
has joined #general

dayka
2016-11-09 19:52
has joined #general

sthomas.g
2016-11-09 19:58
has joined #general

saitima
2016-11-09 20:02
has joined #general

axc
2016-11-09 21:46
Hi all, I ran the asset_management_with_roles example and got the following outputs: "msg":"Error:Failed to launch chaincode spec(Could not get deployment transaction for ed017204add711b658163069dfd4150ddb23f9d9438345aa21d06cc1ab711da9 - LedgerError - ResourceNotFound: ledger: resource not found)"} ok 3 assign successful 1..3 # tests 3 # pass 2 # fail 1 Has anyone gotten something similar before?

ryeann
2016-11-09 22:20
has joined #general

danrobinson
2016-11-09 23:32
has joined #general

mmoises
2016-11-09 23:55
has joined #general

ankitkamra
2016-11-10 03:20
Hi All, can any one help me to setup Non validating peer in hyperledger fabric ? Thanks in advance

humblealex
2016-11-10 03:55
@astepanov you are welcome! If possible, please let me know how it goes. Since the RestAPI does not support the metadata&attribute parts of chaincodeSpec

donaldliu
2016-11-10 04:38
has joined #general

humblealex
2016-11-10 05:28
@ankitkamra set peer.validator.enabled = false in peer/core.yaml

djc21291
2016-11-10 05:32
has joined #general

mochechan
2016-11-10 06:41
Is there any document describing how to connecting multiple peers each other? I need about 4 Fabric peers.

arulmurugan
2016-11-10 07:13
i am new to hyperledger. I am trying to understand the various parts of it. what is chaincode shim? why it is required?

arulmurugan
2016-11-10 07:13
thanks in advance

k.sung
2016-11-10 07:22
has joined #general

hiepnm
2016-11-10 07:24
@mochechan you can follow this guide to run 4 peers: https://hub.docker.com/r/ibmblockchain/fabric-peer/ Section: Getting started and using Docker Compose

jam
2016-11-10 07:29
has joined #general

mochechan
2016-11-10 07:35
@hiepnm Thank you very much. Can you also provide a document about Sawtooth Lake? Thanks again.

mandiraanand
2016-11-10 07:36
has joined #general

ankitkamra
2016-11-10 07:39
@humblealex Thanks you :slightly_smiling_face:

hiepnm
2016-11-10 07:43
@mochechan I don't understand your mind :slightly_smiling_face: Again, If you don't want to use docker-compose. You can run docker command like the following (but notice the IP that can be changed)

hiepnm
2016-11-10 07:44

hiepnm
2016-11-10 07:48
@arulmurugan As you can read in http://hyperledger-fabric.readthedocs.io/en/latest/protocol-spec/#332-chaincode-protocol There is a shim layer on the chaincode container to handle the message protocol between the chaincode and the validating peer using protobuf message.

hiepnm
2016-11-10 07:50
Chaincode container <----- SHIM LAYER ---------> PEER

monus
2016-11-10 08:15
has joined #general

arulmurugan
2016-11-10 08:27
Thank you so much @hiepnm

astepanov
2016-11-10 08:38
@eugenluft hi, how did you get result in this format? May you share some code please? All I got looks much ugly

liuhaidl
2016-11-10 08:48
has joined #general

rain8010
2016-11-10 08:49
@garisingh , I found you were answering other's questions. You must be an expert in Hyperledger project. May I ask you a question? Many thanks in advance.

rain8010
2016-11-10 08:51
I am trying to set up a 4 VPs network with pbft consensus. And I follow the instruction in the web of 'http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Network-setup/'

rain8010
2016-11-10 08:54
But it does work after I set the peer.validator.consensus to pbft in the core.yaml. I have to set "- CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft" in the docker-compose.yaml file.

rain8010
2016-11-10 08:54
It works now. But I don't why?

zemtsov
2016-11-10 08:55
@rain8010 hi, do you use images you pulled with docker?

rain8010
2016-11-10 08:55
I don't know why

rain8010
2016-11-10 08:55
no. I use vagrant

zemtsov
2016-11-10 08:56
you run docker images within vagrant? or you build your own image?

rain8010
2016-11-10 08:57
I built my own image.

zemtsov
2016-11-10 08:59
to use pbft you should either set it up in `core.yaml` or via environment variables

rain8010
2016-11-10 08:59
Here is my docker-compose.yaml file:

rain8010
2016-11-10 08:59
image: hyperledger/fabric-peer environment: - CORE_PEER_ID=vp0 - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://172.17.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft command: peer node start vp1: extends: service: vp0 environment: - CORE_PEER_ID=vp1 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft links: - vp0 vp2: extends: service: vp0 environment: - CORE_PEER_ID=vp2 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft links: - vp0 vp3: extends: service: vp0 environment: - CORE_PEER_ID=vp3 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft links: - vp0 ~

rain8010
2016-11-10 09:00
Yes. I set the core.yaml. But if I don't use the environment CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN. The pbft doesn't work.

zemtsov
2016-11-10 09:01
have you rebuilt your image after editing core.yaml?

rain8010
2016-11-10 09:01
No. I have not.

rain8010
2016-11-10 09:03
Do I need to rebuild the image after editing core.yaml?

zemtsov
2016-11-10 09:04
I’m not fully sure but I believe so. And why do you want to use core.yaml to set you image up? Isn’t it easier to set all you need with variables?

zemtsov
2016-11-10 09:05
try to `make peer` again. If it helps, then yes, you need to rebuild it after editing :slightly_smiling_face:

rain8010
2016-11-10 09:07
I thought the yaml file is a configuration file. Generally, the configuration should be dynamically set. But I will try to built the image again. Thank you.

zemtsov
2016-11-10 09:08
Yes, this is a configuration file but I’m not sure if it is used at the start

zemtsov
2016-11-10 09:08
good luck

pd93
2016-11-10 09:24
@rain8010 @zemtsov You do indeed need to `make peer` again

shakeelahmad
2016-11-10 09:26
has joined #general

pd93
2016-11-10 09:26
@zemtsov You might find it easier to use docker-compose (which is just a config file like you suggested - No rebuilding) and docker images if you're only developing for chaincode.

zemtsov
2016-11-10 09:29
@pd93 agree

rain8010
2016-11-10 09:39
@pd93 , I make peer again. But It seems the pbft still doesn't work, if I only set the validator.consensus to pbft in the core.yaml file without setting the environment.

pd93
2016-11-10 09:58
@rain8010 Are you getting an error at all? and how are you running the peer?

ehanyegy
2016-11-10 10:04
has joined #general

freakytango
2016-11-10 11:36
has joined #general

jerryzhang
2016-11-10 11:59
has joined #general

somashekar
2016-11-10 12:23
anybody had setup the 0.6 version of fabric with the sierra version of mac . I have some error which I am struck form past 2 days.

somashekar
2016-11-10 12:24
make membersrvc-image Building docker base-image BUILD-CACHE: exists! stdin: is not a tty Sending build context to Docker daemon 11.78 kB Error response from daemon: ENV must have two arguments make: *** [build/image/base/.dummy] Error 1

somashekar
2016-11-10 12:24
I have done the gitclone and then I have done make membersrvc-images

zemtsov
2016-11-10 12:29
@somashekar do you build images in mac natively?

somashekar
2016-11-10 12:29
yes i do

garisingh
2016-11-10 12:30
I always ask this, but why? we have published Docker images

garisingh
2016-11-10 12:31
basically, building native outside Vagrant was not supported in v0.6. @ghaskins is doing the work to make this possible for the v1 architecture

garisingh
2016-11-10 12:31
I don't run OSX Sierra but I can build native on OSX El Capitan

garisingh
2016-11-10 12:32
someone else asked this question - I forgot to ask which version of OSX they were using. But there seems to be something incompatible with the way one of the scripts in the build works

garisingh
2016-11-10 12:33
so unless you are modifying the source code of the peer or membersrvc, I'd highly suggest using the Docker images

somashekar
2016-11-10 12:40
@garisingh , I completely understand but we are working on building something 3party like package for a specific domain. I will check and see if I can work on the docker image.

garisingh
2016-11-10 12:49
ah - I see - makes sense to try to build then. but perhaps it would be easier to just build your own Docker image if the make targets are not working

garisingh
2016-11-10 12:49
there's a lot of env variables, scripts, etc in the make approach

jov
2016-11-10 12:59
Hi, I have a question about querying tables. I have a table with 3 keys. Example: Surname, Name, RegistryNumber. If I perform a Lookup with all 3 keys, I'll receive one row. I perform a lookup with keys: Surname, Name, I receive 1 or more rows. But when I do a lookup by the third key only. I don't receive any information. I perform the lookup as such: nill,nill, RegistryNumber. How do I perform a lookup with only the third Key and the other blank values?

somashekar
2016-11-10 13:06
@garisingh , Thanks a ton , I work on creating docker image which I seems to be easier than what we are trying

brian
2016-11-10 13:23
has joined #general

gokulamurthy
2016-11-10 14:10
Thanks for your reply @garisingh I'm able to setup successfully with v0.6 git branch.

joaosal
2016-11-10 16:01
has joined #general

joaosal
2016-11-10 16:03
hi all, is there a tutorial in order to start with hyperledger and deploy it in the cloud

meetrais
2016-11-10 16:12
has joined #general

meetrais
2016-11-10 16:16
Hi guys, Which Hyperledger/R3 based project is most suitable for case-studys related to second-level mortgage based banks, any inputs will be a great help. Some of the case-studys includes Bonds, Securitization etc.

cypher
2016-11-10 16:22
Is there any SDK available for crypto-currency type use case? I mean it should be readily consumable by a front-end designed to make a simple peer-to-peer crypto currency transactions. I came up with a PHP based SDK for this purpose but it didn't work as expected. :disappointed:

bosalmi
2016-11-10 16:35
has joined #general

elsie
2016-11-10 16:36
has joined #general

nage
2016-11-10 18:04
has joined #general

romanj
2016-11-10 18:08
has joined #general

romanj
2016-11-10 18:12
:gem: :gem: :gem: :gem: :gem: :gem: . Hi Guys. I am Ethereum representative here. For any question or ideas I have created # channel. Every body welcome to join . :gem: :gem: :gem: :gem: :gem: :gem:

mmayorivera
2016-11-10 18:23
@anya - hi - can I store IoT data in a chaincode ? time series data?..

brewin_vaz
2016-11-10 18:24
has joined #general

mmayorivera
2016-11-10 18:27
hi everyone, Trying to find out if the chaincode can store information that will be feed by an IoT platform

mmayorivera
2016-11-10 18:28
i know that this command PutState will state back to the ledger , but will be able to store a lot of data??

mmayorivera
2016-11-10 18:28
anybody please..

wawrzek
2016-11-10 19:09
@meetrais - It’s going to be much easier to talk about R3 Corda in less than 3 weeks, when the process of open souring going to be finish.

wawrzek
2016-11-10 19:12
and hello @romanj

sri_narayanan
2016-11-10 20:03
I have pulled the docker images for peer and membership service from docker hub. I presume these images are v 0.6. I am trying to figure out location of 0.6 git repository that I need to clone for chain code development. Documentation at https://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/devenv/ suggests "git clone && scp -p -P 29418 :hooks/commit-msg fabric/.git/hooks/ " I do not have LFID and I am not sure if this references the v 0.6 code. Appreciate any help.


garisingh
2016-11-10 20:05
I would just download and unzip

garisingh
2016-11-10 20:06
or `git clone https://github.com/hyperledger/fabric --branch v0.6 --single-branch`

sri_narayanan
2016-11-10 20:07
thanks

garry.polykoff
2016-11-10 20:42
has joined #general

kroisin
2016-11-10 20:43
has joined #general

divyank
2016-11-10 20:54
has joined #general

sneighbors
2016-11-10 23:02
has joined #general

dennism330
2016-11-10 23:49
has joined #general

souhailbakhti
2016-11-11 00:37
has joined #general

humblealex
2016-11-11 01:46
@jov Acctually you cannot. The current Getrows in table only support pulling out data by using the keys in the exact order you defined when creating the table. This means that you can only use the combination of key1, key1key2, key1key2key3, ... etc. The principle of the table is another way of putting state using keys. What GetRows really does is that Getting state from keys that contains key1, key1key2...

rain8010
2016-11-11 01:58
@pd93 sorry, I couldn't respond you immediately yesterday since I left the office.

rain8010
2016-11-11 01:58
There is no error when I rebuilt the peer. I use docker compose to run the 4 VPs.

rain8010
2016-11-11 01:59
The docker-compose.yml file is as follows:

rain8010
2016-11-11 01:59
vp0: image: hyperledger/fabric-peer environment: - CORE_PEER_ID=vp0 - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://172.17.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft command: peer node start vp1: extends: service: vp0 environment: - CORE_PEER_ID=vp1 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft links: - vp0 vp2: extends: service: vp0 environment: - CORE_PEER_ID=vp2 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft links: - vp0 vp3: extends: service: vp0 environment: - CORE_PEER_ID=vp3 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft links: - vp0

rain8010
2016-11-11 02:01
If I don't use the environment of 'CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN' in this file. The debug information tells that the noops is used.

rain8010
2016-11-11 02:01
So I am confused why this situation happened.

rain8010
2016-11-11 02:08
Is this a correct docker-compose configuration file above for constructing a 4-VP fabric network?

rain8010
2016-11-11 02:09
Sometimes I saw the debug information on the screen like 'vp3_1 | 02:08:40.772 [peer] handleChat -> ERRO 310 Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created'

chris.zhenghf
2016-11-11 03:40
has joined #general

jinyu
2016-11-11 03:44
How could I integrate customized CA into fabric??

charlesparasa
2016-11-11 04:41
has joined #general

charlesparasa
2016-11-11 04:43
Hi

charlesparasa
2016-11-11 04:43
I have recently deployed hyperledger fabric using cloudsoft AMP4

charlesparasa
2016-11-11 04:44
i would like to explore any web application example running on this fabrci

charlesparasa
2016-11-11 04:44
to understand technology

charlesparasa
2016-11-11 04:45
can anyone provide a web application on blockchain hyperledger

ankitkamra
2016-11-11 04:52
Hy All, As we know once we enrolled a user to CA and its token created after that we can't use same credentials it will give error of "Error: identity or token do not match" So, my question is that how can i reuse the token from client side using java sdk

ankitkamra
2016-11-11 05:06
@charlesparasa You may use this web application example :- https://github.com/IBM-Blockchain/cp-web

zemtsov
2016-11-11 05:14
@charlesparasa which version of fabric do you use?

arnabkaycee
2016-11-11 05:47
has joined #general

gymgle
2016-11-11 05:47
has joined #general

chris.zhenghf
2016-11-11 07:12
#fabric-dev

alanhopkins
2016-11-11 08:40
has joined #general

charlesparasa
2016-11-11 09:05
as i downloading sudo docker pull hyperledger/fabric-membersrvc:latest

charlesparasa
2016-11-11 09:05
I am downloading the latest version

charlesparasa
2016-11-11 09:05
@zemtsov

zemtsov
2016-11-11 09:06
@charlesparasa I’m afraid the sample mentioned above will not work on your images

zemtsov
2016-11-11 09:06
It was created to work on fabric v0.5

zemtsov
2016-11-11 09:07
a lot of things have changed in the latest version

charlesparasa
2016-11-11 09:11
can you please provide with the document for setup of the blockchain hyperledger in local system

charlesparasa
2016-11-11 09:11
I am using window 7

charlesparasa
2016-11-11 09:11
@zemtsov


jamessheen
2016-11-11 09:23
has joined #general

avk
2016-11-11 09:30
has joined #general

pd93
2016-11-11 09:33
@rain8010 No problem. I get the feeling we're in different timezones :stuck_out_tongue: You shouldn't be building your peer if you're trying to use docker-compose. Either you edit the core.yaml, build the peer and then run it from inside vagrant with "peer node start" OR you can run the docker-compose file, which will run the pre-built docker image with the settings you add to the compose file (At least that is my understanding).

ankitkamra
2016-11-11 10:19
hy all, i am using java sdk to implement demo over hyperledger fabric. I am able to communicate like user enrollment using http post but not able to communicate over grpc protocol

mihai.cimpoesu
2016-11-11 11:43
has joined #general

jov
2016-11-11 11:46
@humblealex thanks for the clarification

joaosal
2016-11-11 13:50
what the best way to implement hyperledger?

sumitks
2016-11-11 13:50
depends

sumitks
2016-11-11 13:51
if you just want to develop chain code and don't want to participate in fabric development then docker image is better option

sumitks
2016-11-11 13:52
else if you want to participate in fabric dev. then go via vagrant

jkilpatr
2016-11-11 15:43
@sumitks how exactly would you ship a blockchain app developed with fabric? The dev tooling seems very docker/vagrant based and without much if any documentation for actual native binaries which you would want to ship. Trying to make it all compatible with Red Hat land but having trouble figuring out where to start

jonathanlevi
2016-11-11 15:53
@jklepach let’s switch the discussion to the fabric channel? I can share some info about how my company has build a product on top of Fabric.

jkilpatr
2016-11-11 15:54
woops I'm confused

jverwaay
2016-11-11 16:12
has joined #general

yuwei
2016-11-11 17:28
has joined #general

echenrunner
2016-11-11 18:35
According to the last conversion i have, if you are thinking of 1G or more you going to have issue. one issue I can think of is each peers are on different network and load.

pfbergen
2016-11-11 20:05
has joined #general

06p087
2016-11-11 22:12
has joined #general

icordoba
2016-11-11 23:07
has joined #general

rajarajan
2016-11-12 04:49
has joined #general

robingoth
2016-11-12 11:21
has joined #general

antonio
2016-11-12 16:50
has joined #general

carlitofer
2016-11-12 16:51
has joined #general

aliciamcgarry
2016-11-12 18:42
has joined #general

buffaloe
2016-11-12 22:41
has joined #general

clox
2016-11-12 22:52
has joined #general

2016-11-12 22:59
@vibhu commented on @ryanpang’s file https://hyperledgerproject.slack.com/files/ryanpang/F2Y7B2BUK/hi__i_m_following_the_official_tutorial_to_build_sawtooth-core__but_i_encounter_this_error__may_i_know_what_am_i_missing_.txt: hmm .. are you using the VagrantFile in the /sawtooth-core/tools folder ... this is the one that sets up the vm correctly with the project folder which has the sawtooth-core/validator folder ...

rohitw
2016-11-12 23:50
has joined #general

itzi
2016-11-13 08:18
has joined #general

alanlee
2016-11-13 14:50
Quick Concept Question: "World state" in key-value database will only be calculated(deduced) locally at Validating Node, correct? It won't be transferred over network, correct? Thank you.

wqingbin
2016-11-13 16:02
has joined #general

cypher
2016-11-13 16:16
Hi all. I'm setting up fabric on 2 different servers, one for validating peer and another for CA. From the instructions given in https://hyperledger-fabric.readthedocs.io/en/latest/Setup/ca-setup, I see that to set up CA and VP on the same docker, we have to use docker-compose.yml as shown below. membersrvc: image: hyperledger/fabric-membersrvc command: membersrvc vp0: image: hyperledger/fabric-peer environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://172.17.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start" If I'm having CA and VP on different servers then how will the individual docker-compose.yml files look like?

tuand
2016-11-13 16:21
@alanlee correct

pisospro
2016-11-13 16:21
has joined #general

tuand
2016-11-13 16:23
@cypher you will need to specify the address:port for membersrvc in the peer core.yaml file

cypher
2016-11-13 17:43
@tuand Thanks. But to do that I should have the fabric source instead of the fabric-peer docker image right? Because I'm using the docker image currently.

tuand
2016-11-13 18:40
You can override the membersrvc config values in the docker-compose file, same as CORE_LOGGING_LEVEL for example

tuand
2016-11-13 18:43
On my phone so i can't look at core.yaml right now. But find out the keys for membersrvc address:port and override in docker-compose with CORE_whatever

cypher
2016-11-13 18:45
@tuand Sure. I'll look for it. Thanks :slightly_smiling_face:

5erj
2016-11-13 19:10
has joined #general

wangleitj
2016-11-13 19:49
has joined #general

planetmars
2016-11-13 21:46
has joined #general

ledger888
2016-11-13 23:24
has joined #general

blennon
2016-11-13 23:41
has joined #general

extremezi
2016-11-14 01:47
has joined #general

krew
2016-11-14 02:21
has joined #general

dougwatson
2016-11-14 03:35
has joined #general

dougwatson
2016-11-14 04:04
Question- I'm running on a macbook with this command: "docker-compose up"

dougwatson
2016-11-14 04:04
with this config:

dougwatson
2016-11-14 04:04
docker-compose.yml ```vp: image: hyperledger/fabric-peer ports: - "5000:5000" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://127.0.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG command: peer node start```

dougwatson
2016-11-14 04:06
It starts up OK but I can't query it:

dougwatson
2016-11-14 04:06
curl http://localhost:5000/chain curl: (52) Empty reply from server

dougwatson
2016-11-14 04:08
Has anyone has seen this problem on a Mac before? I'd like to query the blockchain I just started up on Docker, but keep coming up empty.

dougwatson
2016-11-14 04:10

mrbuggy
2016-11-14 04:57
Concept question here! In the membership services, which data about the user (ie. client, validator, peer, auditor) is saved in its local storage? I know that the username and password are saved there. Is there anything else saved about the user? Thank you!

aybek
2016-11-14 06:02
HI, I've updated fabric from git. Now i can not start peer node. I get [committer] NewDeliverService -> ERRO 05a Cannot dial to 127.0.0.1:5005. How can i fix this ?

jared
2016-11-14 06:05
@aybek

jared
2016-11-14 06:06
I think you need to get the real container IP address instead of 127.0.0.1

aybek
2016-11-14 06:20
@jared that didn't change anything

jared
2016-11-14 06:22
what's your docker-compose.yml?

warm3snow
2016-11-14 06:27
@aybek I think it's Port problem. Your ./peer version may be different with the peer images.

ankitkamra
2016-11-14 06:29
Hey everyone, i am running fabric 0.6 with tls enable for rest services. I am getting error :- x509: certificate has expired or is not yet valid.| Can anyone please help me to resolve the issue.

hernan.theiler
2016-11-14 07:14
has joined #general

py
2016-11-14 07:31
has joined #general

rexfong
2016-11-14 08:03
has joined #general

cypher
2016-11-14 08:12
Why aren't the changes to the state variables caused by any chaincode method being logged as a part of transaction? What I see in the payload of any transaction is just the base64 encoding of the description which contains (1) Chaincode ID (2) the method invoked, and (3) the arguments passed to it.

drizzentic
2016-11-14 08:49
has joined #general

aybek
2016-11-14 08:53
@jared I'm using vagrant. docker-compose.yml not used with vagrant right ?

zemtsov
2016-11-14 08:54
you can download images and start them with docker-compose within vagrant also

jinyu
2016-11-14 09:06
for chaincode development, I want to customize error return in invoke call, but it always return “ok” and transaction id even I write like “ return nil, errors.New("Received unknown function invocation”) " , for query method ok, but could we get customize error return from invoke?? thanks

wid
2016-11-14 09:09
has joined #general

miguelvaz
2016-11-14 09:48
has joined #general

ahmedelhajji
2016-11-14 09:56
@aybek vagrant and docker two different things vagrant work with Virtual machine and docker work with container you can not use both because they are two different components

ahmedelhajji
2016-11-14 09:57
@aybek and docker-compose.yml is juste file or you can specify the containers

madhavi
2016-11-14 09:57
@ahmedelhajji In vagrant, how to run multiple peers?

ahmedelhajji
2016-11-14 09:59
@madhavi im using peers but with docker

madhavi
2016-11-14 10:02
docker peers will run inside vagrant or separately

madhavi
2016-11-14 10:02
can u have any links which will help to work with docker peers?

ahmedelhajji
2016-11-14 10:03
ok but you can not use both vagrant and docker


ahmedelhajji
2016-11-14 10:04
use option 2 with docker

madhavi
2016-11-14 10:05
option 2 for windows or macs right , i am using ubuntu

ahmedelhajji
2016-11-14 10:05
and make sure to install the good versions

ahmedelhajji
2016-11-14 10:05
im using ubuntu to ;)7

ahmedelhajji
2016-11-14 10:06
:wink:

madhavi
2016-11-14 10:07
i followed the same think but inside vagrant i did

aybek
2016-11-14 10:08
@ahmedelhajji is Fabric peer server version 0.7.0-snapshot-7e7e23c stable ? or better use version 0.6.0 ?

ahmedelhajji
2016-11-14 10:13
i thinks is better to use version 0.6.0

ahmedelhajji
2016-11-14 10:14
because i used 0.6.1 but this version its not stable at all

josephchang
2016-11-14 10:54
Hi , Does any one know the CORE_VM_ENDPOINT of IBM container on Bluemix? I can deploy the ibmblockchain image https://hub.docker.com/u/ibmblockchain/ on Bluemix container. The fabric-peer container runs fine. But when I deploy chaincode_example2, I fail in setting correct VM_ENDPOINT. I have tried http://172.32.0.1:2375 ,https://virtualmachines.ng.bluemix.net , https://containers-api.ng.bluemix.net, https://mccp.ng.bluemix.net. Neither one of them work. The environment is just for testing purpose. Just want to see if anybody have ever try to do this and have the answer.

jack.mclear
2016-11-14 11:17
has joined #general

cypher
2016-11-14 12:03
Getting the following response while registering a user through a VP. Any idea how to fix this? { "Error": "rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure" } Got these from the docker-compose logs: vp0_1 | 11:59:58.882 [crypto] Errorf -> ERRO 04b [client.admin] Failed requesting read certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. vp0_1 | 11:59:58.882 [crypto] Errorf -> ERRO 04c [client.admin] Failed requesting ECA certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. vp0_1 | 11:59:58.882 [crypto] Errorf -> ERRO 04d [client.admin] Failed getting ECA certificate [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. vp0_1 | 11:59:58.883 [crypto] Errorf -> ERRO 04e [client.admin] Failed retrieving ECA certs chain [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. vp0_1 | 11:59:58.883 [crypto] Errorf -> ERRO 04f [client.admin] Failed registering node crypto engine [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. vp0_1 | 11:59:58.883 [crypto] Errorf -> ERRO 050 [client.admin] Failed registering client [admin]: [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure] vp0_1 | 11:59:58.883 [crypto] RegisterClient -> ERRO 051 Failed registering client [admin] with name [admin] [rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure]. vp0_1 | 11:59:58.884 [rest] Register -> ERRO 052 Error on client login: rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure vp0_1 | 2016/11/14 11:59:58 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::1]:7054: getsockopt: connection refused"; Reconnecting to {"localhost:7054" <nil>}

vineett
2016-11-14 12:20
has joined #general

ercw
2016-11-14 12:58
when do you guys think v1 will be ready? 2017 Q1, Q2, Q3? any date planned?

rambo.amadeus
2016-11-14 13:05
has joined #general

ivglavas
2016-11-14 13:57
has joined #general

eetti
2016-11-14 14:06
has joined #general

pd93
2016-11-14 14:24
@ercw I think they're aiming for end of Q1, but things change https://jira.hyperledger.org/secure/attachment/10056/FabricNext-Community.pdf

ercw
2016-11-14 14:46
thanks @pd93

angelnu
2016-11-14 14:55
has joined #general

wid
2016-11-14 15:07
Hi all, I would like to make chaincode tests calling CreateTable, InsertRow, etc, on v0.6, I tried several things to backport the master version but it doesn’t work nicely. Any advise on how to test with DB functions ?

tjhsu
2016-11-14 15:32
has joined #general

bjanardhanan
2016-11-14 16:02
Hello everyone... I am highly interested in blockchain but having trouble understanding where to start. Can someone guide as to a good place to start to understand blockchain's internals & flows? And on how to develop apps on top of blockchains using Hyper ledger?

bjanardhanan
2016-11-14 16:02
Thank you very much

ingvild
2016-11-14 16:22
has joined #general

jdockter
2016-11-14 16:30
@bjanardhanan ...when I started I was given this link https://wiki.hyperledger.org/community/fabric-design-docs , hope it helps

bjanardhanan
2016-11-14 16:46
@jdockter Thank you, will check it out.

david.koppe
2016-11-14 17:00
has joined #general

fan.torchz
2016-11-14 18:42
has joined #general

eryandr
2016-11-14 20:08
has joined #general

ravi-katikala
2016-11-14 20:37
has joined #general

tzukru
2016-11-14 20:48
Hello, I wonder if there is a way to get member transaction history by using fabric-sdk-java or chaincode. Second, I also want to get a member’s assets by using TableExample (Table: AssetsOwnership, Columns: Asset{key}, Owner) in the examples package, but key column is unique and I can't get multiple rows as a result of stub.getRow method. For instance, insert rows {{Asset1, Owner1}, {Asset2, Owner1}, {Asset3, Owner2}} and want to getRows that has Owner1 at Owner column.

dbpope
2016-11-14 21:34
has joined #general

jeffmenso
2016-11-14 22:01
has joined #general

tbenzies
2016-11-14 23:04
We have secured a venue for the December Hackfest in New York (Manhattan) for December 5th & 6th. Please register at your earliest convenience. https://www.regonline.com/hyperledgerhackfestdecember2016

06p087
2016-11-14 23:08
Guys, noob here... looking for resources to understand how Hyperledger works. Just went thru the link in the post by @jdockter above. Wondering if there's a slightly less technical doc that I could refer to? https://hyperledgerproject.slack.com/archives/general/p1479141053004680

joshhus
2016-11-14 23:21
Hyperledger docs, at various levels of technical depth: http://hyperledger-fabric.readthedocs.io/en/latest/

daniel.hardman
2016-11-15 00:48
has joined #general

kenji-isuntv
2016-11-15 02:34
has joined #general

wei_isuntv
2016-11-15 02:43
has joined #general

anoochit
2016-11-15 03:37
has joined #general

newdev2524
2016-11-15 03:41
has joined #general

mariol100
2016-11-15 04:00
has joined #general

newdev2524
2016-11-15 04:16
Hi, I'm a beginner on Hyperledger trying to register new user to membership services. I tried to run the example node.js in starter container to add user "JohnDoe" predefined in the code and found no problem when running. As I noticed, after running, member.JohnDoe file was created in /tmp/keyValstore directory but I can't use the enrollment secret located in the file to enroll that user via RESTAPI. "Error": "rpc error: code = 2 desc = Identity or token does not match.", it said. The status of this user is also not logged in. Could someone please advice on this? Thanks P.S. As I noticed, there is ecert_JohnDoe file generated in /tmp folder in membersrvc node but no enrollment.key file generated in /var/hyperledger/production/crypto/client/JohnDoe/ks/raw folder in peer node.

ankitkamra
2016-11-15 04:22
@newdev2524 By default, this is one time use enrollment id and secret. so you can't reuse it to login

ankitkamra
2016-11-15 04:23
try two things remove directory /var/hyperledger/production on memebersrvc peer and remove /tmp/keyValstore file

ankitkamra
2016-11-15 04:23
then you will be able to use that enrollment id and secret again

newdev2524
2016-11-15 04:38
@ankitkamra Many thanks for your advice. another question is why the status of that user was not logged in. Can we make the status persistent for running another chaincode? (as I tried to understand the code in node.js file, we haven't logged out that user after running example chaincodes). I have no idea how to register the user permanently online instead of putting into the membersrvc.yaml file.

ankitkamra
2016-11-15 04:47
@newdev2524 according to my current knowledge, there is no way to make it persistent. You can register user online using HFC. just install using command npm install hfc

ankitkamra
2016-11-15 04:49
because of according to hyperledger architecture its gives one time password using which when you login CA server issues crypto token. In which a part exist on server side in /var/hyperledger/production/.membersrvc and another part on client side /tmp/keyValstore so you need to clear on both side if you want to reuse the token

newdev2524
2016-11-15 05:00
@ankitkamra the sample node.js file uses HFC. just wonder why the sample can run multiple chaincodes until the end of node.js file after running registerAndEnroll Function in there. When was the token (or status) not valid/disappear). Another thing, why we can make the status always "logged in" after enrollment for the users located in membersrvc.yaml file). Can we do like that for user registered online?

ankitkamra
2016-11-15 05:05
@newdev2524 which node.js sample, you are running ?

ankitkamra
2016-11-15 05:05
and when both side token exists it gives message on peer "USER Already logged in"

newdev2524
2016-11-15 05:10
@ankitkamra in the "starter" container (/opt/gopath/src/github.com/hyperledger/fabric/examples/sdk/node) but it seems we can get it from membersrvc or peer node as well. Is it possible that when we register the user online, it gives us the token which valid only for one chaincode name ? that makes it different from the user registered permanently in membersrvc.yaml file?

ankitkamra
2016-11-15 05:13
@newdev2524 As we know there is a common CA server so by default when a user get token it will be able to invoke any chaincode by chaincode id.

ankitkamra
2016-11-15 05:14
there must be an access control mechanism to do this currently i am doing POC for that so i am sory

ankitkamra
2016-11-15 05:14
sorry

ankitkamra
2016-11-15 05:14
i cant help you in that at this moment

newdev2524
2016-11-15 05:16
@ankitkamra If so, how can we make the user always "logged in" when registers and enrolls online (use HFC) like when we do for offline (membersrvc.yaml file) and enroll? Thank you very much for your kind response anyway : ) . Anybody else can help answer on this ?

ankitkamra
2016-11-15 05:21
@newdev2524 it supports by default, just try one thing create a new user and get token by login after then retry to login there will be message on ca and peer "User is already logged in" and hence there is token on both side you will be able to invoke chaincode. just do implementation in node.js application whatever message you want to show to end user.

ankitkamra
2016-11-15 05:23
As well as when a user is already logged in and you try to login again using rest you will get json response with error message "User is already logged in" so, depending on this response you can do your own implementation in frontend application .

newdev2524
2016-11-15 05:38
@ankitkamra i tried to register and enroll via hfc and enrolled again using REST. REST got "Identity or token doe not match" instead of " USER already logged in " That's the situation I asked you. Is it possible that we can use only one channel (REST or HFC) for one specific user?


ankitkamra
2016-11-15 05:43
according to this in relogin situation it will give messages like "Identity or token doe not match" or "User is already logged in" to make it consistent you need to check fabric code

newdev2524
2016-11-15 05:47
@ankitkamra Another question ... when we did enroll via hfc, why we did't get enrollment.key file in /var/hyperledger/production/crypto/client/JohnDoe/ks/raw like other users in membersrvc.yaml

ankitkamra
2016-11-15 05:50
Because that user are registered with membersrvc service you have not enrolled in yet for understanding, its like user exist in database but you have not logged in yet

ankitkamra
2016-11-15 05:50
whenever you will login you will get similar file

newdev2524
2016-11-15 05:57
@ankitkamra: I already enrolled via registerandEnroll function (HFC) before running the chaincode (invoke, query) with success but didn't get enrollment.key file

ankitkamra
2016-11-15 06:00
@newdev2524 okay i need to check it, i will get back to you if i got the answer

newdev2524
2016-11-15 06:00
@ankitkamra: thank you so much

ankitkamra
2016-11-15 06:01
@newdev2524 you're welcome :slightly_smiling_face:

abhishekseth
2016-11-15 06:01
Hey all, I am running with a setup which has two peers running on two different physical machines. When security was not enabled, i was able to have communication between them. But now, I have security enabled and now the peers are not able to communicate and it is giving certification error. I am using the following docker-compose.yaml file: # membersrvc: # image: hyperledger/fabric-membersrvc # ports: # - "50051:50051" # - "7054:7054" # command: membersrvc vp1: image: hyperledger/fabric-peer ports: - "5000:5000" - "7051:7051" - "7050:7050" - "30303:30303" - "30304:30304" environment: - CORE_PEER_ADDRESSAUTODETECT=false - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp1 - CORE_SECURITY_ENABLED=true #- CORE_SECURITY_PRIVACY=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT - CORE_PEER_DISCOVERY_ROOTNODE=9.109.251.105:7051 - CORE_PEER_PKI_ECA_PADDR=9.109.251.105:7054 - CORE_PEER_PKI_TCA_PADDR=9.109.251.105:7054 - CORE_PEER_PKI_TLSCA_PADDR=9.109.251.105:7054 - CORE_CHAINCODE_DEPLOYTIMEOUT=180000 # - MEMBERSRVC_CA_ACA_ENABLED=true volumes: - /var/run/docker.sock:/var/run/docker.sock # links: # - membersrvc command: sh -c "sleep 5; peer node start” Any help is appreciated.

ankitkamra
2016-11-15 06:03
@abhishekseth What error are you facing ??

newdev2524
2016-11-15 06:27
@ankitkamra just for your information. running the registerAndEnroll in node .js file doesn't return the enrollment.key and related files in peer node. The token doesn't match when enrolled again via REST. The user wasn't already logged in as well function enroll() { console.log("enrolling user admin ..."); // Enroll "admin" which is preregistered in the membersrvc.yaml chain.enroll("admin", "Xurw3yU9zI0l", function(err, admin) { if (err) { console.log("ERROR: failed to register admin: %s",err); process.exit(1); } // Set this user as the chain's registrar which is authorized to register other users. chain.setRegistrar(admin); var userName = "JohnDoe"; // registrationRequest var registrationRequest = { enrollmentID: userName, affiliation: "bank_a" }; chain.registerAndEnroll(registrationRequest, function(error, user) { if (error) throw Error(" Failed to register and enroll " + userName + ": " + error); console.log("Enrolled %s successfully\n", userName); deploy(user); }); }); }


abhishekseth
2016-11-15 06:37
@ankitkamra , above is the screen shot of the error.

ankitkamra
2016-11-15 06:55
@abhishekseth error is about certificate is expired.

ankitkamra
2016-11-15 06:55
certificate location is ./bddtests/tlsca.cert

ankitkamra
2016-11-15 06:56
Checkout start and end date of certificate and try by changing your system date that must be in between start and end date of certificate

ankitkamra
2016-11-15 06:57
another option is to create a new certificate with same cipher and try with that certificate

ankitkamra
2016-11-15 06:58
You may get certificate dates and cipher info using openssl command if you are working in unix environment

bain
2016-11-15 08:50
I'm using fabric v0.6.1 via docker in production mode, I can deploy chaincode by peer command successfully. but failed when I do deploy operation with HFC. The chaincode container can not be started, I found the log of docker container as below. src/build-chaincode/hello.go:6:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: /opt/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH) It seams chaincode compile error because the docker container has no fabric environment. Related docker containers' names are "jovial_chandrasekhar" and "serene_hypatia". Related docker image name is "b1d7277763ad". Only Production mode, DEV mode is no problem. Anyone can help? Thanks.

zemtsov
2016-11-15 08:52
hi @bain. Probably you need to vendor you code

bain
2016-11-15 08:54
hi @zemtsov . My code has been involved into the peer container by volumes setting. I can do the same deployment operation with peer command and RESTful API in the same environment.

bain
2016-11-15 08:56
As we known, the RESTful API maybe be removed in v1.0. I'm transferring my demo app from REST API to HFC.

zemtsov
2016-11-15 08:57
I tried to deploy my chaincode into peers running from docker images via HFC and one of problems I met related to vendoring

bain
2016-11-15 08:59
I can compile the chaincode in peer container now. But the HFC will run another container to build chaincode, but it seams that the build container has no fabric to compile chaincode.

yls
2016-11-15 09:05
Hi all, i would like to know whether the latest code can be run successfully as the v0.6? If I want to run successfully must return back to v0.6?

zemtsov
2016-11-15 09:05
@bain, can you show the log?

abhishekseth
2016-11-15 09:15
@ankitkamra , I opened that tlsca.cert file. But obviously it is encrypted file. How do i get the information about date from this file?

bosco
2016-11-15 10:10
has joined #general

r4v4n
2016-11-15 10:18
Hi all. Trying to understand discovery protocol code. Whats the payload for DISC_GET_PEERS message?

liutc
2016-11-15 10:21
has joined #general

ankitkamra
2016-11-15 10:32
@abhishekseth use command "openssl x509 -enddate -noout -in <path to cert file>"

ankitkamra
2016-11-15 10:33
you can get startdate too using -startdate switch

kesik
2016-11-15 11:09
has joined #general

abhishekseth
2016-11-15 11:38
@ankitkamra , I tried to see the content of the file. It says the certificates were valid till April 2016 only. There are two doubts now. 1. How do I extend the expiry date for this? 2. If it was already expired, how am I able to run all these security enabled things in one peer on one machine setup instead of "two machines setup” ?

stdo
2016-11-15 14:23
has joined #general

wid
2016-11-15 15:51
Hi, should function argument from invoke contains “invoke” or should it contains the requested chaincode business method (ex: GetUser)?

aivachine
2016-11-15 15:53
has joined #general

rosh
2016-11-15 16:20
has joined #general

qjawe
2016-11-15 16:58
has joined #general

qjawe
2016-11-15 16:59
Hi all..

qjawe
2016-11-15 17:00
I am a nobody and newbie to Hyperleger community..

qjawe
2016-11-15 17:01
We used IBM Bluemix Blockchain Hyperleger and won the Startup Bootcamp Fintech Hackathon 2016 Singapore for Best Technical Solution award..





qjawe
2016-11-15 17:08
I'm looking for developers who are interest to develop on #SimDa or want to go on this startup journey by using Hyperleger? Please reach me via Private Message or http://Twitter.com/qjawe or http://Facebook.com/qjawe or http://qjawe.com

lenh
2016-11-15 17:11
FYI - The FB link you posted is not working

yacovm
2016-11-15 17:11
oh look who suddenly came back from the dead

lenh
2016-11-15 17:11
hahaha

lenh
2016-11-15 17:12
how are you @yacovm

yacovm
2016-11-15 17:13
working :computer:

lenh
2016-11-15 17:13
know the feeling :slightly_smiling_face:


lenh
2016-11-15 17:26
Your link now works....

oliverchristie
2016-11-15 17:30
has joined #general

jljordan_bc
2016-11-15 17:30
has joined #general

qjawe
2016-11-15 17:35
Lovely @lenh

yacovm
2016-11-15 17:37
can you explain in a few words what is the use case of simDa?

yacovm
2016-11-15 17:37
and how it is related to hyperledger fabric

qjawe
2016-11-15 17:43
@yacovm #SimDa I using IBM Bluemix Blockchain Hyperleger Technology to record the transcription or transactions Where I still looking for a protocol or standard like ripple to move physical currency or digital currency..

qjawe
2016-11-15 17:46
#SimDa solution is P2P payment for Ecommerce API under IBM bluemix Hyperleger technologies with a working prototype and had done live transactions..

yacovm
2016-11-15 17:46
why are you prefixing with a hash tag all the time? it's part of the name?

qjawe
2016-11-15 17:48
Is there anyway I could create my own Hyperleger enterprises nodes and networks by using Google Cloud?

yacovm
2016-11-15 17:49
what's wrong with bluemix?

qjawe
2016-11-15 17:49
@yacovm because SimDa doesn't have any website nor any social media accounts yet!! So the best fix will be #SimDa

qjawe
2016-11-15 17:51
There nothing wrong with IBM bluemix, they are amazing Hyperleger codes.. Just in case enterprises customers need another option or widen my Hyperleger knowledge

alvinjin
2016-11-15 19:10
has joined #general

loic
2016-11-15 19:19
has joined #general

loic
2016-11-15 19:36
Hello, I am trying to build the hyperledger fabric on ppc64le using the setupUbuntuOnPPC64le.sh and I run into some issues with during the “make dist-clean all” step (something related to protobuf). Which channel is the best to discuss and troubleshoot this build problem ?

sako
2016-11-15 21:05
has joined #general

jacob_miller
2016-11-15 21:34
has joined #general

fan.torchz
2016-11-15 23:22
Hi, is there a latest documentation for v1.0 yet, it seems like readthedocs is totally out of date now... Want to know how the new fabric-API and fabric-COP work together.

warm3snow
2016-11-16 01:14

martin
2016-11-16 01:40
has joined #general

yls
2016-11-16 03:11
// ProcessTransactionMsg processes a Message in context of a Transaction func (eng *EngineImpl) ProcessTransactionMsg(msg *pb.Message, tx *pb.Transaction) (response *pb.Response) { return nil }

ankitkamra
2016-11-16 03:17
Hey, fabric use which protocol for broadcast ? is this UDP ?

bain
2016-11-16 03:55
@zemtsov I'd tried to vender my chaincode, but not worked. "vendor init" can make vendor.json, "vendor fetch" can not make any changes.

bain
2016-11-16 03:57

bingshao
2016-11-16 04:11
has joined #general

raghurambala
2016-11-16 05:14
has joined #general

hungnguyen
2016-11-16 05:51
has joined #general

hieudd3
2016-11-16 06:19
has joined #general

zemtsov
2016-11-16 07:18
@bain are you sure `vendor fetch` downloaded required package?

bain
2016-11-16 07:18
I executed "vendor fetch ", but not any effects.

bain
2016-11-16 07:19
{ "comment": "", "ignore": "test", "package": [], "rootPath": "chaincodes/hello" }

bain
2016-11-16 07:20
my golang is v1.7.3

bain
2016-11-16 07:21
I run it in docker container(golang v1.6), still not worked.

bain
2016-11-16 07:22
@zemtsov can I copy fabric into vendor folder?

zemtsov
2016-11-16 07:22
it is `govendor` :slightly_smiling_face:

bain
2016-11-16 07:23
yes, I run "govendor fetch http://github.com/hyperledger/fabric"

bain
2016-11-16 07:23
does not work

bain
2016-11-16 07:23
govendor -version -> v1.0.8

zemtsov
2016-11-16 07:25
try to make `govendor add +external`

zemtsov
2016-11-16 07:26
it should add all dependencies to `vendor` folder

zemtsov
2016-11-16 07:26
and after it `govendor fetch http://github.com/hyperledger/fabric/peer`

ankitkamra
2016-11-16 07:28
Hi all, How to do access or role management in fabric?

chungbd
2016-11-16 07:34
has joined #general

jonathanlevi
2016-11-16 07:36
@ankitkamra: Provided some pointers in #fabric and invited you also to #membership-services. Hope this helps!

ankitkamra
2016-11-16 07:40
@jonathanlevi thanks

bain
2016-11-16 07:44
@zemtsov it works. Thank you very much!!! :heart:

zemtsov
2016-11-16 07:45
@bain good luck

aaronliu
2016-11-16 08:12
has joined #general

szczepan
2016-11-16 09:32
has joined #general

hoya
2016-11-16 09:35
has joined #general

michaelh
2016-11-16 09:43
has joined #general

jm
2016-11-16 10:29
has joined #general

adelcasse
2016-11-16 11:36
has joined #general

eagel
2016-11-16 12:41
has joined #general

ajayjadhav
2016-11-16 13:07
has joined #general

barotashish
2016-11-16 13:32
has joined #general

raghu
2016-11-16 13:58
has joined #general

sankar
2016-11-16 14:03
has joined #general

pvinayak
2016-11-16 14:04
has joined #general

david_coinfabrik
2016-11-16 14:52
has joined #general

jdipiazz
2016-11-16 15:16
has joined #general

emtrevin
2016-11-16 16:30
has joined #general

daviman
2016-11-16 16:37
has joined #general

ahmedelhajji
2016-11-16 16:39
Hello I have a problem connecting to my server via rest, there is anyone who has an exchange with rest using Guzzle?

david_coinfabrik
2016-11-16 17:33
Hi, I'm following the hyperledger docs (http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#running-the-validating-peer) At the this point I stuck: cd $GOPATH/src/github.com/hyperledger/fabric/peer peer network login <username> <username> is expected to be in membersrvc.yaml but it's missing: https://github.com/hyperledger/fabric/blob/master/membersrvc/membersrvc.yaml Further: make membersrvc gives this error: make: *** No rule to make target 'membersrvc'. Stop. Thanks for help!

ir8jim
2016-11-16 17:46
has joined #general

ddb
2016-11-16 20:05
has joined #general

jappwilson
2016-11-16 20:27
@david_coinfabrik what directory are you running the make command from?

liv
2016-11-16 20:54
has joined #general

keyturn
2016-11-16 20:54
has joined #general

davidkarlsen
2016-11-16 21:08
has joined #general

adnan
2016-11-16 21:11
has joined #general

rboyd
2016-11-16 21:21
has joined #general

cvdg
2016-11-16 21:28
has joined #general

marinar
2016-11-16 22:21
has joined #general

icordoba
2016-11-16 22:44
Hello...mmm... in "Java Chaincode Setup" part of the docs explains that I need to use "vagrant", which I didn't install as I want to go directly to the Docker / docker-compose approach. Is there a way to get into Java chaincode development without using vagrant? Also, second question, I see that the example references $GOHOME when talking about gradle. Do I need to install and use GO language to deal with Java chaincode programming? Thanks for any directions.

jkimball
2016-11-16 22:58
has joined #general

iiiv
2016-11-17 00:13
Hello all I am Andre from Jamaica, WHAT does this statement mean? Smart contracts are for blockchain use cases which can’t be implemented with transaction constraints.

arvin
2016-11-17 02:03
abric/devenv (master) $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'hyperledger/fabric-baseimage' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: 0.2.1 The box 'hyperledger/fabric-baseimage' could not be found or could not be accessed in the remote catalog. If this is a private box on HashiCorp's Atlas, please verify you're logged in via `vagrant login`. Also, please double-check the name. The expanded URL and error message are shown below: URL: ["https://atlas.hashicorp.com/hyperledger/fabric-baseimage"] Error:

arvin
2016-11-17 02:05
Can anyone help me

wangdayong9966
2016-11-17 02:44
has joined #general

yls
2016-11-17 03:46
Hi, when i run './cop client enroll admin adminpw http://localhost:8888 ../testdata/csr.json' in fabric-cop, there was an error 'failure unmarshalling 'Certificate request': json: cannot unmarshal object into Go value of type csr.KeyRequest' on fabric-cop/cli/client/enroll.go line:83. I found the csr.CertificateRequest.KeyRequest is interface type, when unmarshal json to the field, it's wrong. How can i do?

piyo
2016-11-17 04:52
has joined #general

xohzzwn6kcj9
2016-11-17 04:56
has joined #general

syyama
2016-11-17 07:18
has joined #general

arvin
2016-11-17 07:55
How do I deploy COP and fabric (peer, order) in the latest version now? or how do i change my docker-compose config

arvin
2016-11-17 07:56
@warm3snow @ghaskins @ghaskins

arvin
2016-11-17 07:57
Can anyone help me,thanks

nhipta
2016-11-17 08:06
has joined #general

tbltzk
2016-11-17 08:34
Hi all! Noob question: I want to evaluate building apps on hyperledger. I've started with https://github.com/IBM-Blockchain/learn-chaincode and compiled the example chaincode. However I aborted because I felt like I have to know more about the different blockchain implementations withing hyperledger first. How does fabric compare to sawtooth? What other blockchain implementations are there, and what use cases do the address specificly? - My preferred (but not only) use case is IoT related, e.g. have a device react to the state of a smart contract - I like the idea of ethereum's solidity as a special purpose language for smart contracts

nikitakuzmenko
2016-11-17 08:36
has joined #general

imarkus
2016-11-17 09:02
has joined #general

daivd.yan
2016-11-17 09:37
has joined #general

mutahi
2016-11-17 09:46
has joined #general

nikola
2016-11-17 10:53
has joined #general

sukhoi
2016-11-17 12:15
now,I git clone fabric again,and there's no membersrvc,

sukhoi
2016-11-17 12:15
why?

yannik
2016-11-17 12:31
Same here, I can't find the membersrvc anymore.

nao2001
2016-11-17 12:38
has joined #general

pd93
2016-11-17 12:38
@sukhoi @yannik

sukhoi
2016-11-17 12:39
I see ,thank U!

sukhoi
2016-11-17 12:43
@pd93 But I wonder How to issue kinds of CA .

yannik
2016-11-17 12:56
So, I've just tried the latest peer-v1.0 to work with the membersrvc-v0.6 but get an error: `12:41:48.445 [nodeCmd] serve -> CRIT 0bb Failed creating new peer with handler Security helper not provided` (just dropped in the newest peer instead of the old in my docker-compose file). What could I do to have the security enabled with the newest peer?

keithsmith
2016-11-17 13:49
@arvin the simplest way for now to install COP is as follows

keithsmith
2016-11-17 13:49

keithsmith
2016-11-17 13:49

keithsmith
2016-11-17 13:49
# mv $GOPATH/bin/cli $GOPATH/bin/cop

keithsmith
2016-11-17 13:51
We will be changing the cli directory name to cop so the rename isn't needed, unless someone knows how to cause go get to name the executable something other than final directory name

keithsmith
2016-11-17 13:51
we can provide a docker compose in future

snuupy
2016-11-17 13:52
has joined #general

jo.vanroy
2016-11-17 14:41
has joined #general

anthonymo
2016-11-17 14:46
has joined #general

amerus
2016-11-17 14:55
has joined #general

vshaparau
2016-11-17 16:41
has joined #general

christa
2016-11-17 18:08
has joined #general

blockmatrix
2016-11-17 18:21
has joined #general

danielle_hancock
2016-11-17 18:40
has joined #general



streich
2016-11-17 19:26
has joined #general

wisam.mohammed
2016-11-17 19:37
has joined #general

todo
2016-11-17 19:58
FYI, the "run_lint" command has some nice refinements that can reduce the time it takes to run, etc.:


oleksbor
2016-11-17 20:23
has joined #general

ramiromagalhaes
2016-11-17 21:35
has joined #general

bealdh
2016-11-17 21:46
has joined #general

mcenatie
2016-11-17 22:11
has joined #general

lceeba
2016-11-18 02:06
has joined #general

kb_slack
2016-11-18 03:16
has joined #general

dramma
2016-11-18 03:38
has joined #general

newdev2524
2016-11-18 04:19
How can we retrieve "Affiliation" value in membersrvc.yaml file by using GO? I found some function (getCertAttribute) in example chaincode that can retrieve "attribute value" from Cert. by supplying "attribute name". Is there any parameter or function for "Affiliation"?

patrickeig
2016-11-18 06:16
has joined #general

nvenkatesh
2016-11-18 06:39
has joined #general

teddy
2016-11-18 07:23
can we test the source code in application enviroment? i use docker-tool-box to set up the enviroment. now i am following the source code in pbft.

ypqu
2016-11-18 08:07
has joined #general

bjwt
2016-11-18 08:47
has joined #general

zainx01
2016-11-18 09:43
has joined #general

adeelqureshi
2016-11-18 09:47
Hi Fellows, Does any one have setup an instruction manual or pointers on how to setup Hyperledger Networks (two peers) with membership services Without bluemix and on local machine(s)

virajk
2016-11-18 09:47
has joined #general

oliver
2016-11-18 09:51
has joined #general

adeelqureshi
2016-11-18 09:54
I have two VMs provisioned and would like to give it a try without using bluemix or pre-build docker containers , need this to be able to estimate the effort and complexity required for PoC costing if the client wants data on-prem

ftaranto86
2016-11-18 11:39
has joined #general

vanderham
2016-11-18 11:59
has joined #general

siddharth
2016-11-18 12:07
has joined #general

jaffas
2016-11-18 12:19
has joined #general

jworthington
2016-11-18 15:38
has joined #general

huineng
2016-11-18 16:51
has joined #general

pkukutla
2016-11-18 17:35
has joined #general

jasyao
2016-11-18 17:45
has joined #general

marcclaes
2016-11-18 17:46
has joined #general

txciggy
2016-11-18 19:44
has joined #general

ledger888
2016-11-18 19:54
Hi @arvin I'm running into the same problem with not being able to access baseimage. Were you able to solve it?

jpleboue
2016-11-18 20:13
has joined #general

bjloewen
2016-11-18 20:37
has joined #general

marianonegri
2016-11-18 20:50
has joined #general

kent_landholm
2016-11-18 21:20
I just fired up Blockchain env on BlueMix. Looks like a good place to get started. More later....

al.sharan
2016-11-18 22:08
has joined #general

isramos
2016-11-18 22:41
has joined #general

baljeetdogra007
2016-11-18 22:42
has joined #general

shenthilkumarck
2016-11-19 04:10
@ledger888 ,try to pull the recent base image from docker then mark that as latest base image. It will solve the your problem.

ledger888
2016-11-19 04:53
Thanks @shenthilkumarck, but I think I have an issue with the Vagrant or VirtualBox installation. I can't even get the Getting Started tutorial of Vagrant to work.

shenthilkumarck
2016-11-19 04:54
@ledger888, hope you are not using the

shenthilkumarck
2016-11-19 04:54
Latest version 1.0 it is under development

shenthilkumarck
2016-11-19 04:55
It will working fine upto 0.6.1 preview version

ledger888
2016-11-19 04:57
Don't think so, pulled the latest from master today

ledger888
2016-11-19 04:57
I'll troubleshoot my set up over the weekend

liuya
2016-11-19 07:46
has joined #general

deepstein
2016-11-19 08:33
has joined #general

sij
2016-11-19 08:47
has joined #general

jojocheung
2016-11-19 10:05
has joined #general

arvin
2016-11-19 12:16


liutc
2016-11-19 12:23
@arvin can you try access the URL directly?

arvin
2016-11-19 12:34
yes,it's successful

subaru365
2016-11-19 12:47
has joined #general

ydo
2016-11-19 13:17
has joined #general

drteck
2016-11-19 14:59
has joined #general

albertdatui
2016-11-19 15:21
has joined #general

arvin
2016-11-19 15:31
@liutc vpn lead, can now

rsasco
2016-11-19 18:58
has joined #general

tzukru
2016-11-19 19:14
Hello, I have a problem with new user registration. When i use chain.register() method there is an error: StatusRuntimeException: UNKNOWN: sql: no rows in result set

alokmatta
2016-11-20 03:30
has joined #general

satyam_agl
2016-11-20 09:09
$ CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7053 ./chaincode_example02 14:35:36.620 [shim] INFO : Chaincode log level not provided; defaulting to: DEBUG 14:35:36.620 [shim] DEBU : Peer address: 0.0.0.0:7053 2016/11/20 14:35:37 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7053: connectex: The requested address is not valid in its context."; Reconnecting to {"0.0.0.0:7053" <nil>} 2016/11/20 14:35:39 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7053: connectex: The requested address is not valid in its context."; Reconnecting to {"0.0.0.0:7053" <nil>} 14:35:39.622 [shim] ERRO : Error trying to connect to local peer: grpc: timed out when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: timed out when dialing

satyam_agl
2016-11-20 09:09
facing above problem please resolve it

satyam_agl
2016-11-20 10:09
@satyam_agl uploaded a file: https://hyperledgerproject.slack.com/files/satyam_agl/F34782GFJ/untitled.png and commented: may be the error because of

satyam_agl
2016-11-20 10:10
please help me to find out the issue

garisingh
2016-11-20 11:20
@satyam_agl - how exactly are you running your peer(s)? If using the defaults, I think you want to use port 7051 instead of 7053

sowmya
2016-11-20 12:09
I am trying to run chaincode_example02 with two peers started using docker-compose-2.yml file. I am able to register the chaincode successfully with a name mycc But not able to use the name further for query or invoke,Getting an Error: Error querying chaincode: rpc error: code = 2 desc = "Error:Failed to launch chaincode spec(Could not get deployment transaction for mycc - LedgerError - ResourceNotFound: ledger: resource not found)"

sowmya
2016-11-20 12:10
Any help will be more useful,Struck at this for long time

muralisr
2016-11-20 13:25
@satyam_agl perhaps it should be `CORE_PEER_ADDRESS=0.0.0.0:7051` ?

satyam_agl
2016-11-20 14:54
@garisingh yes by default i try to use the port 7053 it gaves me same error as above

satyam_agl
2016-11-20 14:59
@satyam_agl uploaded a file: https://hyperledgerproject.slack.com/files/satyam_agl/F3484RRHN/pic1.png and commented: but when i try to read all the lines comes up when i start the docker-compose up i find out the socket address for peer and try to run the previous command with this ip but again i am facing similar type of error

satyam_agl
2016-11-20 15:00
@muralisr i tried both :7051 as well :7053 but both are not working

satyam_agl
2016-11-20 15:01
@garisingh sorry above port is not 7053 it is 7051

garisingh
2016-11-20 16:11
@satyam_agl - what version of the fabric are you using? and what OS are you running?

satyam_agl
2016-11-20 16:12
0.6 fabric version and windows 10

pakloong
2016-11-20 16:46
has joined #general

ledger888
2016-11-20 16:53
Hi @shenthilkumarck, think I solved the issue. This helped http://stackoverflow.com/questions/40508371/vagrant-box-not-found-in-a-fresh-install-in-a-mac and now box is downloading. Thanks for the help.

shaggy_kp
2016-11-20 18:03
has joined #general

garisingh
2016-11-20 23:43
@satyam_agl - sorry - caught up implementing some new features today. Are you also using Docker for Windows?

garisingh
2016-11-20 23:43
ping me in the AM and I can help you

leecharles
2016-11-21 00:36
has joined #general

stylix
2016-11-21 01:20
I have some questions, 1. Is it possible to getState() concurrently? is there any lock? Can I actually getState in parallel? 2. For every single chaincode, we will get its chainhash once deployment. However, in the case that we need to modify the chaincode, we will have a different hash. The question is that, how can we retain those states from the old chaincode to the new one. Is it possible to do?

ibmdannywong
2016-11-21 01:50
@stylix 1) What do you mean by getState() concurrently? Concurrently getState from Node SDK? from same smart contract within same node? 2) No at current v0.6 (unless you are running in DEV mode), which means it requires data migration your old states to new chaincode (with new hash). Only in v1.0 has the "upgrade chaincode feature"

stylix
2016-11-21 01:58
Thanks @ibmdannywong 1) I mean the chaincode in Go, when one line of code is doing getState(), will it get lock if I make another thread to getState() on the same key? 2) So, we need to wait for v1.0 then.

ibmdannywong
2016-11-21 02:01
@stylix Re: #1, I don't think so. But where is there another thread?? Do you mean another executing contract method (that attempts to getState with same key) when there is another one executing in parallel on same node?

ibmdannywong
2016-11-21 02:01
Why is there* not where is there...

stylix
2016-11-21 02:05
@ibmdannywong We implemented a very heavy method during query, I mean a lot getState() there. So, we are thinking about to make another thread to getState() in parallel. If no lock during getState(), it's worth to try this in parallel, if possible.

tobiasdisse
2016-11-21 02:18
has joined #general

zhihong
2016-11-21 02:34
has joined #general

ibmdannywong
2016-11-21 02:46
@stylix Although technically feasible, I don't recommend to do so... Have you considered applying Event Sourcing and CQRS pattern over your application

ibmdannywong
2016-11-21 02:46
The blockchain ledger is a typical event store (append-only write)

ibmdannywong
2016-11-21 02:47
it is specialized as a write model, I understand there is a "query" method in each contract. However, we should use different read view for different use case.

ibmdannywong
2016-11-21 02:47
Otherwise, your read performance wont be too good

ibmdannywong
2016-11-21 02:49
umm... I should ask, what is the purpose of that heavy query method?

ibmdannywong
2016-11-21 02:49
for application side use in one organization / by all participants in business network?

stylix
2016-11-21 02:54
Thanks @ibmdannywong I'm not so sure much about Event Sourcing, CQRS. Anyway, we are now trying to do a kind of information retrieval through a blockchain. That's why, it's heavy query

stylix
2016-11-21 02:55
of course, we can just use elasticsearch or what ever, but we just what to try this out to see if HL can handle this POC

ibmdannywong
2016-11-21 02:56
ic, I think HL can handle the "many getState" calls well

stylix
2016-11-21 02:56
but seemed, slooooow :disappointed:

ibmdannywong
2016-11-21 02:56
lol

stylix
2016-11-21 02:56
we also try getRange, then.. slower

ibmdannywong
2016-11-21 02:57
well, it's not a RDBMS... but a Key-value store...

ibmdannywong
2016-11-21 02:57
so getRange is just scanning i think*

stylix
2016-11-21 02:57
btw, I found this issue during our query https://jira.hyperledger.org/browse/FAB-1163

stylix
2016-11-21 02:58
when a query over 30sec, chaincode just crash out

stylix
2016-11-21 02:58
if you have an idea, please also check

ibmdannywong
2016-11-21 02:58
well, not much idea...

stylix
2016-11-21 02:59
that's alright, we will try parallel getState, to see what will happen

bain
2016-11-21 02:59
@ibmdannywong @stylix I suggest to use timestamp check to instead of key lock.

ibmdannywong
2016-11-21 03:00
@bain please elaborate more!

stylix
2016-11-21 03:00
@bain not sure about this, actually

bain
2016-11-21 03:01
we can store json data in rocksdb, just like {"val":"xxxx", "rev": "1234567890"}

bain
2016-11-21 03:02
before we update value, we need to check if the rev is right.

bain
2016-11-21 03:02
after update the value, we need update a value for rev.

bain
2016-11-21 03:02
just like cloudantDB

stylix
2016-11-21 03:04
hmmmm

stylix
2016-11-21 03:06
we currently do not directly access to rockdb, not sure much about this. thanks anyway, we will have bit discussion on this for sure.

alch
2016-11-21 03:20
has joined #general

alanlee
2016-11-21 04:29
Question: Speed of Invoke: We have tested the speed of "Invoke". It takes 200ms to complete. It seems slow. Is it normal? (The "Invoke" put a simple state; It involves 2 peers on same machine.) Thanks you.

alanlee
2016-11-21 04:36
(We use REST to invoke. Actually, we want to see how many requests can be handled per seconds for the invoke.)

bain
2016-11-21 04:39
We had tested such case. Normal speed can be 80 tps in notebook.

alanlee
2016-11-21 04:43
Thanks @bain. How many peer nodes (over network)? With TLS configured? I assume you are putting variable in invoke too. I assume you are using notebook around i7 cpu. Thank you.

bain
2016-11-21 05:44
@alanlee I just run one peer with production mode in VM(1 cpu, 2G mem). And tested with Jmeter, the result is about 80 tps.

alanlee
2016-11-21 05:45
Cool. Thanks @bain.

bain
2016-11-21 05:45
@alanlee it's only v0.5-preview.

zhangxq
2016-11-21 06:53
has joined #general

matpasha
2016-11-21 07:02
Hi , We are running fabric in prod mode which requires the git repo path at the time of chaincode deployment. Currently we are unable to deploy the code from a private git repo. Is there a way around this? Could anybody please help on this issue? Thanks

bain
2016-11-21 07:06
@matpasha you can use local path instead of git repo path.

matpasha
2016-11-21 07:08
@bain Is it possible to do that in production mode now? I thought we had to give the git repo path in prod mode.

bain
2016-11-21 07:10
@matpasha it's possible, if you can upload your chaincode source to the peer server before.

bain
2016-11-21 07:11
@matpasha I'm using docker env, I attach some volumes to contain the chaincode, and then call deploy with local path, it's OK.

matpasha
2016-11-21 07:14
@bain I am also using docker env with docker-compose to bring my peer & member services up. This is how my docker-compose.yml looks like. membersrvc: image: membersrvc ports: - "50051:50051" - "7054:7054" command: membersrvc vp1: image: peer ports: - "5000:5000" - "7050:7050" - "30303:30303" - "30304:30304" - "7051:7051" environment: - CORE_PEER_ADDRESSAUTODETECT=false - CORE_SECURITY_PRIVACY=false #- CORE_PEER_DISCOVERY_ROOTNODE=9.109.251.50:7051 - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp1 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_CHAINCODE_DEPLOYTIMEOUT=60000 volumes: - /var/run/docker.sock:/var/run/docker.sock links: - membersrvc command: sh -c "sleep 5; peer node start" Could you suggest how do i attach the volume to contain our local chaincode?

bain
2016-11-21 07:15
volumes: - /var/run/docker.sock:/var/run/docker.sock - /Users/XXX/xxx/chaincodes:/opt/gopath/src/chaincodes

matpasha
2016-11-21 07:17
@bain Will try this. Thanks

bain
2016-11-21 07:18
@matpasha good luck!

stylix
2016-11-21 07:25
anyone have an idea what should be an ENV name for numbuckets value in a core.yaml file is this correct? -- >CORE_LEDGER_STATE_DATASTRUCTURE_CONFIGS_NUMBUCKETS

matpasha
2016-11-21 07:28
@bain I am deploying using swagger and trying to give my local path "/Users/matpasha/Jarvis1/Chaincode" for deployment but it fails with the following error "Error when deploying chaincode: Path to chaincode does not exist: /Users/matpasha/Jarvis1/Chaincode" what am I doing wrong? Thanks

bain
2016-11-21 07:29
@matpasha you need use guest local path instead of your host path

bain
2016-11-21 07:32
@matpasha for example: volumes: - /Users/XXX/xxx/chaincodes:/opt/gopath/src/chaincodes your chaincode is /Users/XXX/xxx/chaincodes/hello/hello.go you need use "chaincodes/hello" as chaincode path.

matpasha
2016-11-21 07:39
Brilliant. It worked Thanks a ton @bain.

cboursheh
2016-11-21 08:10
has joined #general

xixuejia
2016-11-21 08:13
@stylix it's correct as the ENV name to override the variable in core.yaml

kpnystad
2016-11-21 08:16
has joined #general

satyam_agl
2016-11-21 09:12
@garisingh yes i am using Docker for windows

garisingh
2016-11-21 10:45
@satyam_agl - thanks for the update. I'll also assume that you are trying to compile `chaincode_example02` locally on your Windows host? If that's the case, it is a little tricky (but not too bad). Basically, Windows for Docker actually runs Docker in a VM and *almost* makes this seamless from a user experience. The trick is that when you expose ports via Docker for Windows, they are actually exposed via the bridge address for the underlying VM. If you bring up another *Docker QuickStart Terminal*, you should see a line that starts with `Docker is configured to use the default machine with IP ....`. You want to grab that IP address and use it instead of *0.0.0.0* or *172.17.0.3*

bitcoinlip
2016-11-21 12:30
has joined #general

satyam_agl
2016-11-21 13:27
@garisingh thanks a lot it works

garisingh
2016-11-21 13:29
great!

as93717913
2016-11-21 14:23
Hi, I just clone the newest project and start the 4 peers network with security and privacy option on, but I got the error "Failed creating new peer with handler Security helper not provided"

as93717913
2016-11-21 14:23
I haven't meet this situation before

as93717913
2016-11-21 14:24
can anyone tell me how to fix it? thanks!

mattheleon
2016-11-21 14:45
has joined #general

kommy
2016-11-21 17:39
has joined #general

vibhu
2016-11-21 17:52
@garisingh i am following the fabric chaincode developer docs. I have the node start and ./chaincode_example02 running (Received REGISTERED, ready for invocations). Now when i try the peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}' in third terminal window ... i am getting the error - Error: Error getting chaincode code chaincode: Error getting chaincode package bytes: Cannot collect files from empty chaincode path. Help please as i have tried -p 0.0.0.0:7051 flag but that gives me a diff error ...

mike_wall
2016-11-21 17:53
Hello! I'm running fabric through CLI with `docker run`. I created instance of class where I run one peer, and sending and getting messages. The question is: why when I'm getting messages from root peer I got every message I invoke through all peers, but when I'm getting messages from not root peer, I am getting only those messages, that I invoke to this peer. Info on blockchain should be kept on all peers, isn't it?

anderstm01
2016-11-21 18:13
has joined #general

aloha-rick
2016-11-21 19:32
has joined #general

walker
2016-11-21 19:49
has joined #general

oneil
2016-11-21 20:22
has joined #general

accretia
2016-11-21 21:10
has joined #general

bvperepa
2016-11-21 21:18
has joined #general

kevinmarks
2016-11-21 23:04
has joined #general

stylix
2016-11-22 02:08
@xixuejia I sent it, but still not sure if HL correctly recognizes my ENV (CORE_LEDGER_STATE_DATASTRUCTURE_CONFIGS_NUMBUCKETS)

xixuejia
2016-11-22 02:33
@stylix it doesn't take effect even if the syntax is correct

xixuejia
2016-11-22 02:34

xixuejia
2016-11-22 02:37
it's extracted in a string map, I'm not sure how viper parses it

stylix
2016-11-22 02:38
So you mean my ENV is correct?

stylix
2016-11-22 02:38
btw, that Go lines are interesting, actually I cannot find where is the document on naming ENV correctly.

xixuejia
2016-11-22 02:40
I think you should specify CORE_LEDGER_STATE_DATASTRUCTURE_CONFIGS=xxx

xixuejia
2016-11-22 02:41
yeah, your syntax is theoretically correct, but it doesn't take effect

xixuejia
2016-11-22 02:42
because it is extracted in a string map, not viper.GetInt("***")

stylix
2016-11-22 02:46
do you have an idea what should xxx look like if I need to set numBuckets to the configs?

xixuejia
2016-11-22 02:46
I would recommend to change that value in core.yaml

stylix
2016-11-22 02:48
yes, with yaml way, it works fine. btw, my system current wrap HL in it and mostly override the HL through ENV

xixuejia
2016-11-22 02:50
are you using docker? if so, you could easily mount core.yaml in containers

stylix
2016-11-22 02:52
yes, we use docker, and we also use a docker swarm, then to be able to scale the node dynamically we prefer to override the parameter with ENV

stylix
2016-11-22 02:54
if we mount core.yaml, this static one does not scale fine, and we need to override this mounted core.yaml anyway, so a bit redundant.

stylix
2016-11-22 02:54
that's why I'm looking a correct way for ENV this

stylix
2016-11-22 02:55
but anyway, if no better choice, I will need to mount the modified core.yaml then.

stylix
2016-11-22 02:55
Thank you anyway, @xixuejia

xixuejia
2016-11-22 02:57
yw.

newdev2524
2016-11-22 03:27
How can we retrieve "Affiliation" value in membersrvc.yaml file by using GO? I found some function (getCertAttribute) in example chaincode that can retrieve "attribute value" from Cert. by supplying "attribute name". Is there any parameter or function for "Affiliation"?

ibmdannywong
2016-11-22 03:32
Private Git repo = GitHub enterprise / GitLab?

newdev2524
2016-11-22 03:34
Can COP work with Peer V0.6?

rasahu
2016-11-22 04:17
has joined #general

kkkulkarni
2016-11-22 05:39
has joined #general

stylix
2016-11-22 06:46
Do we have any way to get the consensus state? For example, to check if the consensus has reached at the same level on all nodes.

stylix
2016-11-22 06:47
e.g. my current solution is, to check the chain height, and the currentBlockHash value

shidan
2016-11-22 06:48
has joined #general

aswinp
2016-11-22 06:56
has joined #general

tomoharu
2016-11-22 07:10
has joined #general

hi-kawa
2016-11-22 07:13
has joined #general

solomondshelby
2016-11-22 08:12
has joined #general

xixuejia
2016-11-22 09:26
@stylix do you need very detailed consensus state? 3 phases of PBFT? I think you can check peer logs with DEBUG level if you need that much detail

xixuejia
2016-11-22 09:28
I think your current solution is more feasible:grinning:

ericwchung
2016-11-22 09:57
has joined #general

csftan
2016-11-22 10:33
has joined #general

jhilam
2016-11-22 10:52
has joined #general

bfuentes
2016-11-22 10:56
*** ANNOUNCEMENT *** I will give a 3H workshop on Hyperledger Fabric on March 21 -23 at DEVOXX US - San Diego You are welcome to join and participate to the event :smile: Feel free to send me what you would like to see and play with (@benji_fuentes) . The agenda is not fixed for the moment *** END ***

simon
2016-11-22 11:09
what's 3H?

hmhem
2016-11-22 12:53
has joined #general

satyam_agl
2016-11-22 13:18
please any one give the direction for learning the go to write chaincode for the crowd funding application perspective or provide me the list of the sample of the chaincode to learn their syntax from it

simon
2016-11-22 13:39
syntax: go

bfuentes
2016-11-22 13:40
@simon 3 hours

jjmiranda
2016-11-22 14:00
How is the core.yaml configuration for a Non Validating Peer connecting to a HTTPs/gRPCs Validating Peer/Memberdhip, can anyone help me with this?

bretharrison
2016-11-22 14:15
has joined #general

vibhu
2016-11-22 14:36
hello all -- i am following the fabric chaincode developer docs. I have the node start and ./chaincode_example02 running (Received REGISTERED, ready for invocations). Now when i try the peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}' in third terminal window ... i am getting the error - Error: Error getting chaincode code chaincode: Error getting chaincode package bytes: Cannot collect files from empty chaincode path. Help please as i have tried -p 0.0.0.0:7051 flag but that gives me a diff error ...

claudiu
2016-11-22 14:46
Hi, I am trying to filter one a table by it's 3th column, this is my code ``` var columns []shim.Column col3 := shim.Column{Value:&shim.Column_Uint64{Uint64:authorizerID}} //authorizerID is the parameter I want to filter on rowChannel, err := stub.GetRows("RequestTable", columns) ``` My problem is now that this line of code does not filter on the 3th column, but on the first. I also have tried this: ``` col1 := shim.Column{Value:nil} col2 := shim.Column{Value:nil} col3 := shim.Column{Value:&shim.Column_Uint64{Uint64:authorizerID}} columns = append(columns, col1) columns = append(columns, col2) columns = append(columns, col3) ``` But then I got nothing back from `stub.GetRows("RequestTable", columns)` Is there a way to skip the first and the second column, and filter on the 3th? ps I am using Fabric 0.6

wid
2016-11-22 14:52
@claudiu: look in shim.interfaces.go there some info on GetRows

wid
2016-11-22 14:53
The example given use only keys in the sequence order of rows

wid
2016-11-22 14:53
declaration

stylix
2016-11-22 15:58
@xixuejia With my way, if we deployed several nodes on the network, then we need to read all those chainheight and currentBlockHash from all the nodes then compare. It may work, but it's hard to guarantee that the consensus process is done on all nodes (e.g. stop/idle/no more processing block). So, if a lot of transaction are waiting in the queue too much, that will crash the node very soon. (take time to process the invoke longer than timeout) However, I'm thinking it might be better/more appropriate to have access to this consensus state through the API/SDK way, so then we can easily throttling the transaction invocation speed. But still don't know how/is it available here?

ribryant
2016-11-22 17:04
has joined #general

cuneytb
2016-11-22 17:24
has joined #general

sowmya
2016-11-22 18:18
@vibhu -p is the path of the chaincode try providing the path to chaincode_example02 If you are trying from vagrant setup it would probably be "http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02"

pschnap
2016-11-22 19:34
I have a question about the way to use Git within this project (pertaining to submitting code for review)

garisingh
2016-11-22 20:02
sure

pschnap
2016-11-22 20:05
I checked out the project code a while go, made some additions, committed them then submitted for review. They were turned down, so I made changes the reviewers requested/suggested and amended my commit (though I've not yet resubmitted for review). Now I want to update the master branch (one revision behind my commit) and was wondering what the preferred way to do this was.

pschnap
2016-11-22 20:06
I was thinking of making a branch for my commits then resetting the head back a revision, updating the master, leaving my branch. I was unsure whether I should do a merge into my branch of the master before submitting again or whether this would mess things up

garisingh
2016-11-22 20:08
So I typically: 1) just keep my local master in sync with the origin (remote) master 2) create local branches for each of my changes 3) if my branch gets out of sync, I will sync my local master to the remote master and then rebase my local branch from local master

garisingh
2016-11-22 20:09
seems to be the pretty standard flow

pschnap
2016-11-22 20:09
I wondered if that would be an option but forgot what "rebasing" was called. I was also unsure if this would mess up the gerrit review stuff

garisingh
2016-11-22 20:10
nope

garisingh
2016-11-22 20:11
so for example if you push a change and then it shows as a merge conflict, just rebase your local branch, do git commit --amend and then git-review

garisingh
2016-11-22 20:11
it will actually show that you rebased in the comments for the latest patch revision

garisingh
2016-11-22 20:11
that part is actually nice

pschnap
2016-11-22 20:11
nifty

pschnap
2016-11-22 20:12
ok, I'll give it a try, thanks @garisingh !

garisingh
2016-11-22 20:12
not a problem

srao7480
2016-11-22 21:23
has joined #general

ss
2016-11-22 21:28
has joined #general

seemohan
2016-11-22 21:49
has joined #general

davidenergie
2016-11-22 22:56
has joined #general

rixon
2016-11-23 01:00
has joined #general

xixuejia
2016-11-23 02:00
@stylix sorry I don't know whether there's such API in SDK, you may ask in #fabric-sdk channel

gohsoonheng
2016-11-23 04:11
has joined #general

squeue
2016-11-23 05:35
has joined #general

yuanfei
2016-11-23 05:51
has joined #general

sachinsurvase
2016-11-23 06:51
has joined #general

alanlee
2016-11-23 07:05
Question: Do we have any Publish/Subscribe mechanism in Hyperledger? Thanks (For example, we would like "LISTEN" to the update for a particular event. If something happen, it can trigger our internal server function)

alanlee
2016-11-23 07:06
I mean to trigger server external to hyperledger

gaurav
2016-11-23 07:51
Need suggestions to test/confirm PBFT on hyperledger. Any recommendation on how to setup the network to test for byzantine fault tolerance, think minimum 4 nodes needed, and for PBFT consensus no more than 1 ( < n/3) nodes should lie. How to make the one node in the blockchain n/w lie on the transactions? Anyone set it up, any guidelines/recommendations?

gaurav
2016-11-23 07:55
@alanlee hyperledger has event mechanism feature. for further details refer to : https://github.com/hyperledger-archives/fabric/wiki/Custom-Events-High-level-specification

officialsandeep87
2016-11-23 08:01
has joined #general

iorfix
2016-11-23 08:02
has joined #general

bercinho
2016-11-23 08:11
has joined #general

alanlee
2016-11-23 08:14
Thanks @gaurav.

aybek
2016-11-23 08:24
Hi, I have a consensus. Main peer tries to discover and chat to other peers. Now i have deleted one of the peers, but main peer still tries to find him. How can i clean its address from the discovery ?

laurenlyyliu
2016-11-23 09:24
has joined #general

satyam_agl
2016-11-23 09:54
what are the all possible ways to get the balance first time on hyperledger network?

satyam_agl
2016-11-23 09:54
Is it possible to send balance to a chaincode like in smart contract? as in Ethereum

bfuentes
2016-11-23 10:00
balance of ?

satyam_agl
2016-11-23 10:01
an account balance

satyam_agl
2016-11-23 10:03
or if i made a campaign by using the chaincode that work same as smart contract in ethereum

satyam_agl
2016-11-23 10:04
same as concept of crowdfunding

bfuentes
2016-11-23 10:11
well, so your balance is stored on the WorldState

bfuentes
2016-11-23 10:11
you can query it directly

bfuentes
2016-11-23 10:11
and add additional access rights on it if you want

bfuentes
2016-11-23 10:12
@satyam_agl Fabric is "stateful" means, it maintains a state. In Bitcoin, you have to recalculate the state from previous blocks. It is very different in this way

ananth
2016-11-23 10:16
has joined #general

ankitkamra
2016-11-23 10:17
@bfuentes how can we add additional access rights to word state ?

warm3snow
2016-11-23 10:20
@ankitkamra See the asset_management examples.

bfuentes
2016-11-23 10:28
@ankitkamra YES, as you need to pass through a Query function called into a chaincode , then you manage whoever you want IN and whatever you want OUT

ankitkamra
2016-11-23 10:33
@warm3snow and @bfuentes thanks to both of you i will check asset management example. Can you please give reference of any java example ?

bfuentes
2016-11-23 10:35
@ankitkamra the java team is working at the moment on this point, but docker images are not ready. I am working with team to have this available asap

bfuentes
2016-11-23 10:35
otherwise you can use Go Chaincode to do it right now

bfuentes
2016-11-23 10:35
all you need to do is to get the certificate of the transaction

meghana
2016-11-23 10:36
has joined #general

bfuentes
2016-11-23 10:36
then compare this to the list of authorized roles and that's all

bfuentes
2016-11-23 10:36
is quite flexible

sachinsurvase
2016-11-23 10:37
@bfuentes Just to be more clear ... WorldState means the key/value(s) that we store using stub.Putstate() right ?

ankitkamra
2016-11-23 10:37
Okay thanks i will see Go implementation for reference and try to implement in java

ankitkamra
2016-11-23 10:38
@bfuentes i am currently facing issue in java sdk while running test cases

ankitkamra
2016-11-23 10:38

bfuentes
2016-11-23 10:38
@sachinsurvase yes

ankitkamra
2016-11-23 10:39
@bfuentes can you please help me to resolve this problem ?

bfuentes
2016-11-23 10:39
@ankitkamra do not build with tests

bfuentes
2016-11-23 10:39
-DskipTests

bfuentes
2016-11-23 10:39
you don't need to run the tests to build the jar

bfuentes
2016-11-23 10:40
is going to be changed soon

sachinsurvase
2016-11-23 10:40
@bfuentes How do transfer worldState to another peer when we decide to add Peer/Node dynamically?

bfuentes
2016-11-23 10:40
is the Fabric who does it

bfuentes
2016-11-23 10:40
this is not a programer concern

sachinsurvase
2016-11-23 10:40
cool

ankitkamra
2016-11-23 10:42
Okay but what is the sequence to create an application ? 1. Register CA 2. Register Peer 3. Register with Admin and create users if needed 4. Deploy chaincode 5. Get transaction certificate and perform invoke transaction

ankitkamra
2016-11-23 10:43
am i right ?

sachinsurvase
2016-11-23 10:45
@ankitkamra Is this advanced level question or you are deploying your first application?

ankitkamra
2016-11-23 10:46
@sachinsurvase i am developing my first application using java sdk

sachinsurvase
2016-11-23 10:46
OKay ... Are you able to get some sample application running ?

sachinsurvase
2016-11-23 10:47
For that its simple and above steps are not required

ankitkamra
2016-11-23 10:47
nops currently i am checking test classes

ankitkamra
2016-11-23 10:47
so what steps are needed can you please explain me ?

sachinsurvase
2016-11-23 10:49

sachinsurvase
2016-11-23 10:49
I am using go ... not aware about java though

sachinsurvase
2016-11-23 10:51
@bfuentes It will be good if docker images can be provided to build the chaincode ....

ankitkamra
2016-11-23 10:52
i have already done this and developed an application using node-sdk and golang

bfuentes
2016-11-23 10:52
docker image for 0.6.1 is provided

ankitkamra
2016-11-23 10:52
currently working in java

bfuentes
2016-11-23 10:52
is named "javaenv"

sachinsurvase
2016-11-23 10:53
@ankitkamra You can try to build your chaincode using above docker image ..... it should be faster

sachinsurvase
2016-11-23 10:54
@bfuentes Thanks for the help

ankitkamra
2016-11-23 10:55
@sachinsurvase how can i get this docker image because i dont know about docker

sachinsurvase
2016-11-23 11:07
@ankitkamra docker pull hyperledger/fabric-javaenv

ankitkamra
2016-11-23 11:08
@sachinsurvase thanks a lot

aniket
2016-11-23 11:31
has joined #general

aniket
2016-11-23 12:25
Is there any concept of testnet in hyperledger?

bercinho
2016-11-23 12:31
Gents, does anyone know how to configure a docker-compose file with multiple peers, PBFT and also starter to kick off a custom chaincode?

bercinho
2016-11-23 12:32
The compose files on https://github.com/diegomasini/hyperledger-fabric/tree/master/bddtests are not good enough. They always miss some part of the previous setup.

yacovm
2016-11-23 12:55
See #fabric-dev I posted some files there yesterday

bercinho
2016-11-23 12:57
cheers! :slightly_smiling_face: will have a look now

nicklas
2016-11-23 13:17
has joined #general

aniket
2016-11-23 14:03
Hi @garisingh , I just started working on hyperledger. I just want to know that How can a peer check its balance? Any help will be appreciated.

garisingh
2016-11-23 14:13
hi @aniket - not quite sure I understand your question? Are you assuming that a Fabric peer uses / stores some type of crypto currency?

aniket
2016-11-23 14:18
@garisingh Yeah. Is it true? Is there any cryptocurrency involved?

rei
2016-11-23 14:24
has joined #general

garisingh
2016-11-23 14:28
Fabric does not have nor use the concept of a crypto currency

garisingh
2016-11-23 14:28
it is a permission-based blockchain

aniket
2016-11-23 14:28
Ok, I got it. Thanks

garisingh
2016-11-23 14:29
of course you can implement your own crypto currency and/or keep track of some type of currency within chaincode that you develop - but there's no currency entity intrinsic in the fabric

aniket
2016-11-23 14:29
:+1:

stylix
2016-11-23 15:07
@xixuejia That's fine. I will get info from all peers for a while. I don't think we may have API/SDK for this. I will ask fabric-sdk channel then. Thanks anyway!!

jokepk
2016-11-23 15:22
Hello, I dont know if this is the right topic to ask, but I was wondering if the hyperledger team is willing to implement some kind of doc-like interface or even a parser for the smart contract description?

david_coinfabrik
2016-11-23 15:25
@david_coinfabrik uploaded a file: https://hyperledgerproject.slack.com/files/david_coinfabrik/F35L2ENDP/chaincode_example02_error.png and commented: I'm following the the hyperleger fabric chaincode setup instructions: http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup For option 3, when trying to start the chaincode (CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02) I get this error: Chaincode log level not provided..see screeshot. Thanks for help!

oleksbor
2016-11-23 16:09
Hi @david_coinfabrik, Are you trying to register the chaincode from host machine?

oleksbor
2016-11-23 16:10
It should be executed inside docker container

david_coinfabrik
2016-11-23 16:23
I'm using docker toolbox

taishi
2016-11-23 17:11
has joined #general

mmarchant
2016-11-23 17:45
has joined #general

spiro
2016-11-23 18:01
What is an independent (non IBM) option for running a server for Hyperledger Blockchain transactions?

tom.appleyard
2016-11-23 18:09
I suppose there would be nothing stopping you from downloading the source/docker images and just standing them up on a non-IBM server or cloud provider

estebanr10
2016-11-23 22:45
has joined #general

cbf
2016-11-23 23:12
Happy Thanksgiving to all of those of you who celebrate the day

cj
2016-11-23 23:13
thanks cbf!

jjmiranda
2016-11-23 23:16
Happy Thanksgiving for all in this group that is changing the world @cbf

dontpanicburns
2016-11-23 23:16
Happy Thanksgiving

roarke
2016-11-23 23:38
Happy Thanksgiving

vibhu
2016-11-24 00:06
happy thanksgiving all

kumavis
2016-11-24 00:06
dubai online governance themed blockchain hackathon $100k prize registration now -> dec 12 http://blockchainvirtualgovhack.com/

warm3snow
2016-11-24 01:08
Happy Thanksgiving. (*^__^*) ...........

pathinbush
2016-11-24 02:27
has joined #general

bharat
2016-11-24 02:44
Happy Thanksgiving!

tazbrown
2016-11-24 02:57
has joined #general

ankitkamra
2016-11-24 03:17
A general question: Does Non validating peer contains Chaincode and shared ledger both ?

raj_singh
2016-11-24 04:48
has joined #general

raj_singh
2016-11-24 04:50
Happy thanksgiving..

rajnishgupta
2016-11-24 05:32
has joined #general

xixuejia
2016-11-24 05:41
@ankitkamra nvp doesn't contain chaincode nor shared ledger, it's more like a router in 0.5-dev-preview

arvin
2016-11-24 05:45
We usually use what tools for development ?

timskii
2016-11-24 05:45
has joined #general

wenhao
2016-11-24 05:49
has joined #general

7sigma
2016-11-24 05:58
where can I find list of all the environment values that can be set in the docker compose file for setting up network example 'CORE_PEER_ADDRESSAUTODETECT' & 'CORE_SECURITY_ENABLED'

ankitkamra
2016-11-24 06:03
@xixuejia thanks for the info

ankitkamra
2016-11-24 06:04
but somewhere i read that it contains shared ledger so that third party read and access data from their local copy

xixuejia
2016-11-24 06:05
that's what the doc says, but actually it's not implemented in 0.5-dev-preview as far as I know

xixuejia
2016-11-24 06:05
when you send a query to nvp, the nvp will route the request to vp and then return query result

xixuejia
2016-11-24 06:06
@7sigma you can check core.yaml in peer directory

ankitkamra
2016-11-24 06:06
What about v0.6-dev-preview ?

7sigma
2016-11-24 06:07
thanks @xixuejia will check

xixuejia
2016-11-24 06:07
not sure.

ankitkamra
2016-11-24 06:09
Okay btw i think its clear that it will not contain chaindcode ?

ankitkamra
2016-11-24 06:09
am i right ?

xixuejia
2016-11-24 06:10
you are correct, only vp will execute chaincode

ankitkamra
2016-11-24 06:11
@xixuejia Thank you :slightly_smiling_face:

ankitkamra
2016-11-24 06:13
Hy all, is fabric-java-sdk is compatible with fabric v0.6-dev-preview ?

priya
2016-11-24 06:17
has joined #general

aniket
2016-11-24 06:41
@garisingh Rest Apis are there to register user, invoke and query chaincode. So why do we need hfc module of Node.js?

ashish
2016-11-24 06:48
has joined #general

stylix
2016-11-24 07:17
I have some funny problem about the consensus. I send the invoke transactions to the different node, and wait for all nodes to reach the same consensus then I send another invoke (consensus checking by looking at the same number of block and same currentBlockHash on all nodes) However, at some point, all the nodes reach the same block number, but with different blockhash. So any suggestion here?

sachinsurvase
2016-11-24 07:26
@stylix May be global_state is different

stylix
2016-11-24 07:27
I check it by using REST end point /chain

stylix
2016-11-24 07:27
btw if the global_state are different, should I submit more transaction?

stylix
2016-11-24 07:28
at least, total number of block are the same at all nodes

sachinsurvase
2016-11-24 07:30
If I understand correctly consensus algo won't allow adding blocks to chain

sachinsurvase
2016-11-24 07:30
if consensus is not met

sachinsurvase
2016-11-24 07:30
so all further transactions won't get added to chain

sachinsurvase
2016-11-24 07:30
so no point in submitting more

sachinsurvase
2016-11-24 07:31
** If I understand correctly consensus algo won't allow adding blocks to chain if hash is not same

stylix
2016-11-24 07:31
but it seemed I can push more transaction to create the new block on all nodes, even if the currenthash is not the same

stylix
2016-11-24 07:33
not sure what is this situation currently I use, v0.6, pbft

newdev2524
2016-11-24 07:59
Does anyone know how to increase transaction quantity per block?

mprabhakaran
2016-11-24 08:04
has joined #general

stylix
2016-11-24 08:21
@newdev2524 Which consensus are you using? If you are using PBFT with v0.6, I think you should look into the parameter batchsize and timeout in this file https://github.com/hyperledger/fabric/blob/v0.6/consensus/pbft/config.yaml

stylix
2016-11-24 08:22
you can modify it, or override using ENV parameter, e.g. CORE_PBFT_GENERAL_BATCHSIZE=1000

newdev2524
2016-11-24 08:28
@stylix now I'm running noops. Did you mean that the number of transactions per block is fixed like 1-1 if we're not running the consensus? Thanks

stylix
2016-11-24 08:31
No, with noops you can also change the size of it, on this file https://github.com/hyperledger/fabric/blob/v0.6/consensus/noops/config.yaml

stylix
2016-11-24 08:32
@newdev2524 or with ENV mode, CORE_NOOPS_BLOCK_SIZE=1000

newdev2524
2016-11-24 08:35
@stylix the default is 500, that's 1 transaction per block, right? So, 1000 is for 2 transaction per block. Thank you so much for your answer

stylix
2016-11-24 08:36
500 means 500 transactions per block

stylix
2016-11-24 08:37
it's depends on which one come first, either blocksize or blocktimeout

stylix
2016-11-24 08:37
the block will be created based on this 2 parameters

newdev2524
2016-11-24 08:39
@stylix Could you share the PARAMETER for timeout? Thank you : )

newdev2524
2016-11-24 08:44
@stylix I found out that the default timeout in yaml file is 1s. Does it almost assume that the transaction per block is 1-1?

stylix
2016-11-24 08:45
CORE_NOOPS_BLOCK_WAIT=2 is the timeout that you need for noops

stylix
2016-11-24 08:46
in case you can submit transaction very fast, faster than 1s, so it will not be 1-1

stylix
2016-11-24 08:46
but the number of transaction will be limited by 500

newdev2524
2016-11-24 08:46
@stylix crystal clear! thanks @stylix

stylix
2016-11-24 08:47
yw


xixuejia
2016-11-24 09:17
@stylix you met an interesting issue about consensus. did you check whether you chaincode will produce indeterministic results?

stylix
2016-11-24 09:30
I'm not so sure how can I check if my chaincode will produce some bad, inconsistent result or not.

xixuejia
2016-11-24 09:31
you could keep calling `invoke` functions and see whether it could recover

xixuejia
2016-11-24 09:32
:grimacing:

stylix
2016-11-24 09:32
As it will not happen that early, it usually happen far after I submitted invoke a lot already.

stylix
2016-11-24 09:33
You mean, even if the hash is different, I may try to submit and see what will happen?

sachinsurvase
2016-11-24 09:33
added an integration to this channel: https://hyperledgerproject.slack.com/services/B36LEDHK4

xixuejia
2016-11-24 09:33
yeah, that's my guess..

xixuejia
2016-11-24 09:34
you need to trigger at least 2 checkpoints for state transfer completely

stylix
2016-11-24 09:34
I never see it merge after that, and still don't know is there anything corrupted before?

stylix
2016-11-24 09:35
Well, I can try this if it happen again :disappointed:

xixuejia
2016-11-24 09:36
what's the block number when inconsistency happens? and the current block height?

2016-11-24 09:37
Guys can you please come and meet me?

stylix
2016-11-24 09:39
It's random, but for example, no. 220 as my last event

stylix
2016-11-24 09:40
sometime, I just ignore the hash, and continue submit the transaction until 500+ blocks then it crash (possibly other related reason)

stylix
2016-11-24 09:42
Different hash happened sometime before when I use noops, but I never expected this will also happens with pbft, actually.

stylix
2016-11-24 09:43
One thing is, I send transaction via different node.

stylix
2016-11-24 09:45
and if I submit it too fast, this will surely happen.

xixuejia
2016-11-24 09:55
interesting, it's reasonable for noops with this situation(fast submitting requests). as for pbft, it's most probably caused by indeterministic chaincode..

stylix
2016-11-24 10:06
not sure what would be a caused to this reason from my chaincode, difficult to find the true reason then.

sorin
2016-11-24 10:46
has joined #general

2016-11-24 10:47
One min...

2016-11-24 10:49
Sorry I am too busy

2016-11-24 10:49
Guys what is the status of the project so far?

kungerer
2016-11-24 10:52
has joined #general

2016-11-24 10:53

2016-11-24 11:04
Guys, please come over, got another idea!

sachinsurvase
2016-11-24 11:14
removed an integration from this channel: https://hyperledgerproject.slack.com/services/B36LEDHK4

aduva
2016-11-24 11:48
has joined #general

one
2016-11-24 11:57
has joined #general

aliblackwell
2016-11-24 12:52
it’s happening people, the robots are taking over!

satyam_agl
2016-11-24 13:41
how to add two or more peers on the same machine , is i have to change in the docker-compse.yml file if yes then what are these changes ? please anybody can help

yijiyong
2016-11-24 14:40
has joined #general

sarengas
2016-11-24 15:13
has joined #general

jov
2016-11-24 16:35
Hi, is there any information available about the requirements of hardware specifications and sizing for Hyperledger fabric?

jeffreycui
2016-11-24 18:43
has joined #general

kamo
2016-11-24 18:56
has joined #general


borgusio
2016-11-24 21:04
has joined #general

kindus
2016-11-24 21:54
has joined #general

aleksandar.likic
2016-11-24 22:52
@jzhang Hello Jim, I followed your recent (two weeks ago) youtube video on setting up Node.js SDK and running end-to-end test against the latest fabric from master. In the meantime both SDK and fabric moved forward, and I am having a hard time finding the most recent combination of SDK and fabric tags that can work together. It would be very useful if you could publish the latest fabric tag that the SDK is compatible with, whenever it changes. Would you consider it? Thanks!

xujiaming
2016-11-24 23:39
has joined #general

heipi
2016-11-25 03:06
has joined #general

heipi
2016-11-25 03:09
Hi, Where can I find the new membership project?

free
2016-11-25 03:25
has joined #general

abhirooproy
2016-11-25 03:55
has joined #general

huilixiang
2016-11-25 05:30
hi all, how to re-deploy a chaincode without changing it`s chaincode_id?

bain
2016-11-25 06:03
@huilixiang you can try to use fabric in development mode.

huilixiang
2016-11-25 06:13
@bain in dev mode, i can not deploy cc by path

bain
2016-11-25 06:16
@huilixiang can you show the related error messages?

huilixiang
2016-11-25 06:38
@bain i want use fabric in production mod...in dev mode, you cannot deploy a cc by rest-deploy

bain
2016-11-25 06:40
@huilixiang it's no problem to deploy cc in dev mode and prod mode. prod mode can not keep the chaincodeID with a fix value.

huilixiang
2016-11-25 06:43
@bain thx

huilixiang
2016-11-25 06:44
@bain thx

bain
2016-11-25 06:44
good luck @huilixiang

dominicpetermann
2016-11-25 07:59
has joined #general

mvdbos
2016-11-25 08:14
has joined #general

ankitkamra
2016-11-25 08:34
hy i am getting following error while deploying chaincode on fabric network:- vp1_1 | 12:12:57.682 [dockercontroller] deployImage -> ERRO 0b0 Error building images: dial unix /var/run/docker.sock: connect: no such file or directory vp1_1 | 12:12:57.682 [dockercontroller] deployImage -> ERRO 0b1 Image Output

shaggy_kp
2016-11-25 08:35
I'm trying to install the hyperledger fabric using the fabric-starter-kit on my Mac OS X but when building the fabric-starter-kit base image I get errors. I first get (/bin/sh: 1: npm: not found). I know I have npm installed under /usr/local/bin/npm.

shaggy_kp
2016-11-25 08:35
I then tried to run the command from the Dockerfile (npm install hfc) but get other errors

shaggy_kp
2016-11-25 08:36
> node-pre-gyp install --fallback-to-build node-pre-gyp ERR! Tried to download: https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.0.0/node-v51-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for grpc@1.0.0 and node@7.1.0 (node-v51 ABI) (falling back to source compile with node-gyp) xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

shaggy_kp
2016-11-25 08:36
Any thoughts as to what I may be doing wrong?

djuri
2016-11-25 08:43
has joined #general

kameshwaran.s
2016-11-25 09:15
has joined #general

sachinsurvase
2016-11-25 09:15
Can PEER/NODE maintain two different ledgers at the same time? e.g I want to keep two separate ledgers; one for PRIVATE transactions and another for public transactions visible to everyone participating

takeo
2016-11-25 09:53
has joined #general

jokepk
2016-11-25 10:38
@tzukru you have to bind docker sockets between host and container

tzukru
2016-11-25 10:39
@jokepk thank you, i was using wrong image in Java.Docker:

tzukru
2016-11-25 10:40

rclancy4uk.ibm.com
2016-11-25 10:59
has joined #general

gaurav
2016-11-25 11:09
Trying to create a network setup of 2 or more peers using the docker pull of images http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Network-setup/#setting-up-a-network. I have found out the CORE_VM_ENDPOINT for the docker containers(using ip add) and set them correctly as(CORE_VM_ENDPOINT=http://172.17.0.2:2375, CORE_VM_ENDPOINT=http://172.17.0.3:2375 for the 2 peers). The peers are started correctly, and are discoverable. However, when i try to deploy a sample chaincode, i get errors in the peer: vp0_1 | 11:07:11.279 [dockercontroller] deployImage -> ERRO 019 Error building images: cannot connect to Docker endpoint vp1_1 | 11:07:11.241 [dockercontroller] deployImage -> ERRO 01f Error building images: cannot connect to Docker endpoint

david.acton
2016-11-25 14:01
@gaurav what os are you on and are you using docker toolbox or native docker?

a74g
2016-11-25 14:16
has joined #general

gaurav
2016-11-25 14:19
Hi @david.acton sorry i did a mistake. i used ip add of the instantiated containers guest, rather i should have used the ip add or docker daemon of the host. it solved the issue. many thanks

david.acton
2016-11-25 14:19
Np. Glad you got it working

tchiggins
2016-11-25 15:07
has joined #general

eugenluft
2016-11-25 16:30
Hi all, does anybody know how it´s possible to get the length of a Blockchain table?

muralisr
2016-11-25 16:32
@eugenluft as in how many rows there are in a chaincode Table ? Or what do you mean by `Blockchain table` ?

flexyz
2016-11-25 16:35
has joined #general

eugenluft
2016-11-25 16:35
@muralisr yes, exactly.

eugenluft
2016-11-25 16:36
how many rows in the chaincode table. sorry

muralisr
2016-11-25 16:37
Only way is to count using GetRows. Alternately you can maintain a state var for that. Though you have to make sure its consistent with the number of rows in the Table, it maybe worth doing that for large tables

eugenluft
2016-11-25 16:39
@muralisr but my problem is, that i have a table with two keys A | B. Without enter A I can not call GetRows, right?

tzukru
2016-11-25 16:39
if there are two key columns (Key: true) and you want to get rows by second key, what would be the syntax?

eugenluft
2016-11-25 16:41
@tzukru you can not do that with chaincode tables

tzukru
2016-11-25 16:41
@eugenluft same problem here


tzukru
2016-11-25 16:41
but i want to create like:

tzukru
2016-11-25 16:42

tzukru
2016-11-25 16:43
and pass : keys = append(keys, _) keys = append(keys, ownerKey) rowChannel, err := stub.GetRows("AssetsOwnership", keys)

eugenluft
2016-11-25 16:43
but this is not working. As the documentation says you can query using A, A+C or A+C+D

tzukru
2016-11-25 16:44
i want to get all assets that the owner owns.

tzukru
2016-11-25 16:45
then i might be set first column owner and second asset, and query with A or A+B

eugenluft
2016-11-25 16:46
@tzukru this is exactly how we have solved the problem :wink:

tzukru
2016-11-25 16:46
@eugenluft thanks

bhavers
2016-11-25 19:04
has joined #general

tiero
2016-11-26 01:24
has joined #general

thompsonshi
2016-11-26 07:24
has joined #general

ashish.g
2016-11-26 10:00
has joined #general

madhava
2016-11-26 10:56
has joined #general

madhava
2016-11-26 11:03
Hi All, am new to Hyperledger and trying to explore it, please guide me on how to install it and any sample chain creation, am planning to use ubuntu 16.* OS, thank in advance


gaurav
2016-11-26 13:42
Regarding Byzantine PBFT behavior. Trying to setup hyperledger blockchain n/w with multiple peers and few byzantine nodes among them to check byzantine behavior. If I have 2 byzantine nodes in 7 peers, the consensus should fail ideally. However I can check from logs continuous messages: vp6_1 | 13:40:18.542 [consensus/pbft] sendViewChange -> INFO 307 Replica 6 sending view-change, v:1, h:0, |C|:1, |P|:0, |Q|:0 vp6_1 | 13:40:18.544 [consensus/pbft] recvViewChange -> INFO 308 Replica 6 received view-change from replica 6, v:1, h:0, |C|:1, |P|:0, |Q|:0 vp6_1 | 13:40:18.545 [consensus/pbft] recvViewChange -> WARN 309 Replica 6 already has a view change message for view 1 from replica 6 Does this point to consensus still trying to be reached, which will not be possible because of 2 byzantine nodes among 7 nodes. How can i stop the consensus trying to halt after some time. Can i use general.timeout.request? If yes then what is the command line environment variable for it, as I am starting the peers through docker-compose, so need CLI option. Also, even after i add a peer and start 8 peers with 2 byzantine, i could see in the logs below details, and number of peers being considered is only 4. 14:43:14.552 [consensus/pbft] newPbftCore -> INFO 013 PBFT Max number of validating peers (N) = 4 14:43:14.552 [consensus/pbft] newPbftCore -> INFO 014 PBFT Max number of failing peers (f) = 1 14:43:14.552 [consensus/pbft] newPbftCore -> INFO 015 PBFT byzantine flag = true 14:43:14.552 [consensus/pbft] newPbftCore -> INFO 016 PBFT request timeout = 2s 14:43:14.552 [consensus/pbft] newPbftCore -> INFO 017 PBFT view change timeout = 2s 14:43:14.552 [consensus/pbft] newPbftCore -> INFO 018 PBFT Checkpoint period (K) = 10 14:43:14.552 [consensus/pbft] newPbftCore -> INFO 019 PBFT broadcast timeout = 1s Even if i start 8 peers, it shows maximum number of validating peers as 4 only, why? Is there a limitation of 4 validating and 1 byzantine peer?

madhava
2016-11-26 14:21
Thanks @liutc , i don't know Chinese so will gothrough other documents


madhava
2016-11-26 15:58
is it mandatory to start with 3 nodes to setup Fabric environment? can't i start with one node and then add nodes as required?

madhava
2016-11-26 17:00
while running "make peer" part of installation step am getting below error, can some one please help me to fix the issue, OS is Ubuntu 16.*

madhava
2016-11-26 17:00


madhava
2016-11-26 17:17
above issue got resloved after installing tar and .bz dependencies but getting below error at the end of installation

madhava
2016-11-26 17:17

madhava
2016-11-26 17:18
its says "can't load package: package http://github.com/hyperledger/fabric/peer: cannot find package "http://github.com/hyperledger/fabric/peer" in any of: /usr/lib/go-1.6/src/github.com/hyperledger/fabric/peer (from $GOROOT) ($GOPATH not set) "

madhava
2016-11-26 17:25
please help me to fix this issue

madhava
2016-11-26 17:26
i see gopath is also set

madhava
2016-11-26 17:26
ubuntu@ip-20-0-4-47:/opt/gopath/src/github.com/hyperledger/fabric$ echo $GOPATH /opt/gopath/

sudi
2016-11-26 17:44
has joined #general

madhava
2016-11-26 18:25
am almost done with installation if this issue is resloved, plz help me to fix the issue

raymon_steemstars
2016-11-27 02:51
has joined #general

raymon_steemstars
2016-11-27 02:54
@madhava you need to set yer system variable gopath read here https://golang.org/cmd/go/#hdr-GOPATH_environment_variable

sadanandu
2016-11-27 09:21
Hi, does anyone know why the REST api for fabric chain code is being deprecated?

joseantoniogallego
2016-11-27 12:39
has joined #general

joseantoniogallego
2016-11-27 12:40
Hi everybody. New here but willing to help

jwolpert
2016-11-27 13:14
Hey Jose! Welcome.

madhava
2016-11-27 14:11
@raymon_steemstars i already set variable for gopath, all go related env here

madhava
2016-11-27 14:11

madhava
2016-11-27 14:13
any help on below issue is much appreciated, this is while creating peer part of installation

madhava
2016-11-27 14:14

madhava
2016-11-27 14:15
though error is saying shim pkg is not found but am able to see it

madhava
2016-11-27 14:15

tonywiharjito
2016-11-27 14:53
has joined #general

emmanuel.2020
2016-11-27 15:47
has joined #general

emmanuel.2020
2016-11-27 15:49
hi

emmanuel.2020
2016-11-27 15:50
My prediction is that Hyperledger will evolved just like the Ethereum project evolved.

emmanuel.2020
2016-11-27 15:50
eager too see its evolution and live development

sumit
2016-11-27 18:06
has joined #general

ctaylor
2016-11-27 21:04
has joined #general

amelia126
2016-11-27 21:27
has joined #general

jayasimha
2016-11-28 01:42
has joined #general

jayasimha
2016-11-28 01:44
Dear all excited to be part of this group ! i am very excited about how blockchain and hyperchain can impact our lives !

meghana
2016-11-28 03:33
HI, I am getting below error when i tried hitting command vagrant@ubuntu:/opt/gopath/src/github.com/hyperledger/fabric$ make peer curl: (7) Failed to connect to 192.168.0.2 port 3128: Connection timed out Can someone help me in resolving this?

vigneswaran.r
2016-11-28 04:01
@meghana It seems you have set 192.168.0.2:3128 as your http_proxy. Ensure that the proxy is accepting connection. If proxy is not needed, unset the http_proxy, https_proxy environment variables.

madhava
2016-11-28 05:21
hi am getting below error when i tried run "make peer" command an't load package: package http://github.com/hyperledger/fabric/core/chaincode/shim: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: /usr/lib/go-1.6/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) ($GOPATH not set) find: ‘/src/github.com/hyperledger/fabric/core/chaincode/shim’: No such file or directory build/bin/peer CGO_CFLAGS=" " CGO_LDFLAGS="-lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy" GOBIN=/opt/gopath/src/github.com/hyperledger/fabric/build/bin go install -ldflags "-X http://github.com/hyperledger/fabric/metadata.Version=0.7.0-snapshot-d016edb" http://github.com/hyperledger/fabric/peer can't load package: package http://github.com/hyperledger/fabric/peer: cannot find package "http://github.com/hyperledger/fabric/peer" in any of: /usr/lib/go-1.6/src/github.com/hyperledger/fabric/peer (from $GOROOT) ($GOPATH not set) Makefile:168: recipe for target 'build/bin/peer' failed make: *** [build/bin/peer] Error 1 please help me to fix above issue

ankitkamra
2016-11-28 06:09
hi i am facing following issue while registering golang example chaincode:- vp0_1 | 06:08:14.636 [chaincode] processStream -> ERRO 02b Error handling chaincode support stream: stream error: code = 1 desc = "context canceled"

ankitkamra
2016-11-28 06:09
any iputs ?

ankitkamra
2016-11-28 06:09
inputs*

vigneswaran.r
2016-11-28 06:23
@madhava in one of the above comments you mentioned that "sudo make peer". Have you tried without "sudo"? (In case, you want to use 'sudo' for some reasons, then use -E option)

joker
2016-11-28 06:23
Is anybody here?

joker
2016-11-28 06:26
When I setup hyperledger/fabric environment , there are some error. Any help ?

joker
2016-11-28 06:26
Unable to find image 'hyperledger/fabric-baseimage:x86_64-0.2.1' locally x86_64-0.2.1: Pulling from hyperledger/fabric-baseimage 6bbedd9b76a4: Pull complete fc19d60a83f1: Pull complete de413bb911fd: Pull complete 2879a7ad3144: Pull complete 668604fde02e: Pull complete a3ed95caeb02: Pull complete 3337b8a30fa0: Pull complete a39f294ed2d2: Pull complete Digest: sha256:826a0daebbde9c59c18d9f5073a1445e0cc330bd3059a1fc042ab4a4b8874565 Status: Downloaded newer image for hyperledger/fabric-baseimage:x86_64-0.2.1 make[1]: Entering directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools' Building http://github.com/golang/lint/golint -> golint # cd .; git clone https://go.googlesource.com/tools /opt/gotools/obj/gopath/src/golang.org/x/tools Cloning into '/opt/gotools/obj/gopath/src/golang.org/x/tools'... fatal: unable to access 'https://go.googlesource.com/tools/': gnutls_handshake() failed: Error in the pull function. package http://golang.org/x/tools/go/gcimporter15: exit status 128 Makefile:51: recipe for target 'gotool.golint' failed make[1]: Leaving directory '/opt/gopath/src/github.com/hyperledger/fabric/gotools' make[1]: *** [gotool.golint] Error 1 Makefile:56: recipe for target '/opt/gotools/obj/gopath/bin/golint' failed make: *** [/opt/gotools/obj/gopath/bin/golint] Error 2 Makefile:156: recipe for target 'build/docker/gotools' failed make: *** [build/docker/gotools] Error 2

joker
2016-11-28 06:26
here is the tip ??

sachinsurvase
2016-11-28 06:28
try running go get https://go.googlesource.com/tools first

joker
2016-11-28 06:30
yeah , I can get it

joker
2016-11-28 06:31

sachinsurvase
2016-11-28 06:33
Login to VM and execute above command in VM ... then continue with setup

joker
2016-11-28 06:37
i repeat the steps many times, but always get the same error

joker
2016-11-28 06:38
I install the VM , when i try it again

joker
2016-11-28 06:40
one more question , when i run go get https://go.googlesource.com/tools , i install it into $GOPATH/src/github.com

joker
2016-11-28 06:40
Where should I store it ?

sachinsurvase
2016-11-28 06:43
It should be located at $GOPATH/src/golang.org/x/tools

joker
2016-11-28 06:48
en , but somebody says in blog , there should be a copy in $GOPATH/src/github.com/hyperledger/fabric/gotools/build/gopath/src . I do it , but it doesn't make use

joker
2016-11-28 06:48
There are also some error.

aelmanaa
2016-11-28 06:54
has joined #general

vigneswaran.r
2016-11-28 06:57
@joker By any chance you're behind proxy server and your proxy is not allowing access to 'https://go.googlesource.com/tools/'?

joker
2016-11-28 06:59
In China , but I am over the wall

vigneswaran.r
2016-11-28 07:00
The following link talks about similar error.. May be helpful to you.. http://askubuntu.com/questions/186847/error-gnutls-handshake-failed-when-connecting-to-https-servers

joker
2016-11-28 07:01
Yeah ,I use global proxy

joker
2016-11-28 07:02
Thank you

daivd.yan
2016-11-28 07:02

daivd.yan
2016-11-28 07:02
export fabric_path=~/gopath/fabric mkdir -p $fabric_path/gotools/build/gopath/src/golang.org/x/ git clone https://github.com/golang/tools.git mv tools $fabric_path/gotools/build/gopath/src/golang.org/x/ cd $fabric_path/devenv vagrant destroy vagrant up

liutc
2016-11-28 07:12
@joker

liutc
2016-11-28 07:12
if you use Vagrant (option 1), you need to setup the proxy in VM that Vagrant brings up as well

joker
2016-11-28 07:12
yeah??

joker
2016-11-28 07:12
what do you mean ?

liutc
2016-11-28 07:13
also better to set proxy for Docker daemon

joker
2016-11-28 07:13
@liutc

joker
2016-11-28 07:14
I don't understand it

liutc
2016-11-28 07:15
where did you set the proxy?

joker
2016-11-28 07:16
In Ubuntu 14.04 System setting

liutc
2016-11-28 07:18
Vagrant will bring up a VM for you ,when you run "vagrant up". Did you set the proxy in that VM?

joker
2016-11-28 07:19
no

joker
2016-11-28 07:21
should I set the proxy in that VM ? But, it set the global proxy to over the wall to use shadowsocks

liutc
2016-11-28 07:22
try thtat... I did that and succeeded before

joker
2016-11-28 07:23
how should i do ?

joker
2016-11-28 07:23
it

joker
2016-11-28 07:23
it's the first time that i use vagrant and vbox

joker
2016-11-28 07:24
could you give some suggestion ?


joker
2016-11-28 07:25
yeah , thank

joker
2016-11-28 07:25
you

daivd.yan
2016-11-28 07:25
But your problem can be solved without using a proxy

joker
2016-11-28 07:26
a ha ?


daivd.yan
2016-11-28 07:27
I just encountered the same problem at the weekend

joker
2016-11-28 07:27
I try do it , but it doesn't make use. I don't know why

joker
2016-11-28 07:29
When I "vagrant ssh " , It's successful. But when i "make peer" , some error happen

liutc
2016-11-28 07:30
after vagrant ssh (you will be in the VM), then set the VM's proxy

madhava
2016-11-28 07:36
@vigneswaran.r, yes i tried without sudo also, since am using Ubuntu OS i can't login as root, so if i use sudo prefix with commands it will execute as root user

madhava
2016-11-28 07:49
also am following steps which are given in below link for installation, please do share me if there is any other method to install it https://www.ibm.com/developerworks/community/blogs/8d277a63-4204-4fd3-8cb8-b7cb222cd522/entry/Steps_to_setup_Blockchain_Hyperledger_Fabric_0_6_development_environment_on_Ubuntu?lang=en

gokulamurthy
2016-11-28 07:58
Am i able to setup separate these services into separate VMs and communicate each other ?? I meant "Peers are in one VM" and "Member services are in another VM" and "Web application will be in another VM". If yes how to make the communication with one another. Please help me on this.

ankitkamra
2016-11-28 07:59
@gokulamurthy you need to use port forwarding

ankitkamra
2016-11-28 07:59
first of all do port forwarding from host to guest for this you need to modify Vagrantfile

ankitkamra
2016-11-28 08:00
after then from guest machine to docker use docker-compose to expose the ports

vigneswaran.r
2016-11-28 08:46
@madhava Try "sudo -E make peer" (so that the environment variables of the current user will be available for the make).

madhava
2016-11-28 10:04
@vigneswaran.r am getting below error when i run above cmd vendor/github.com/tecbot/gorocksdb/backup.go:4:24: fatal error: rocksdb/c.h: No such file or directory // #include "rocksdb/c.h" ^ compilation terminated. Makefile:168: recipe for target 'build/bin/peer' failed make: *** [build/bin/peer] Error 2

vigneswaran.r
2016-11-28 10:14
It looks like a dependency problem. Please see whether you have installed rocksdb.

ankitkamra
2016-11-28 10:15
hy all i am facing following error:- vp0_1 | 09:55:22.752 [dockercontroller] deployImage -> ERRO 01d Error building images: dial unix /var/run/docker.sock: connect: no such file or directory vp0_1 | 09:55:22.753 [dockercontroller] deployImage -> ERRO 01e Image Output: vp0_1 | ******************** vp0_1 | vp0_1 | ******************** vp0_1 | 09:55:22.757 [dockercontroller] Start -> ERRO 01f start-could not recreate container Post http://unix.sock/containers/create?name=dev-vp0-ee5b24a1f17c356dd5f6e37307922e39ddba12e5d2e203ed93401d7d05eb0dd194fb9070549c5dc31eb63f4e654dbd5a1d86cbb30c48e3ab1812590cd0f78539: dial unix /var/run/docker.sock: connect: no such file or directory vp0_1 | 09:55:22.757 [chaincode] Launch -> ERRO 020 launchAndWaitForRegister failed Error starting container: Post http://unix.sock/containers/create?name=dev-vp0-ee5b24a1f17c356dd5f6e37307922e39ddba12e5d2e203ed93401d7d05eb0dd194fb9070549c5dc31eb63f4e654dbd5a1d86cbb30c48e3ab1812590cd0f78539: dial unix /var/run/docker.sock: connect: no such file or directory

ankitkamra
2016-11-28 10:16
anyone can please help me to resolve this problem

stjaco
2016-11-28 10:36
has joined #general

klausb
2016-11-28 10:36
A company in Germany is testing Hyperledger on z. They are using the IBM signed and tested images from github with the installation procedure from https://hub.docker.com/r/ibmblockchain/fabric-peer/ They can start the peers with consensus noop, after 3 blocks the hashes diverge, but the fabric continues. When they change consensus to pbft via parameter, the peers see each other and communicate. But "deploy" doesn't start a container. We don't know why. Then they took the fabric-peer, changed consensus to pbft via core.yaml, and compiled in the container with "go build". They moved the binary to /opt/gopath/bin, committed the container, and tagged it with "ibmblockchain/fabric-peer:latest" Then they did docker run -d -it --name=vp0 -e CORE_VM_ENDPOINT=http://172.17.0.1:2375 -e CORE_LOGGING_LEVEL=DEBUG -e CORE_PEER_ID=vp0 -e CORE_PEER_ADDRESSAUTODETECT=true -e CORE_PEER_DISCOVERY_ROOTNODE=172.17.0.2:7051 -e CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=pbft ibmblockchain/fabric-peer peer node start Again the hashes diverged after 3 blocks, but the system panicked and the peers died. The problem is reproducable. We can provide core.yaml, logs, blockchecks and commands. Could you help?

madhava
2016-11-28 11:34
@vigneswaran.r, yes rocksdb installed on that node

klausb
2016-11-28 11:44
{"log":"\u001b[33m15:02:24.967 [consensus/pbft] sendPrePrepare -\u003e WARN 21e\u001b[0m Primary 0 not sending pre-prepare for batch Hb34eNOlu0Yb1ijI6u2yq/oofCLEpAgb3IYX5y0HdjMSvTGQ3vHxURVTxdeCPFEF3tSg+kGu6wpMrnU70FEw0g== - out of sequence numbers\r\n","stream":"stdout","time":"2016-11-16T15:01:54.054261Z"} kommen aus pbft-core.go, https://github.com/hyperledger/fabric/blob/v0.6/consensus/pbft/pbft-core.go, line 645: if !instance.inWV(instance.view, n) || n > instance.h+instance.L/2 { // We don't have the necessary stable certificates to advance our watermarks logger.Warningf("Primary %d not sending pre-prepare for batch %s - out of sequence numbers", instance.id, digest) return

vigneswaran.r
2016-11-28 11:48
@madhava If rocksdb is already installed, then I don't know why you're getting that error. May be google search can help you..

alex_krikos
2016-11-28 14:10
has joined #general

zhouky
2016-11-28 14:23
has joined #general

dinesh
2016-11-28 14:27
has joined #general

zhouky
2016-11-28 14:42
I got the following error when "make linter". go vet ./orderer/... orderer/solo/broadcast.go:145: http://github.com/hyperledger/fabric/orderer/atomicbroadcast.BroadcastResponse composite literal uses unkeyed fields orderer/solo/broadcast.go:147: http://github.com/hyperledger/fabric/orderer/atomicbroadcast.BroadcastResponse composite literal uses unkeyed fields orderer/solo/broadcast.go:152: http://github.com/hyperledger/fabric/orderer/atomicbroadcast.BroadcastResponse composite literal uses unkeyed fields exit status 1 Makefile:107: recipe for target 'linter' failed make: *** [linter] Error 1 anyone can help? thx

masa
2016-11-28 14:58
has joined #general

yedendra
2016-11-28 15:25
has joined #general

flexyz
2016-11-28 15:33
Hi all - I am very new with hyperledger :slightly_smiling_face: - I am testing the IBM docker images (https://hub.docker.com/r/ibmblockchain/fabric-peer/) - I have it running and "init" and "invoke" works fine, but "query" fails with this error : 15:08:55.092 [logging] LoggingInit -> DEBU 001 Setting default logging level to DEBUG for command 'chaincode' 15:08:55.092 [chaincodeCmd] getChaincodeSpecification -> INFO 002 Local user 'test_user0' is already logged in. Retrieving login token. Error: Error querying chaincode: rpc error: code = 2 desc = Error:Failed to launch chaincode spec(Could not get deployment transaction for ee5b24a1f17c356dd5f6e37307922e39ddba12e5d2e203ed93401d7d05eb0dd194fb9070549c5dc31eb63f4e654dbd5a1d86cbb30c48e3ab1812590cd0f78539 - LedgerError - ResourceNotFound: ledger: resource not found)

flexyz
2016-11-28 15:33
any clues?

flexyz
2016-11-28 15:38
another thing, is it possible to access a users "public" and "private" key in the chaincode, so I can encrypt and decrypt digital asserts ? - to be stored off-the-blockchain somewhere

aybek
2016-11-28 16:34
hi, I want to run example Asset Management app. there is a link in documentation to fabric network conf "https://github.com/hyperledger/fabric/blob/master/consensus/docker-compose-files/compose-consensus-4.md". that does not exist any more. Which docker-compose-4-consensus should i use for this example ?

garisingh
2016-11-28 17:44
@aybek - check out the v0.6 branch

aybek
2016-11-28 17:57
@garisingh: no such file in v0.6 branch

mwagner
2016-11-28 18:07
has joined #general

tuand
2016-11-28 18:19
@aybek, look in hyperledger/fabric/bddtests , for example, docker-compose-4-consensus-batch.yml sets up a 4-peer network. You'll have to add the security and privacy configurations

jimmero
2016-11-28 18:30
has joined #general

charlesliu
2016-11-28 18:49
has joined #general

wrabadi
2016-11-28 19:13
has joined #general

jefftenn
2016-11-28 19:14
Hi, I am attempting to run go build ./* from the IBM-Blockchain/learn-chaincode/start folder, on my Mac. I already have run a simple hello-world go build on the system without any issues, but when I ran the go build./*, the build hung. After ctrl-c out of the build command, any build attempts now fail with a fatal error unexpected signal during runtime execution. runtime.sigpanic(). I was wondering if anyone else had experienced anything similar. Thanks!

daniel.goodrich
2016-11-28 19:34
has joined #general

andrewh
2016-11-28 19:49
has joined #general

divyank-sk
2016-11-28 20:39
has joined #general

karl.e
2016-11-28 21:01
has joined #general

shihao
2016-11-28 21:10
has joined #general

shihao
2016-11-28 21:15
Is there a more detailed documentation regarding Fabric implementation available? I wish to know more about the project in detail but I can only find overviews

jos
2016-11-28 23:19
has joined #general

francis.chen
2016-11-28 23:25
has joined #general

jiayang.liu
2016-11-28 23:32
has joined #general

fan.torchz
2016-11-29 00:03
Hi, I'm trying to contribute code to cop, but can't get access to the gerrit repo ``` git clone Cloning into 'fabric-cop'... ssh: connect to host http://gerrit.hyperledger.org port 29418: Connection refused fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` I followed the https://hyperledger-fabric.readthedocs.io/en/latest/CONTRIBUTING/ section on document also setup the ssh on http://gerrit.hyperledger.org, but seems still not working. even can't download the repo locally

just4jcgeorge
2016-11-29 02:54
has joined #general

tri.le
2016-11-29 03:09
has joined #general

huyenduong
2016-11-29 04:14
has joined #general

atristan
2016-11-29 05:30
has joined #general

madhavi
2016-11-29 05:50
Hi, I deploy a chaincode in peer, I am getting error as: Error: Error endorsing chaincode: rpc error: code = 12 desc = unknown service protos.Endorser 10:25 how to solve this?

mrbuggy
2016-11-29 06:08
Hello all, Bluemix recently upgraded to fabric v0.6.1

mrbuggy
2016-11-29 06:09
which corresponding HFC version should I install?

ibmamnt
2016-11-29 06:16
@mrbuggy ```npm install hfc@0.6.5```

ibmamnt
2016-11-29 06:17
Please refer to this for more detail.


smiley
2016-11-29 06:34
has joined #general

alexlitz
2016-11-29 07:12
has joined #general

aniket
2016-11-29 07:22
Can anybody please explain all fields return by this API : GET /chain/blocks/{Block} @garisingh

aniket
2016-11-29 07:25

yuwei
2016-11-29 07:37
Hello all, it seems that tools/busywork was removed from latest fabric release.

yuwei
2016-11-29 07:39
How can I apply performance testing now?

mrbuggy
2016-11-29 08:12
@ibmamnt thank you very much!

gaurav
2016-11-29 08:16
Regarding PBFT consensus: Is someone aware of the PBFT consensus plugin usage, its various configuration options and behavior?

stelecaster
2016-11-29 08:38
has joined #general

daniele.laricini
2016-11-29 08:39
has joined #general

rusticbison
2016-11-29 09:43
has joined #general

abhisingh
2016-11-29 09:51
Hi Everyone, I am getting error while doing "make node-sdk"

26cvsrini
2016-11-29 09:52
has joined #general

abhisingh
2016-11-29 09:52

abhisingh
2016-11-29 10:13
Do anyone knows Why I am getting this? Please help

parag.gokhale
2016-11-29 10:19
has joined #general

balajism
2016-11-29 10:27
has joined #general

garisingh
2016-11-29 10:44
@abhisingh - I suspect that you are trying to do this in the Vagrant environment running on a Windows machine?

erimori
2016-11-29 10:46
has joined #general

gkourtellos
2016-11-29 12:16
has joined #general

anton
2016-11-29 12:27
has joined #general

abhisingh
2016-11-29 12:28
@garisingh Right.

garisingh
2016-11-29 12:30
this is a tough one in that there's known issues with Windows / Vagrant not supporting symbolic links (which is the error you are getting as under the covers its trying to do a global install of a package which requires creation of a symbolic link)

garisingh
2016-11-29 12:30
Any reason you have to "build" the SDK rather than just doing an `npm install hfc` and using it?

abhisingh
2016-11-29 12:32
No. I can do that also.

abhisingh
2016-11-29 12:39
@garisingh Even with npm install hfc, it is given me an error

abhisingh
2016-11-29 12:39

garisingh
2016-11-29 12:46
hmmm - maybe ``` npm config set bin-links false npm install hfc ```

enda
2016-11-29 12:55
has joined #general

pjhaga
2016-11-29 13:03
has joined #general

abhisingh
2016-11-29 14:13
@garisingh No luck :disappointed:

sblackburn
2016-11-29 14:18
has joined #general

wouta
2016-11-29 14:36
has joined #general

fan.torchz
2016-11-29 16:24
Hi guys, how can I clone from gerrit using ssh, I've setup everything including LinuxFID and the ssh key on gerrit, but still got `Permission denied` The http way with password works, but it can't be used to submit patch right?

fan.torchz
2016-11-29 16:27
@garisingh I met with similar problem before, just try to rebuild the toolchain about `node-gyp` and `node-pre-gyp`, try `rm -rf $HOME/.node-gyp` first

garisingh
2016-11-29 16:31
@fan.torchz - correct - you need to use git with ssh to submit

fan.torchz
2016-11-29 16:33
so does the gerrit need extra setup for permissions?

fan.torchz
2016-11-29 16:34
@garisingh I just went to Settings > SSH Public Keys > Add keys

garisingh
2016-11-29 16:34
that's correct as I recall

fan.torchz
2016-11-29 16:34
but still got `Permission denied` when cloning

fan.torchz
2016-11-29 17:22
:disappointed: wierd, seems to be my machine is not able to connect port 29418

vikasjakhar
2016-11-29 17:40
Hi..

linda-bernardi
2016-11-29 17:40
has joined #general

linda-bernardi
2016-11-29 17:41
Hi there. Just joined.

emir-sk
2016-11-29 17:50
has joined #general

vinny78
2016-11-29 18:14
has joined #general

esimioni
2016-11-29 18:42
has joined #general

reza
2016-11-29 19:41
has joined #general

thinkovation
2016-11-29 19:58
has joined #general

jonathan_holt
2016-11-29 20:33
has joined #general

jonnycrunch
2016-11-29 20:50
has joined #general

firas.qutishat
2016-11-29 21:13
has joined #general

ludvik
2016-11-29 22:59
has joined #general

randelbrumm
2016-11-29 23:42
has joined #general

sk
2016-11-30 01:15
Running sample app on Starter Kit (v0.6) The last query log show as {"result":{"type":"Buffer","data":[57,55]}} I believe that data contain String "a=99" Anyone know how to log out this String?

heipi
2016-11-30 01:56
Anyone knows how much TPS can be achieved in the fabric?

rbramwell
2016-11-30 02:05
has joined #general

sk
2016-11-30 02:06
@heipi TPS in term of submitted transaction or completed transaction? In term of completed transaction it depend on consensus algorithm and also many factors like algorithm parameters, your node computing power, number of nodes, network etc... You can google to find the claimed TPS for PBFT (default consensus alg. for fabric) And consensus alg on fabric is plug and play, so actually you couldn't really said TPS for fabric, as it will be different according to consensus algorithm module you use.

skonteti
2016-11-30 02:08
has joined #general

alexis
2016-11-30 02:19
has joined #general

sk
2016-11-30 02:28
Answering to my question... So it a Buffer, and [57, 55] is the number it self. Looking at ascii table it is '97'.. (run the sample several times so it not return [57,57]=99) Uh, someone should refine those sample.

heipi
2016-11-30 02:39
@sk thanks

sk
2016-11-30 02:40
The sample chaincode already log the query result value as checked by `docker logs starter' But we need those value on sample client app, right? Adding this: `console.log("val of a=", results.result.toString());` as long as it return Buffer. Now, why I got different number each time... does the deploy initialization value not working...

sk
2016-11-30 02:51
Okay, look like even though client app exec the deploy many times, the chaincode init() is only run once. (unlike invoke(), obviously). Hmmm, is this deploy init behavior were documented somewhere?

laird
2016-11-30 03:47
has joined #general

cypherzealot
2016-11-30 04:24
has joined #general

vigneswaran.r
2016-11-30 04:50
@sk As long as we deploy the same chaincode with same arguments (for init), it will not get re-deployed again; instead we get the same Chaincode ID of the one already deployed. If we change any of the deploy parameters, a new instance will get deployed. (What constitutes the chaincode ID is documented somewhere; couldn't find now).

sk
2016-11-30 06:09
@vigneswaran.r Got it, ty. I'm still learning a lot of things. Anyway then the func name itself: 'deploy' is little bit misleading. Something like 'get' or 'getOrDeploy' maybe more understandable for my dummy brain. just my 2c.

katherine.bai
2016-11-30 06:27
has joined #general

lovesh
2016-11-30 06:41
has joined #general

newdev2524
2016-11-30 06:56
Hi, after I brought up a new peer node while other nodes were running, it seemed the chaincode previously deployed in other nodes didn't sync to the new peer node. Does anyone know what the problem is?

tammyshi
2016-11-30 07:05
has joined #general

rcolchester
2016-11-30 07:14
has joined #general

lovesh
2016-11-30 07:57
I have a question about fabric's Next-Consensus-Architecture-Proposal from github https://github.com/hyperledger/fabric/blob/master/proposals/r1/Next-Consensus-Architecture-Proposal.md. Which is the correct channel to ask the question?

tobychen
2016-11-30 08:36
has joined #general

nigelk
2016-11-30 09:03
has joined #general

m.jay.h
2016-11-30 09:11
has joined #general

cburgdorfer
2016-11-30 09:26
has joined #general

mahendra.panchal
2016-11-30 10:58
has joined #general

mahendra.panchal
2016-11-30 11:02
Hello I had recently picked hyper ledger for my next dapp build. I had good hands on ethereum so that can help me to grab hyper ledger quickly.?

ankitkamra
2016-11-30 11:03
Hi i am trying to setup non validating peer, I have just changed in peer/core.yaml and changed validator=false

ankitkamra
2016-11-30 11:03
i am facing following issue:- nvp0_1 | 10:57:57.945 [peer] handleChat -> ERRO 012 Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Error registering Handler: Duplicate Handler error: {name:"nvp0" 172.17.0.2:7051 NON_VALIDATOR }

ankitkamra
2016-11-30 11:03
can anyone help me to resolve the issue ?

karthikrajagopal
2016-11-30 11:44
has joined #general

fufiano
2016-11-30 11:47
has joined #general

joker
2016-11-30 12:14
when i deploy hyberledger/fabric in Ubuntu 14.04 with vagrant but without AC, some problem accur : when Running the chaincode with vagrant :here is the problem :


joker
2016-11-30 12:16
Could somebody give me some suggestion ?? Thank you

taishi
2016-11-30 13:04
I have a question. Can IoT be used with Hyperledger? That is, is it possible for IoT devices to have TCert? In that case, does the IoT device need to have an ECert as well? By the way, the IoT device can not have a full block chain.

bfuentes
2016-11-30 13:08
@taishi ECert is the base, TCert can be request on demand. Yep, the IoT can only have the wallet and dialog with BC without being a "peer"

taishi
2016-11-30 14:17
@bfuentes I need to create that wallet with HFC sdk, right?

bfuentes
2016-11-30 14:17
yes, use the nodesdk for it

bfuentes
2016-11-30 14:18
is the KeyStore

bfuentes
2016-11-30 14:18
@taishi is by default a filesystem implementation

taishi
2016-11-30 14:19
ok. thanks!

taishi
2016-11-30 14:31
I have one more question.I saw the document's Identity Management FAQ. Fabric can issue tx encrypted with secret key. Stakeholders who do not keep their secret keys can not know their contents. I have a question here. Who will create that secret key? Who and how do you share that key with a specific person?

olaf.tacke
2016-11-30 14:40
has joined #general

diagprov
2016-11-30 14:41
has joined #general

azanux
2016-11-30 14:51
has joined #general

olaf.tacke
2016-11-30 14:51
who can help here? client is willing to try and needs feedback, so please guide us of how to approach...

rehmke
2016-11-30 14:57
Hello - as I would like to hit the ground running next week at the public event in NY, and this will be my first Hyperledger hackathon, does anyone have any recommendations as to what information one should have and what steps one should take (i.e. development setup) to optimize one’s preparedness to enable optimal participation and impact? Please advise, and thanks.

olaf.tacke
2016-11-30 15:03
@rehmke may you can talk to Anna Shugol she was organising the London blockchain hackathon...

qjouda
2016-11-30 15:14
has joined #general

sehrlich
2016-11-30 15:18
has joined #general

qjawe
2016-11-30 15:31
I was thinking of organizing Blockchain Hackathon in Singapore :flag-sg:

eugenluft
2016-11-30 15:47
Hi gents, does anybody know why our memberservice is not working? logs for peer 0: ``` 15:21:43.828 [peer] func1 -> INFO 001 Auto detected peer address: 172.17.0.3:7051 15:21:43.829 [peer] func1 -> INFO 002 Auto detected peer address: 172.17.0.3:7051 15:21:43.830 [nodeCmd] serve -> INFO 003 Security enabled status: true 15:21:43.830 [nodeCmd] serve -> INFO 004 Privacy enabled status: true 15:21:43.832 [eventhub_producer] start -> INFO 005 event processor started 15:21:43.874 [crypto] RegisterValidator -> INFO 006 Registering validator [test_vp0] with name [test_vp0]... 2016/11/30 15:21:44 grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 172.17.0.2:7054: getsockopt: connection refused"; Reconnecting to "membersrvc:7054" 2016/11/30 15:21:46 grpc: ClientConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 172.17.0.2:7054: getsockopt: connection refused"; Reconnecting to "membersrvc:7054" 2016/11/30 15:21:46 Failed to dial membersrvc:7054: grpc: timed out trying to connect; please retry. 15:21:46.547 [crypto] Errorf -> ERRO 007 [validator.test_vp0] Failed requesting read certificate [rpc error: code = 2 desc = "grpc: the client connection is closing"]. 15:21:46.547 [crypto] Errorf -> ERRO 008 [validator.test_vp0] Failed requesting ECA certificate [rpc error: code = 2 desc = "grpc: the client connection is closing"]. 15:21:46.547 [crypto] Errorf -> ERRO 009 [validator.test_vp0] Failed getting ECA certificate [rpc error: code = 2 desc = "grpc: the client connection is closing"]. 15:21:46.547 [crypto] Errorf -> ERRO 00a [validator.test_vp0] Failed retrieving ECA certs chain [rpc error: code = 2 desc = "grpc: the client connection is closing"]. 15:21:46.547 [crypto] Errorf -> ERRO 00b [validator.test_vp0] Failed registering node crypto engine [rpc error: code = 2 desc = "grpc: the client connection is closing"]. 15:21:46.547 [crypto] Errorf -> ERRO 00c [validator.test_vp0] Failed registering peer [test_vp0]: [rpc error: code = 2 desc = "grpc: the client connection is closing"] 15:21:46.547 [crypto] Errorf -> ERRO 00d [validator.test_vp0] Failed registering [test_vp0]: [rpc error: code = 2 desc = "grpc: the client connection is closing"] 15:21:46.547 [crypto] RegisterValidator -> ERRO 00e Failed registering validator [test_vp0] with name [test_vp0] [rpc error: code = 2 desc = "grpc: the client connection is closing"]. 2016-11-30T15:21:46.548345352Z Usage: peer node start [flags] 2016-11-30T15:21:46.548371202Z Flags: -h, --help[=false]: help for start --peer-chaincodedev[=false]: Whether peer in chaincode development mode 2016-11-30T15:21:46.591821368Z 2016-11-30T15:21:46.591830117Z Global Flags: --logging-level="": Default logging level and overrides, see core.yaml for full syntax --test.coverprofile="coverage.cov": Done -v, --version[=false]: Display current version of fabric peer server 2016-11-30T15:21:46.591862096Z Error: rpc error: code = 2 desc = "grpc: the client connection is closing” ``` memberservice container: ``` 15:21:38.242 [server] main -> INFO 001 CA Server (0.1) 15:21:38.242 [ca] NewCA -> INFO 002 Fresh start; creating databases, key pairs, and certificates. 15:21:38.619 [eca] Start -> INFO 003 Starting ECA... 15:21:38.620 [eca] startECAP -> INFO 004 ECA PUBLIC gRPC API server started 15:21:38.620 [eca] startECAA -> INFO 005 ECA ADMIN gRPC API server started 15:21:38.620 [eca] Start -> INFO 006 ECA started. 15:21:38.620 [tca] Start -> INFO 007 Staring TCA services... 15:21:38.620 [tca] startTCAP -> INFO 008 TCA PUBLIC gRPC API server started 15:21:38.620 [tca] startTCAA -> INFO 009 TCA ADMIN gRPC API server started 15:21:38.620 [tca] Start -> INFO 00a TCA started. 15:21:38.620 [tlsca] Start -> INFO 00b TLSCA started. ```

aybek
2016-11-30 15:50
Hi all, I'm trying to deploy a chaincode to the network in ibm.bluemix. The chaincode is from example asset_management. Deployment fails on init, line : adminCert, err := stub.GetCallerMetadata() certificate is empty. Although i've registered admin user . Could you please help , what is wrong ?

bfuentes
2016-11-30 16:04
maybe your network do not have security enabled

aybek
2016-11-30 16:06
@bfuentes where can i enable it ?

bfuentes
2016-11-30 16:06
what do u use ?

aybek
2016-11-30 16:07
I'm using already running network in ibm.bluemix cloud

aybek
2016-11-30 16:07
membership service is running, does it mean security enabled ?

aybek
2016-11-30 16:11
security is enabled

aybek
2016-11-30 16:11
user is registered

aybek
2016-11-30 16:11
user has certificate

aybek
2016-11-30 16:12
but chaincode gets it empty

bfuentes
2016-11-30 17:01
:confused:

bfuentes
2016-11-30 17:02
when peer starts, you have to look at security level

bfuentes
2016-11-30 17:02
how do u start it ?

bfuentes
2016-11-30 17:02
docker ?

bfuentes
2016-11-30 17:02
vagrant ?

bfuentes
2016-11-30 17:05
this is docker-compose stuff :

bfuentes
2016-11-30 17:05
- CORE_SECURITY_ENABLED=true

nbosco
2016-11-30 17:42
has joined #general

albrandt
2016-11-30 17:56
has joined #general

taylor.a.perez
2016-11-30 20:07
has joined #general

grace
2016-11-30 20:26
has joined #general

sapenf
2016-11-30 20:52
has joined #general

jeremyb
2016-11-30 21:10
has joined #general

pmodi
2016-11-30 21:15
has joined #general

tim.davies
2016-11-30 21:16
has joined #general

drozd
2016-11-30 21:16
has joined #general

jjvaccaro
2016-11-30 23:07
has joined #general

humblealex
2016-12-01 01:09
@aybek example asset_management should be run with the app which fills in the meta field of chaincode spec with adminCert, so the stub.GetCallerMetadata can get it on the chaincode side. If you just deployed the chaincode without running the app our manually filling the metadata filed of chaincode spec when deploying, you will get nothing with GetCallerMetadata function

humblealex
2016-12-01 01:10
@aybek check the app from asset_management/app/app.go & app_internal.go, you will know what I was talking about

kitano
2016-12-01 02:40
has joined #general

jw
2016-12-01 02:47
has joined #general

bharat
2016-12-01 03:47
Hi , can any one give me an idea how to debug chaincode, I'm having issues in one scenario, I am writing to ledger using invoke, the transaction complete successfully, however when I query back, it doesn't give anything. Any idea?

humblealex
2016-12-01 03:57
does anyone have the experience runing utxo exmaple? I did exactly as instructed in the README, but getting the error:

humblealex
2016-12-01 03:57
Got error: execute operation must include single argument, the base64 encoded form of a bitcoin transaction

humblealex
2016-12-01 03:58
the java app seems doing fine.

humblealex
2016-12-01 03:58
Block: 497 Block hash: 000000003CE92AA93D011C8F40902EB4F3FB6D170C3B9519897BFCEDFB97B0ED Transaction count: 1 TransactionBytes: [B@35ef1869

humblealex
2016-12-01 03:58
........

humblealex
2016-12-01 03:59
but the agrs passing to the chaincode is null, how should I fix that? I am using v0.6.1 by the way.

newdev2524
2016-12-01 04:43
Hi, after I brought up a new peer node while other nodes were running, it seemed the chaincode previously deployed in other nodes didn't sync to the new peer node. Does anyone know what the problem is?

akashsethi24
2016-12-01 05:41
has joined #general

aybek
2016-12-01 06:53
@humblealex thank you

jtomtan
2016-12-01 06:56
has joined #general

weisochen
2016-12-01 07:33
has joined #general

dianacbiggs
2016-12-01 08:28
has joined #general

beor
2016-12-01 08:38
has joined #general

flim
2016-12-01 08:57
has joined #general

gillis
2016-12-01 11:05
has joined #general

rahuljain
2016-12-01 11:59
has joined #general

rahuljain
2016-12-01 12:02
i need to pick up the OS and version for hyperledger installation. Can someone guide me to some weblink which has the details ?

m.jay.h
2016-12-01 12:40
cat /etc/issue

m.jay.h
2016-12-01 12:40
uname -a

dkutalek
2016-12-01 12:58
has joined #general

vijayvijay
2016-12-01 13:05
has joined #general

eagle
2016-12-01 13:20
has joined #general

eugenluft
2016-12-01 13:47
@eugenluft pinned a message to this channel.

ephan
2016-12-01 14:31
has joined #general

amarpreet
2016-12-01 14:44
has joined #general

devopservices
2016-12-01 16:54
has joined #general

accoladejeff
2016-12-01 16:54
has joined #general

aybek
2016-12-01 18:24
Hi, i have question about fabrik-java-sdk. Does it have method to sign and verify the identity ? I can not see it. crypto.CertificateHandler

bharat
2016-12-01 18:48
Hi, anyone can help, how to capture error from invoke transaction, it always returns with message and success but transaction is not written to the ledger.

jeffbarnes769
2016-12-01 18:55
has joined #general

chetsky
2016-12-01 20:31
Hi, I'm curious about where HL users/stakeholders think that being able to implement order-matching *in chaincode* is an important attribute of a blockchain they'd use?

chetsky
2016-12-01 20:31
as opposed to implementing order-matching outside of chaincode, and merely using the blockchain for *settlement*

cgarro
2016-12-01 20:38
has joined #general

aldigjo
2016-12-01 21:18
has joined #general

mickie
2016-12-01 21:53
has joined #general

nikgupta
2016-12-01 22:09
has joined #general

chaingenie
2016-12-01 22:53
has joined #general

sthuraisamy
2016-12-02 01:48
has joined #general

amar
2016-12-02 01:56
has joined #general

praveennagpal
2016-12-02 04:13
has joined #general

cstangjun
2016-12-02 05:37
has joined #general

bholtwick
2016-12-02 06:00
has joined #general

7sigma
2016-12-02 06:24
In V0.6 core/crypto/client_tca.go path, can some plz here me in knowing in the latest code base where can I find this file or related

ceobco
2016-12-02 07:18
has joined #general

ceobco
2016-12-02 07:19
Hello

ceobco
2016-12-02 07:19
where can i find documentation to install hyperledger on docker cloud ?

satyam_agl
2016-12-02 07:21
please anybody guide me what is the use of the Node SDK ,if a user can hit the chaincode api directly. how do i make a dynamic entry in the memmbersrvc.yml for certificates of the user?

jjmiranda
2016-12-02 08:03
@bharat: Good point, I have the same question. How it's possible capture error from invoke transaction?

gvlax
2016-12-02 09:45
has joined #general

keech
2016-12-02 10:05
has joined #general

ceobco
2016-12-02 12:25
Hi, I'm not able to have docker LISTEN on 2375.


anoukhan
2016-12-02 12:43
has joined #general

ganul
2016-12-02 12:45
has joined #general

lizh
2016-12-02 13:24
has joined #general

garisingh
2016-12-02 13:25
@ceobco - assuming you are running on your own host (i.e. outside of Vagrant), you have to explicitly tell the Docker daemon to listen on TCP ( `-H ` )

iamhamsure
2016-12-02 13:54
has joined #general

slawomir.zagrodny
2016-12-02 14:03
has joined #general

ceobco
2016-12-02 14:13
Problem with not listening on 2375 solved. :slightly_smiling_face:

agriessel
2016-12-02 14:29
has joined #general

bcbrock
2016-12-02 14:50
Does anyone know if the recent CME/Royal Mint announcment of tokenized Gold trading will use the Hyperledger fabric?

tejaskoundinyatc
2016-12-02 14:50
has joined #general

rcampos
2016-12-02 14:54
has joined #general

loweherz
2016-12-02 16:52
has joined #general

cloud.strife
2016-12-02 17:14
hey all, So i have a 4 node peer cluster with membersrvc running on latest code from branch 0.6

cloud.strife
2016-12-02 17:14
one of my peers has become out of sync. I have 6 chaincode running. How would i go about recovering the peer?

cloud.strife
2016-12-02 17:15
the chancode is deployed via hfc with source code passed to it (source is not on filesystem of the peer)

cloud.strife
2016-12-02 17:17
the hfc client has been modified to create human readable chaincode names instead of the sha hash

guyz
2016-12-02 17:40
has joined #general

imharshj
2016-12-02 20:51
has joined #general

jared.corduan
2016-12-03 01:29
has joined #general

carlsenk
2016-12-03 06:49
has joined #general

mylara
2016-12-03 08:26
has joined #general

joker
2016-12-03 11:37
When i deploy chaincode , A problem occured , "11:32:56.835 [chaincode] Launch -> ERRO 24d sending init failed(handler not found for chaincode jdoe) " .How can I solve it ? Thank you

joker
2016-12-03 11:38
There is no "peer network login <username>"

pisospro
2016-12-03 16:24
hello, I have a problem with running chaincode_example02. After successfully running docker-compose up and building chaincode_example02 I'm trying to run CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02 and getting the error "CORE_CHAINCODE_ID_NAME is not recognized as commandlet..."

lesterpig
2016-12-03 17:06
has joined #general

edrian
2016-12-03 19:56
has joined #general

richardo
2016-12-04 00:31
has joined #general

david.druker
2016-12-04 00:55
has joined #general

steven.landers
2016-12-04 01:23
has joined #general

steven.landers
2016-12-04 01:29
is there any special trick to getting certificate attributes when using dockerized chaincode (not --peer-chaincodedev)? I see the attributes on the cert - membership services says ACA is enabled.

steven.landers
2016-12-04 01:30

steven.landers
2016-12-04 01:33
@pisospro i've had luck using the node sdk from within a docker container to deploy chaincode, if that helps

camelsoft
2016-12-04 04:37
has joined #general

iyawat
2016-12-04 06:25
has joined #general

steven.landers
2016-12-04 06:59
(Got it figured out. I had mismatched fabric versions on fabric-baseimage vs. peer vs. node sdk)

jotege
2016-12-04 07:20
has joined #general

tzukru
2016-12-04 10:08

tung
2016-12-04 11:10
has joined #general

yl_1314
2016-12-04 11:46
has joined #general

parwez
2016-12-04 13:05
has joined #general

duncanjw
2016-12-04 13:15
Created #event-member-summit for next week’s event as I couldn’t see anything obvious focused on this event

angandhi
2016-12-04 18:23
has joined #general

name63
2016-12-04 18:24
has joined #general

cpruijsen
2016-12-04 18:48
has joined #general

killari
2016-12-04 19:28
has joined #general

donjohnny
2016-12-04 21:31
has joined #general

fabianpie
2016-12-04 22:56
has joined #general

jaysa
2016-12-04 23:49
has joined #general

recsfx
2016-12-05 00:21
has joined #general

weiluen
2016-12-05 01:51
has joined #general

scott
2016-12-05 03:32
has joined #general

jkrauss100
2016-12-05 04:44
has joined #general

kansi
2016-12-05 04:50
has joined #general

kansi
2016-12-05 04:56
hi, i am trying to use the latest fabric code. It seems that membersrvc is not there in the current code.

kansi
2016-12-05 04:57
does fabric-cop serve the same purpose as membersrvc ?

pramod.kumar
2016-12-05 05:10
has joined #general

tim.davies
2016-12-05 05:12
Yes. Got renamed for some reason.

kansi
2016-12-05 05:16
@tim.davies thanks. I will change peer PKI urls to point to fabric-cop

akashsethi24
2016-12-05 05:20
Hi All i have created Linux foundation account but i am unable to login to gerrit hyperledger project is there anything that i need to do Thanks in Advance

kalyan
2016-12-05 07:15
has joined #general

andreaspages
2016-12-05 07:26
has joined #general

wangjie
2016-12-05 07:57
has joined #general

wangjie
2016-12-05 07:59
hello everybody


kansi
2016-12-05 08:15
@aybek there are few features which are not included in v1, will the current master of fabric work without them ?

aybek
2016-12-05 08:17
@kansi , dont know, just read about v1 , i'm using v0.6.

taco
2016-12-05 08:41
has joined #general

valfox
2016-12-05 09:43
has joined #general

valfox
2016-12-05 09:46
Hi there

abhisingh
2016-12-05 09:58
Hi Everyone, I have quick question regarding Chaincode to Chaincode invocation. Suppose, I have two chaincode CC1 and CC2, and I am invoking CC1 and internally CC1 is invoking CC2. In my case, transaction to CC2 is failing, but whole transaction (transaction to CC1) is successful. Ideally, if transaction to CC2 is failing, then transaction to CC1 should also fail because part of the transaction (transaction to CC2) is failing. Exception thrown by CC2 is catching by System Chaincode (shim) but it is not informing CC1 about the failure of transaction to CC2.

mia
2016-12-05 10:07
has joined #general

hypnotortoise
2016-12-05 10:15
has joined #general

sumitks
2016-12-05 11:04
deploy resp error - there is no chaincode hash name in response: { jsonrpc: '2.0', error: { code: -32602, message: 'Invalid params', data: 'Chaincode name may not be blank in development mode.' }, id: 1480936072131 } ! looks like a deploy error, holding off on the starting the socket { name: 'deploy() error no cc name', code: 502, details: { jsonrpc: '2.0', error: { code: -32602, message: 'Invalid params', data: 'Chaincode name may not be blank in development mode.' }, id: 1480936072131 } }

sumitks
2016-12-05 11:05
I am getting this error while running marbles in local docker environment.

sumitks
2016-12-05 11:05
What could be the reason for this

sumitks
2016-12-05 11:08
@garisingh

blint
2016-12-05 11:44
has joined #general

donjohnny
2016-12-05 12:06
Hi, I want to be sure I'm running v0.6, how can I check if I'm not running v1.0? I have some problems deploying my chaincode in dev mode, it keeps asking me for a path

kansi
2016-12-05 12:07
donjohnny you can check the git branch

kansi
2016-12-05 12:08
it should be v0.6

garisingh
2016-12-05 12:08
@donjohnny: If you are using the published Docker images you are using v0.6. If you built from master it's 1.0

garisingh
2016-12-05 12:08
@sumitks: not sure how you are deploying but looks like you are running in dev mode?

garisingh
2016-12-05 12:09
If so, you need to use the name parameter rather than path and the deploy name should match the name you started your chaincode with

donjohnny
2016-12-05 12:10
@garisingh : not sure, I'm using vagrant (on windows) and the images were downloaded when i executed "make peer", right ?

kansi
2016-12-05 12:10
@garisingh does the current master and fabric-cop work along well ?

donjohnny
2016-12-05 12:11
@garisingh when I type peer -v I get: Fabric peer server version 0.7.0-snapshot-92bbf99 however the membersrvc isn't in the fabric directory, which should be for the .6 version right ?

donjohnny
2016-12-05 12:12
also peer network command isn't in my version

ulrichwalter
2016-12-05 12:15
has joined #general

garisingh
2016-12-05 12:17
You are on the 1.0 architecture

bdammrose
2016-12-05 12:32
has joined #general

robinwebb
2016-12-05 12:41
has joined #general

diptiman
2016-12-05 13:08
has joined #general

donjohnny
2016-12-05 13:17
@garisingh : that's what I thought, what has changed in respect with the chaincode_example02 that doesn't work anymore ?

akashsethi24
2016-12-05 13:19
Did anyone k now how to send PR on Gerrit of HyperLedger

joaojoyce
2016-12-05 13:22
has joined #general

sekharkumarroy
2016-12-05 13:27
has joined #general

akonyaev
2016-12-05 13:28
has joined #general

sathishjo
2016-12-05 13:32
has joined #general

stevenroose
2016-12-05 14:45
anyone of you guys that has taken a look at Corda yet?

biser
2016-12-05 14:52
has joined #general

jonathanlevi
2016-12-05 14:54
@stevenroose: the short answer is `yes` :wink:

jonathanlevi
2016-12-05 14:54
The code & the documentation actually.

stevenroose
2016-12-05 14:54
@jonathanlevi well, once I got that short answer, I can move on to a second one :slightly_smiling_face:

stevenroose
2016-12-05 14:55
What does it do/have that Fabric does not?

jonathanlevi
2016-12-05 14:55
Some of us are in NYC just now with a few people from R3

jonathanlevi
2016-12-05 14:56
We are actually going to spend some time, talking about these (in more details)

jonathanlevi
2016-12-05 14:56
(So the coming two days are around Fabric, Sawtooth, Corda, Blockchain Explorer, Iroha, …)

jonathanlevi
2016-12-05 14:58
Mainly because I am a lot more familiar with Fabric at this point… I can point you to where you can ask the Corda guys directly too.

jonathanlevi
2016-12-05 14:58
I find these very useful: http://discourse.corda.net

stevenroose
2016-12-05 15:00
@jonathanlevi Yeah I'm on their slack, but the guys there did not have experience with Fabric, that's why I ask here

jonathanlevi
2016-12-05 15:03
Yes, I’m there too. I (personally) am still catching up what Corda has - so I don’t want to mislead. Maybe others can answer this then, but it’s probably also a good question for the discussions there (mind you, Corda’s code is open since Nov 30, yes still: I have made it a mission to learn all I can about it in the coming days.)

weeds
2016-12-05 15:08
Today, there are 80 people registered to come and the room is full. People from various companies, but also Hyperledger members who are focusing on fabric, Sawtooth Lake, and R2. I am posting what is being presented at Hyperledger Hackathon on fabric-dev channel from Binh. He thanked the community for all their contributions and is looking for further input.. HE also highlighted 2 companies are already in production with Hyperledger-fabric on 0.6. He also covered lessons learned from the production and working with other companies that are baked into the version 1.0 design-- the details are posted on the slack channel fabric-dev

shahan.khatchadourian
2016-12-05 15:19
has joined #general

jonathanbmorley
2016-12-05 15:20
has joined #general

weeds
2016-12-05 15:23
Jim Shows a Demo of where we are with Version 1.0 on Hyperledger fabric

wperry
2016-12-05 15:25
has joined #general

weeds
2016-12-05 15:26
Jim shows everything native on his MAC. He is starting up COP (originally known as membership services). This is where he has the trust anchor for SDK involving the user. Users can then sign transactions and can be verified by the peers. Jim then starts up the network with 4 nodes and each will be using CouchDB under the cover

weeds
2016-12-05 15:28
Binh presents the Schedule.

weeds
2016-12-05 15:28
of what he would like to propose for the roadmap

weeds
2016-12-05 15:30
What we have today- Endorsement model, dynamic multichain, SDK application, SDK, Pluggable identity, Pluggable data store, HSM support, access control, upgradeable chaincode, pluggable consensus

weeds
2016-12-05 15:30
For January- work with it for performance, security code hardening and what remaining items.

weeds
2016-12-05 15:30
In February- we want to propose exit incubator possibly if community approves

weeds
2016-12-05 15:31
We would continue to work in February and sometime we try to wrap everything up in release of version 1.0

weeds
2016-12-05 15:32
The Incubator designation is not about the product... the incubator graduation requirements is how is the team operating and checklist of other items. Brian is indicating that Fabric can do earlier than February and is independent . He felt we might be able to exit as incubation this month.

weeds
2016-12-05 15:33
Question: Is same way you could switch out couchdb and level db. Yes, you can contribute with database.. some people are already experimenting with MySQL and DB2.

weeds
2016-12-05 15:35
Back to the demo-> here is the cop that is providing trust anchor. The application can use the SDK using the specifications led by DTCC. Every transaction has 2 steps- one is to send the proposal,.. once the proposal comes back, you can inspect the endorsement results and compliant to your policy. The application decides whether to proceed with transaction and send to orderer.. and VSCC is the final validation. You can run w ith marbles end to end. Jim showed Marbles to couch db so the state is saved JSON documents... This allows you to do faster query.

weeds
2016-12-05 15:35
So now you can ask chaincode to do the state lookup or you can go directly to couchdb

weeds
2016-12-05 15:36
I sent a couple of transactions. He put three transactions in it already. Jim showed the native query on couch db-- showed json look up with nice Couch ui-- could do with perl or other clients.. He shows the result where there is no involvment of the peer nodes at all. This is helpful with data analytics,etc,.

greg_not_so
2016-12-05 15:37
checking in as i'm in the room as well

weeds
2016-12-05 15:37
Question: Where is the consensus algorithm executed? The way we define consensus is multiple steps. three steps--> at the endorser, the ordering, and the validation. This is different from 0.6 release where it was integrated. So now, we execute transaction and endorse,.. then we order,.. and validate

weeds
2016-12-05 15:38
There is a lot of ways to detect malicious peer. If replay attack- we can detect that. If it's honest, but malicious inside somehow- the transaction would ge through some endorsements if the endorsement is malicious somehow. Let's say transaction A and B... say A is malicious. It requires both of the signatures to endorse that transaction. The application can catch that quite quickly

weeds
2016-12-05 15:39
The consensus starts when transaction enters the system to where it ends.

weeds
2016-12-05 15:41
Brian Behlendorf asks what do you need from community? Binh responded on fabric such as- > Please contribute,.. please contribute on samples,. on please contribute on documentation,.. We do have tags in the code such as "help wanted"... Brian suggested maybe we need to produce a query for "help wanted"

weeds
2016-12-05 15:45
Binh indicated we had 100's of pocs from numerous companies and several people in production with the 0.6 version of the fabric. One important element is to take this level of code and to start really testing/ moving these pocs to version 1.0 and testing out the stability/quality finding all the relevant bugs

weeds
2016-12-05 15:46
Chris suggested- jumping in deep into code if you are not familiar probably isn't the best way to start if you aren't already there. He suggested get it up and working, improve the automation of getting it up and working, develop some samples to get it started,.. and help us improve documentation for the next guy. Additional tests, additional help , ease of use and user experience would be really helpful.

weeds
2016-12-05 15:47
Jim says we also want input on the SDK for stateless implementation for design. We have a task lined up in JIRA to do this.

weeds
2016-12-05 15:48
Brian Belendorf indicated for your code to be labeled Alpha, Beta, 1.0 release. This characterizes performance, security review,etc,.. is that aligned when you cut the release? We need to meet those.

weeds
2016-12-05 15:50
*Norbloc*

weeds
2016-12-05 15:51
introduced themselves- they plan to do KYC with Fabric.. they want to talk about deletion on the blockchain,.. ie the "Right to Be Forgotten".

greg_not_so
2016-12-05 15:51
did someone say there is a scenario on 'deletion' of blockchain?

weeds
2016-12-05 15:52
Norbloc said they are interested in it.. but nothing in detail

weeds
2016-12-05 15:52
*Hyperledger Sawtooth Lake Update- Tod Barnes/Intel*

weeds
2016-12-05 15:53
Tom said he's really able to talk about stats, but he did have a few notes to share... he's going to give a quick snapshot of where project is

weeds
2016-12-05 15:53
Sawtooth update-->

weeds
2016-12-05 15:54
- New and improved CLI: cluster command and others, better interop with docker, cloud; improved support for launching and maintaining large networks

weeds
2016-12-05 15:54
- improved/improving developer flows: with respect to PR, integration testing, and Jenkins

weeds
2016-12-05 15:54
- Performance enhancements (in progress)- resulting from testing over global networks; better threading model to support ledger transfer and transaction handling; details to follow

weeds
2016-12-05 15:54
- New and improved stats client (tom will present later): Modularity, integration with CLI

weeds
2016-12-05 15:55
- Opensourced Ledger Explorer (Zac will present later)

weeds
2016-12-05 15:57
We'd like to know what's working, documentation, what tools and what needs improved automation?

weeds
2016-12-05 15:57
Question: If you want to spin up an AWS mode- is that out there? No

greg_not_so
2016-12-05 15:58
how about on Bluemix, would sawtooth host there?

weeds
2016-12-05 15:58
We do not have production level quality,.. and can't comment on time frame?

weeds
2016-12-05 15:59
@greg_not_so I know that I was interested personally (I'm from IBM) to see if Sawtooth lake would like to plug into fabric as i see it as a very scalable capability.. potentially running AWS, Bluemix,etc,. Maybe something worth discussing here?

weeds
2016-12-05 16:00
Zach from Sawtooth decided to demo a GUI--- Smartplace navigator that recently open sourced

weeds
2016-12-05 16:00
Sawtooth is another Hyperledger implementation. It is a trusted environment and proof of elapsed time consensus that gets used to prove consensus without so many resources (hardware implementation)

weeds
2016-12-05 16:01
Marketplace Navigator- We break our implementation transaction familes

weeds
2016-12-05 16:01
UI is written in closure script (they are doing a demonstration live)

greg_not_so
2016-12-05 16:01
@weeds i'm only a Bluemix partner, but have seen Intel do other partnerships, so would be interested to see if they want to do something together with IBM, on their own or with someone else

weeds
2016-12-05 16:02
You use a wiki to verify identity -->shown on screen generate WIF key, create participant

weeds
2016-12-05 16:02
We are going to create market participant itself . On screen- waiting for participant to be provisioned, this may take a few minutes

weeds
2016-12-05 16:03
Now the participant is going to get a few assets-- in backcground green screen- you can see it running in background

weeds
2016-12-05 16:03
In main dashboard - the market place is broken into assets and holdings of those assets.

weeds
2016-12-05 16:04
As a market- I'm going to create an asset-- on screen create asset- he filled out name, description, and asset type (a new one is being created)

weeds
2016-12-05 16:04
Why asset and asset types? You may want to categorize drugs- FDA approves all drugs and control drug approval, but then individual drug types for one particular company..

weeds
2016-12-05 16:04
So he showed currency,.. and we are restricting (only our market can create it)

weeds
2016-12-05 16:05
US $ are divisible and tradeable and can be consumed...

weeds
2016-12-05 16:05
Transaction submitted to blockchain- it got approved and pops up on te left... under assets (screen had assets, holdings and then working environment on right btw)

weeds
2016-12-05 16:06
Create holding- he had name , description, asset and count -- he created 2000000

weeds
2016-12-05 16:06
He created a holding in $'s which showed... and then created token

weeds
2016-12-05 16:06
Token allows you to validate participant.. this is a way to provision money to people and verify individuals

weeds
2016-12-05 16:07
So he then create sell offer-- Provision,.. we input the token in the amount of 1 and pay out amount of us $ of 1000...it can be executed once per participant

weeds
2016-12-05 16:07
Once it's committed, we have everything for our market/setup...

weeds
2016-12-05 16:08
He then showed another example with Baker-- provisioning a token and that's about it.

weeds
2016-12-05 16:08
we are going to create holding for $ tat the market put out and we will get us $ and create a new asset type of cookies

weeds
2016-12-05 16:11
He has bonds/transactions example that he is going to open source

weeds
2016-12-05 16:11
He has an example of concert tickets as well

weeds
2016-12-05 16:15
Questions:

weeds
2016-12-05 16:16
What is distinctive about Sawtooth Lake? This application is so generic and compare between the branches is a good way to go-- it sort of buys and sells anything in simulation. It's built as a generic proof of concept.

weeds
2016-12-05 16:18
*Comment from audience*- the thing I found interesting is the concept of transaction families.. It seems like there is some basic architectural constructs. Here is how you plug in consensus, here is communication protocols,. and with transaction families, give a blockchain a flavor. Here is type of data you want. So you have generic thing, you deploy it and can see stuff go around. If you want give it some flavor and use JSON formats- you can replace the ledger,.. or you can use the transaction primitives. The transaction family concept,... it turns it into a blockchain for x, y, z,.. without having to re-ode the primitives. This is an interesting differentiation....

weeds
2016-12-05 16:19
--> Fabric has that same infrastructure model, but the tooling and construction is better in Sawtooth lake,.. in chaincode, you can do anything you want, but this upper level model is very interesting and drive into Sawtooth lake,.. and if we can find common ground, we could execute it.. maybe make some tweeks on chaincode model. It's pretty cool

rkiouak
2016-12-05 16:19
has joined #general

weeds
2016-12-05 16:20
Comment- we need to start talking about each one- Sawtooth Lake, Corda, and Fabric to see if we can help clarify the differences.. and try to get the best

weeds
2016-12-05 16:22
In Sawtooth lake- marketplace is the transaction family-- which is asset types, how they get created, and how they transfer... Right now, it's programmed in Python.

weeds
2016-12-05 16:23
PNB Parabase team said- seems like types and structure.. there are similarities, but almost like a type in a language... higher level constricut

weeds
2016-12-05 16:24
User perspective comment- I like the popup box.. and I go into using Amazon and drop stuff in there, what Amazon is stuff behind the scenes, so i don't see latency. When i drop something in shopping basket, even though it takes days to get this done.. So what's going on ere is you are dealing with the biscotti, and I would try to do myself it would take me days to source and get msg back. But here,.. you see eventually consistency in minutes instead of days. I don't think people realize that blockchain is similar to Amazon and the real world.

weeds
2016-12-05 16:26
comment- there is in sawtooth core repo- there is an extension directory which you will find marketplace and navigator

weeds
2016-12-05 16:27
Question: Does this provide any equivalent functioning as fabric, consensus? Or are we focusing more on fabric and this is a side project

greg_not_so
2016-12-05 16:27
not sure if blockchain is Amazon like just yet. if i go out on the street and ask what each is and would probably get stares when asking for blockchain, while Amazon is a huge brand now

weeds
2016-12-05 16:27
Brian said this is an independent project, what is preferred consensus mechanism and for what use cases? it may be very subtle -- maybe we take application and implement it

weeds
2016-12-05 16:28
(please note i'm just taking notes in the room, apologize for spelling mistakes)

jonathanlevi
2016-12-05 16:28
Just as an aside (as it has just been asked) Zac’s demo’s code/marketplace is available here: https://github.com/hyperledger/sawtooth-mktplace

greg_not_so
2016-12-05 16:29
ok, blockchain is more like Apachi than Amazon as former is well knows among developers but not population at large #branding

boydjohnson
2016-12-05 16:29
HI @jonathanlevi, The link you provided is old. This is where marketplace is now: https://github.com/hyperledger/sawtooth-core/tree/master/extensions/mktplace

weeds
2016-12-05 16:30
Brian indicated- There are multiple projects in Apache, and there are multiple projects in Hyperledger. We would encourage these projects to combine-- we would look for combination of services within to consolidate on one code base. We wanted the developers to work together and look to align. Sawtooth came out of Intel's work and came out with Proof of Elapsed Time. I'm keen to see example code and applications that novel approach for consensus. This is a slightly unpermissioned version of consensus. Hopefully what we can do in Hackfest and see how we bring them to converge or usefully differentiate. This is true for Aroha, Corda, and other projects coming in

weeds
2016-12-05 16:31
Last point I'd make- is marketplace something tied to sample code for Sawtooth,.. or does it make sense to split out in separate project so we could utilize for multiple DLTs? MAybe common UI and paradigm to deploy for different marketplaces?

weeds
2016-12-05 16:32
Intel: The front end code is totally portable,.. there are some like how transactions are formatted. The server would require change. Sawtooth has a validator and a rethink DB and python code that syncs between them so we don't send too many get requests to validator. I imagine that is very distinct to fabric.. with that said, I don't think it would be that much int he end.

weeds
2016-12-05 16:32
User: Could we get this working on fabric? Is anyone interested in doing the work? Everything under Apache license and suitable to explore on top of other DLTs.

weeds
2016-12-05 16:33
Chris: We have a session tomorrow on these differnet project and have a discussion on how we move forward in a way

jonathanlevi
2016-12-05 16:34
[ Thank you @boydjohnson! Was done on a best-effort basis, that is, by Google’ing it :wink: ]

boydjohnson
2016-12-05 16:35
No problem. @jonathanlevi

weeds
2016-12-05 16:36
We are now onto showing Hyperledger Explrorer

weeds
2016-12-05 16:36
This is a standard explorer- it has information about the blocks

weeds
2016-12-05 16:36
It shows the current state of blockchain (current hash, previous hash)

weeds
2016-12-05 16:37
Shows network information- names, addresses

weeds
2016-12-05 16:37
They are working on updating for 0.6- they did show a visualization which is performance, transaction rate, block rate, transaction per block , transaction per chaincode, and approved/rejected transaction (the last two are mocked, but everything else is real)

weeds
2016-12-05 16:38
Under chaincode- I have all these different chaincodes and developer friendly that is new to fabric- you can easily deploy -- it shows the code and constructs available.. you can do init and deploy the code... you can also run simple function--> transfer and added the arguments

weeds
2016-12-05 16:39
Question; What are you doing under chaincode? Are you inspecting chaincode and you can invoke and deploy?

weeds
2016-12-05 16:39
Yes,. you can do all those tings

weeds
2016-12-05 16:39
This is still at the 0.6 version,.. but we want to update it to version 1.0

weeds
2016-12-05 16:40
Guy from PNB Paribas--> so now you have to talk about a bit of a different animal with multi-chains/multi-channel . This has to be worked out.. We wanted to make sure the feature is available.

weeds
2016-12-05 16:44
Comment from audience: We don't have all the APIs clearly defined yet on how you would do that. so you could take approach. Here is the data you want to get out for version 1l0? From user perspective- here's what I want- connect to node,.. what chains that node has,... etc,.. if we can define that .. so we can keep those APIs backwards compatible. WE can start with that and get a document and share with others.

weeds
2016-12-05 16:45
and get feedback

weeds
2016-12-05 16:45
This is only deploying chaincode, it is not deployment

weeds
2016-12-05 16:46
There is an aspect of Cello that has monitoring dashboard,etc,.. this is why we want to talk on commonality of this and Cello.

cloud.strife
2016-12-05 16:49
nice hyperledger explorer

cloud.strife
2016-12-05 16:50
@weeds is this the link for the source? https://github.com/hyperledger/blockchain-explorer

choj
2016-12-05 16:52
has joined #general

sumitgogia
2016-12-05 17:30
has joined #general

jonathanbmorley
2016-12-05 17:32
Looks to be, @cloud.strife

ry
2016-12-05 17:34
@cloud.strife that is a read only mirror, here is where you can see code reviews etc: https://gerrit.hyperledger.org/r/#/admin/projects/blockchain-explorer

weeds
2016-12-05 17:35
We just returned after lunch

weeds
2016-12-05 17:38
IROHA is another contribution in Hyperledger (from Soramitsu,, Hitachi, NTT Data, and Colu)

weeds
2016-12-05 17:38
What did we try to accomplish- simple APIs, digital asset tools and emphasis on mobile first, android, IOS... generate private/public key pairs on device versus going to a server

weeds
2016-12-05 17:39
Rakatani Securities- we are working with them on KYC on top of IROHA (I probably have not spelled it)

weeds
2016-12-05 17:40
WE also are working with a 3rd largest casualty insurance company, and we are working with weather derivatives and options for insurance contracts and putting that on a private blockchain. We are doing some things with logistics.

weeds
2016-12-05 17:41
We have use case partners- people who sit with us and working with use cases and provide feedback- University of Aizu. Colu (thinktank who works with Japanese government), Glocom, NTT Data, Mizuho financial technical research group which does SI work, Ratkan securities

weeds
2016-12-05 17:42
Goals:

weeds
2016-12-05 17:42
- high throughput- handle thousans of transactions per second eventually

weeds
2016-12-05 17:42
- low latency- attain transction finality within 2 seconds

weeds
2016-12-05 17:42
Scalability- scale to petabytes of data, distributed across many clusters

weeds
2016-12-05 17:43
Modularity- make all core components modular so that fabric/Sawtooth lake/etc,. can use them

weeds
2016-12-05 17:44
differences with fabric/sawtooth lake

weeds
2016-12-05 17:44
from Iruho:

weeds
2016-12-05 17:44
--> new consensus algorithim: chain based BFT algorithm: Sumeragi

weeds
2016-12-05 17:44
--> mobile app and Javascript libraries- attain transaction finality within 2 seconds

weeds
2016-12-05 17:45
--> tools for creating digital assets: special transaction types for asset creation

weeds
2016-12-05 17:45
Consensus in Iroha: Smeragi

weeds
2016-12-05 17:46
Client submits- phase 1 broadcast (leader verifies, order, and sign transactions and then broadcasts to validating peers--> pase 2 verify and sign (verify ,sigh, broadcast transaction to 2f+ 1 validating peer)--> phase 3 commit (commit after receiving 2f+ 1 signatures

weeds
2016-12-05 17:49
The way that we group transacitons-- we handle finality on a per transaction basis. There is no block concept in consensus, but there is a logical construct.

weeds
2016-12-05 17:49
When you are performing consensus- it's not on transaciton itself,.. it's on the merkle root and is populated with the transactions themselves

weeds
2016-12-05 17:51
Transaciton structure:

weeds
2016-12-05 17:52
tx= transaction <command<object>>

weeds
2016-12-05 17:52
add asset

weeds
2016-12-05 17:52
transfer domain

weeds
2016-12-05 17:52
We wrote C++ templates and they are checked at compile time.l you can do some nice tings with name spacing

weeds
2016-12-05 17:53
There is a command and an object- add an asset, transfer from one public key to another... you can ave assets and a namespace with domain.

weeds
2016-12-05 17:53
You can expand to include membership service- add a peer/remove a peer

weeds
2016-12-05 17:53
*Recent progress*

weeds
2016-12-05 17:53
Field test of IOS and Adroid mobile apps in Aizu, Japan

weeds
2016-12-05 17:54
Joined Sbertech hackathon and built an adroid app for digital vodka

weeds
2016-12-05 17:55
He showed- they are doing a currency for an event- buying coffee, buying popcorn... we wanted to see how a currency based on people doing social interaction. Shake te app- 5 seconds scan barcode, you get a new unity of currency... and they give you the currency- merit for both of you to get this- you could get coffee, popcorn and anime goods for free... a lot of these are anime nerds... so forced social interaction

weeds
2016-12-05 17:57
They showed a video, but a couple of hundred people used it... it's still open to play with, but it's not completely bug free

weeds
2016-12-05 17:57
We also replaced Aeron wtih GRPC

weeds
2016-12-05 17:58
We created a docker image and can be found off of hyperledger

weeds
2016-12-05 17:59
Another demonstration- if you want to brew 1000 liters of vodka... instead of going to bank to get financing and buying potatoes.. you give rights to the vodka to the potato owners... and you do crowd funding of the vodka.

weeds
2016-12-05 17:59
Simple android app for a couple of days to send and receive this type of capability

weeds
2016-12-05 18:01
We could see if we could combine forces and creating a combined datalayer

weeds
2016-12-05 18:02
We have a team of about 13 people-- so if you are interested in buildling pieces that other projects can use-- distributed high performance network layer,.. or other projects

weeds
2016-12-05 18:03
*NEXT SESSION DISCUSSION*

weeds
2016-12-05 18:03
Enough people with Fabric, Iroha, Corda, Sawtooth lake

weeds
2016-12-05 18:03
to help users

weeds
2016-12-05 18:04
Agenda for architecture session- Tomas is going to continue presentation on paper he describe earlier. Discussion of separation of storage layer and abstraction. and third topic is documentation

weeds
2016-12-05 18:05
We are going to split- main room architecture; other room hacking

weeds
2016-12-05 18:05
Expect 3pm for R3 to be here

robertbryanwilliams
2016-12-05 18:24
has joined #general

charlieshin
2016-12-05 18:26
has joined #general

bharat
2016-12-05 18:57
Hi, I am using chaincode on bluemix, having issues with getting username, I am using x509. Subject.commonname. I always gets value "Transaction Certificate" any idea?

cloud.strife
2016-12-05 19:01
@weeds is there a video posted from this 1.0 demo you talked about today?

weeds
2016-12-05 19:16
@cloud.strife I did see fabric playbacks on the playbacks channel- i think that has more than what we may have seen today or may be similar- might be worth asking that channel

harriska
2016-12-05 19:25
has joined #general

mattkallman
2016-12-05 19:48
has joined #general

cloud.strife
2016-12-05 19:55
@weeds thanks, joined the channel

mark
2016-12-05 20:05
has joined #general

weeds
2016-12-05 20:33
*Richard presents from R3*

weeds
2016-12-05 20:34
He will be doing a deep dive from Corda

weeds
2016-12-05 20:34
(side note- our location WeWorks shuts down at 5pm)

weeds
2016-12-05 20:35
Richard Brown is the Chief Technology Officer at R3

weeds
2016-12-05 20:36
He's been designing R3 Corda with first code commit on November of last year

weeds
2016-12-05 20:36
They open sourced last week His plan is to 15-20 minutes why building... highlight the key concepts,.. and then go into more detail as progress

weeds
2016-12-05 20:38
What does Richard hope to get from hackfest? would be good for people to understand, contribute, deploy it.. also here to learn about the other projects specifically Fabric and Sawtoothlake and Ihora

weeds
2016-12-05 20:38
What is Corda?

weeds
2016-12-05 20:38
Corda is a distributed ledger platform -- we don't say blockchain-- designed and built from the ground up to record, manage, and synch agreements (legal contracts) between identifiable parties, designed for regulated financial institutions. WE do think it's applicability is much broader than that

weeds
2016-12-05 20:39
It is inspired by and captures the benefits of blockchain systems without the design choices that make blockchains inappropriate for many bank scenarios.

weeds
2016-12-05 20:39
The question driving our thinking derives from simple thought experiment- what is defining characteristic of blockchain platforms that is relevant and valuable to financial entities.

weeds
2016-12-05 20:40
http://Corda.net has link to github repos, slack,.. and incoming days we want Corda accepted as an incubation project.

greg_not_so
2016-12-05 20:41
we need a better explanation of what makes a blockchain inappropriate for a bank

weeds
2016-12-05 20:41
I'll see if I can ask him at appropriate time @greg_not_so

greg_not_so
2016-12-05 20:41
sure think @weeds, and thx for doing all the typing

greg_not_so
2016-12-05 20:42
sure thing, rather

weeds
2016-12-05 20:42
Mission- to establish the architecture for open, enterprise grade, shared platform for immutable recording of financial events ad execution of logic

weeds
2016-12-05 20:43
This is the first time we have systems built at scale for organizations who don't trust each other and bring together for shared set of facts through consensus and these technologies.

weeds
2016-12-05 20:45
look at all the financial companies that have separate systems and we spend 10 to 100 million dollars a year-we could save a massive amount of cost based on this technology

weeds
2016-12-05 20:46
Corda- it does not follow that the systems that taught us Bitcoin/Ehtereum that they solve the problems in finance. If a problem in finance is that counterparties in trade are in consensus and maintain consensus until the deal is committed.

weeds
2016-12-05 20:46
when you look at Bitcoin/Ehtereum when they existed back then- full broadcast happens which becomes a non-starter with financial use cases

weeds
2016-12-05 20:47
You have to be very precise who could validate, who gets the data-- this led us to Corda

weeds
2016-12-05 20:48
Question: when there is something manipulated of currency- was that notary became concept... or everyone has to see it if you act on it? The idea of a notary, which in reality is a generalization of the resource miners provided, you need to know who is authoritative if that record is updated or not-- the most current record (that's what miners do). You always need that and that is how notary came about. The original name was the "uniqueness service". It's really been there from the start.

weeds
2016-12-05 20:49
What is defining characteristic of distributed ledgers? Distributed ledgers- or decentralised databases- are systems that enable parties who don't fully trust each other to form and maintain consensus about the existence, status and evolution of a set of shared facts

greg_not_so
2016-12-05 20:51
consensus as balance confirmation? so, only one (counter-)party has to agree?

weeds
2016-12-05 20:51
There are 3 motivating concepts that we used with the membership so that our engineering is in right direction- can you bring people into consensus with a management of broad financial instruments? We chose cash, security (corporate bond), and derivative (credit/default swap). We worked through each one to ensure Corda met those use cases. WE also needed to bring people into consensus and evolve over time. We know that tey need to go consensus at state-- how do we come to consensus on one shared fact,.. and then try to scale up from there.

weeds
2016-12-05 20:52
The foundational object is 1) the state object-- piece of data that represents an agreement. Creates properties/fields from given financial agreement.

weeds
2016-12-05 20:52
Ledger is an atomic unit of data- that represents sared fact.

weeds
2016-12-05 20:52
STate objects always reference one or two documents.

weeds
2016-12-05 20:54
The first one is 2) contract code) verify that transfer (which) rule 1 (code) transfer (portal) rule 1(code)rule 2(code)-- this is constraint based programming.. minimal of whether an update to object is valid or not. You can offer as many of these in parallel and it's the narrowing piece of what has to be deterministic-- and this is where the security problems will be. This approach allows scale and running in parallel

weeds
2016-12-05 20:55
The other thing that is optional 3) we are trying to have real world agreements- no way you can model all the legal prose in code.. there will always be an overarching contract on how disputes are resolved. when you model contracts, you link to the overarching document... state object might be te master agreement between counterpart in documents ,.. "Ricardian Contract is composed of legal prose, parameters, and contract code"

weeds
2016-12-05 20:56
4) systems works with transactions- transactions enable transition between states- do the inputs exist ,are they current, and is it valid and inputs available

weeds
2016-12-05 20:56
We don't want to send the data to everybod- so we try to be very precise contract validity and contract uniqueness

weeds
2016-12-05 20:57
Inputs that are valid and outputs are valid- but you could have several equally valid contracts, and only 1 can be processed.

weeds
2016-12-05 20:57
You need to rely on someone you committed to in advance that it is a unique inputer to the system

weeds
2016-12-05 20:58
This is the notary- any transaction- it commits to which notary cluster is authority of whether output is committed or not and who is the authority.

weeds
2016-12-05 20:58
5) consensus is reached on transaction validity and uniqueness

weeds
2016-12-05 20:58
6) Flows defined for specific sent to each node/identity

weeds
2016-12-05 20:58
You see a lot of out of band messaging which goes to a subset -- and you see a huge amount that negotiate and agree ..or you see people using consensus for ephemeral workflow to simulate

weeds
2016-12-05 20:59
We overlaid flow framework to overlay the communication/negotiation and come to agreement before comitting to the ledger.

weeds
2016-12-05 21:01
2 of us want to update something- and we need a notary to be the authority

weeds
2016-12-05 21:03
answering from question- if you go back to model here- contract code can tell you whether transaction is valid or not-- if contract says only require one to sign,.. only one will sign,.. if contract says only require 2 to sign- then 2 to sign.. you model what has to be true. Things you might have is structural or validity of the entity. Both buyer/seller may have to sign it. For example secondary use cases- the financial instrument an option- you have a right to exercise a price to a certain deadline. What happens right before the expiry.. if contract you owner and seller to sign- and you could play a game and you lost your money.. so you have to have ability that certain transaction only require one to sign...

weeds
2016-12-05 21:04
Does Corda consider notary a centralized single clusterized or is it a decentralized set of nodes for notary? Let's use the option

weeds
2016-12-05 21:06
Greg/Richard entered contract and Greg can execute at midnight. Richard wants to move from active to expired right after midnight.. and Greg wants to transition to exercise. Now you have a race and you have a time stamping issue. The actor of whether a transaction of the system- it is time stamping, you have to be the time stamp of the system (the notary)... The notary only signs if input object if it has not been consumed. the notary is saying- i will only sign that transaction if not the same input signed. And he will figure out and will sign if the appropriate time and within the bounds of contract. Notary is important for time and whether inputs are spent enough. In essence, this is what miners also do....

weeds
2016-12-05 21:07
We allow multiple consensus providers in the network... so for our option case, we trust a regulated market infrastructure and operated by CME for example. For another scenario for cash, the only authoritative of Barclays to be spent would be Barclays. We have multiple difference providers- some are centralized,.. some can be BFT... we have not implemented BFT notary. We have a raft one already

greg_not_so
2016-12-05 21:07
are notaries miners?

weeds
2016-12-05 21:10
non validating notary will only have to remember the previous inputs and validate and read time stamp... reliability and privacy is a tradeoff. Is the notary is only looking at inputs and not validating the transaction. There is possibility for nefarious party can enter-- because that nefarious party has signed prior

weeds
2016-12-05 21:10
We have two approaches-- first, we have permissioned system, so we don't include malicious... but honestly people do make mistakes second, we do have a validating notary which validates itself...

weeds
2016-12-05 21:11
There is active debate of going with nonvalidating notary or validating notary--- there is a trade off.

weeds
2016-12-05 21:11
we are supporting both on same network

weeds
2016-12-05 21:12
Data model at heart of corda is immutable state objects and code governing the allowable transitions. You can look at a transaction to see if it's valid or not. by looking at notaries and you know which notary cluster- and whether the transaction is confirmed-- so we seperated validity from confirmed as a result.

weeds
2016-12-05 21:13
I talk about the replicated machine and UTXO model-- this is on the UTXO model side of the debate. this is how we can parallelize the system and see the diagram of states- it's how we get to the best privacy system without advanced crypto

weeds
2016-12-05 21:13
Q: is the contract code bilateral? So all the examples i give are billateral. but contracts can be with large parties. So for a transaction to be valid- there could be 10's of 100's party to sign it and you can specify what sigs are required.

weeds
2016-12-05 21:14
You might have one contract in system for cash- and millions of cash records that represent banks- these have to be significantly tested.

weeds
2016-12-05 21:15
Q: what happens in event if contract code is updated? these references are by hash sha256 hash. so what i'm talking about design. when you look at state object, it may be com.r3.com.cash and then another class with the same name... you would still have the hash,..

weeds
2016-12-05 21:17
how do you upgrade? there is a contract upgrade - this batch of states get to upgrade to cash version 2.. you can't change the data- you can only evolve what you have... in addition, who must sign? it may be advantageous ---who must sign to upgrade the contract.. so think about the DAO-- this could be hard.

weeds
2016-12-05 21:19
i don't see how you do cash on ethereum and get the privacy that you need--

weeds
2016-12-05 21:19
we also want to make sure what we built compatible with zeroknowledge proofs or consensus layer is lightweight,.. as technology progresses,..

weeds
2016-12-05 21:20
if you look at what you need to be consensus on- the logic to agree with counterparty, what transactions are we going to do is not in consensus- only the validation logic is in consensus

weeds
2016-12-05 21:21
States represent agreements in Corda (there is no Corda cash by the way)

weeds
2016-12-05 21:21
There is no such thing as cash in a bank,.100$ in Chase is different than 100$ in Bank of America-- what there is is liability.

weeds
2016-12-05 21:22
Cash in Corda- -- what are the fields- who is the issuer, issue date, amount currency, owner ---> this is a signed issuance that links to overarching legal prose to describe what it means to be a balance

brianbehlendorf
2016-12-05 21:23
weeds: given that history in Slack isn't kept, I would LOVE to see this captured as a wiki page at the end of the day

weeds
2016-12-05 21:23
Example: Cashpayment

weeds
2016-12-05 21:24
i started with oject of Barclays with 100 pounds and proving someone else that Shipping company is owed 100$

weeds
2016-12-05 21:24
We do a transaction- we construct a payment that consumes the 100$ i had and creates 100$ for shipping-- do the balances match, is it the same issuer barclays on the input, because i no longer have the money am I the one that signs the transaction?

weeds
2016-12-05 21:26
xyz ends up with this transaction- it is an object, richard signed and owed 100$ by barclays.. all shipping company is richard said he had 100 pounds and it has not previously spent.. and here is a valid transaction.. you don't have the chain of custody back to barclays--- here is the set of objects and barclays owes money--i also have to send transaction tat the transaction was issued to me-- i have to send precursor where it was issued to me- it's the chain that provides that proof that it was actively conveyed to me.

weeds
2016-12-05 21:26
Q: how do you get privacy/confidentiality if you have to share all the chain of custody?

weeds
2016-12-05 21:27
we look at this in depth and what we got to -there are 5 pieces to this? why does this not degrade to full broadcast?

weeds
2016-12-05 21:29
technical side is things we have address randomization... but then you bring legal/regulatory part of this. Richard has this cash that he has at barclays and signed that... you can do that from one to two hops-- but you must do this-- the chains don't get that long for cash- so you only have to provide the narrow part for the ledger. the issuer has to countersign the transaction or are they ave to go further and reissue it. You can actually snip the chain regularly if you use the UTXO... the issuers will require needing multiple notaries.. and we need to do a lot to be compliant with regulation. As technologists, we need to make it clear the strong downside at this point- only when you have common notaries... so if everyone has to notarize gets less interesting .

weeds
2016-12-05 21:31
Can a transaction generate an output with a different notary from the input? Yes absolutely.. I have some cash that is committed to Barclays and IBM stock to IBM notary... I have a problem if I want to swap cash and stock.. I can do a 2 phase commit and IBM notary to work with Barclays notary. I will support a notary exchange -- create a transaction that only requires one notary.... you could still do both if you have to.

weeds
2016-12-05 21:31
The design is not for all use cases- it's based on trying to solve specific problems, but the design is pretty baked and feel it's quite baked. the code base is very young, but the quality is quite high. We are about to kick off corda going in for incubation in Hyperledger . http://Corda.net is where it lives right now.

weeds
2016-12-05 21:33
Q: there is a lot of similar concepts for example to fabric.. which has also been on it's path.. How do we start to reconcile some of these things and have greater collaboration between these projects? we are seeing questions on comparisons.. but we need to move forward together.

blockseer
2016-12-05 21:35
has joined #general

weeds
2016-12-05 21:35
Richard: Until we open sourced- it's hard to have those conversations-- Corda was not visible unless you were members. Sharing components will come sooner-- Corda targets JVM-- we minimized the part that to be deterministic.. and we are creating whitelist sandbox to keep deterministic. I suspect there are implementations on BFT that we can benefit from.. there are other projects.. I have a theory (not R3) the utxo and replicated VM model- i think they are different. they solve different problems. I see a world where we converge to a permanent UTXO model and permanent VM model. It's not obvious to me that the code base to one makes sense

weeds
2016-12-05 21:36
Q: with replicated VM and replicated state- we can try to do un-natural thing.. Statements have been made that no technology met these needs before. There is a lot of common architectural that ended up this way. The notary is at trusted service that is out there- and fabric has ordering service. There is a notion of channels and privacy similar to the R3.. there is a lot of commonality. Maybe we do that separate.. would be great to talk

weeds
2016-12-05 21:36
Brian: even if we don't use common code- we use common terminology that might help

weeds
2016-12-05 21:37
Maybe starting with common glossary,..

weeds
2016-12-05 21:39
*editable blockcain*

weeds
2016-12-05 21:39
We have moved to a different topic-- there is healthcare records- and someone posts an unencrypted aids test

weeds
2016-12-05 21:40
there are real use cases where there is some threshold where stakeholders- we all collectively agree or 90% of us plus a regulator agree that we may want to take this off the chain and white it out,.. and remember we whited it out and not remember what is there

weeds
2016-12-05 21:40
This first came out with Chameleon Hash- they implemented this and not sure it's in hyperledger code.

weeds
2016-12-05 21:41
In the mean time Norbloc suggested a similar implementation. Brian suggested that it's worth thinking about- you have to have 100% of the stakeholders agree or 2/3 majority or whatever- it's still immutable "ish" and might be able to use in regulated environments where we need things like right to be forgotten

greg_not_so
2016-12-05 21:42
then i would encrypt them back make them inadmissible and they would stay like that for the eternity without editing (mutating) the blockchain

weeds
2016-12-05 21:45
This is Norbloc- this is about immutability in blockchain

weeds
2016-12-05 21:46
How do we solve one of the possible immutability of the feature

weeds
2016-12-05 21:46
block 0 header /previous hash/merkle root--: block 1 header/previous header hash/merkle root--> block 2 header/previous headerh hash/merkle root

weeds
2016-12-05 21:47
taking Block 1 header-> h(a), H(b), H(c), H(d) where a, b, c, d are related h(a) to a ---note might be easier to see charts but it's essentially merkle tree

weeds
2016-12-05 21:47
abcd were the block 1 transactions

weeds
2016-12-05 21:49
So essence proposal-- introduce a transaction that happens sometime later-- we propose a request for transaction in the later block can holds all the data and modified view of the data.. after confirmed by enough # say 100.. it issues that transaction and confirmed by large # of blocks- then we have all the transactions except the modified transaction which has the same trust/same level of security

weeds
2016-12-05 21:50
To be more technical- each blockchain has it's own implementation details.. in our whitepaper, we described on bitcoin blockchain.. for bitcoin blockchain- you can not arbitrary modify transaction, because there are links between the transaction such as inputs and outputs. the only part that you can modify --- each blockchain will have to maintain how modifiable the transaction will be.

weeds
2016-12-05 21:50
If we specify that certain part of transaction is authorized for deletion from very beginning and we don't sign for authorized for deletion..then that is the process of modification.

weeds
2016-12-05 21:51
Surprisingly, I learned fabric 1.0 is implementing exactly that. we are not the only ones thinking about that-- our solution based on fabric is more suitable... we can comply with the right to be forgotten.

weeds
2016-12-05 21:52
Binh then speaks up-- the evidence of the prviate transaciton, but the actual data is not on the transaction. In fabric, we have a parameter on the protocl called transient. so applciation in this case can pass in private data and then hash that data or do whatever to get the evidence into the transaction.. that allows me to put the evidence on transaction parameters. it will be part of the endorsements,.. but the endorsers could drop the transient data on the transaction. That is a current implementation which is available in master today.

weeds
2016-12-05 21:53
Q- as far as I understand for those nodes that still hold the data- only the nodes are allowed to hold that data can keep that data... but at some point, when that data of the personal data of bonds-- customer may execute right to be forgotten and wants that data to be deleted... so you are introducing delayed transaction type

weeds
2016-12-05 21:53
Binh- now it's part of the chaincode, or it's part of the application.

weeds
2016-12-05 21:54
Q- We are in a project with google and we have a different way of handling this- the database stays immutable, that data is marked that it is no longer viewable, but you can't really delete it- is it not more elegant with permissions versus removing transactions

weeds
2016-12-05 21:55
Norbloc- that depends- do you include it in the data in database or not... that is the problem of the definition. if it was in original transaction- some party will hold that data,.. even if it's separated from main blockchain.. someone has it. those parties are holding it- they will look at all of that data-- But not for each party...

weeds
2016-12-05 21:55
We are not pretending there are no transactions

weeds
2016-12-05 21:57
Gari- I'm not saying whether i argue for or against. But that being said, the problem- you can have database access permissions- record exists or not-- but there is nothing that chains the records together. The only way you validate the history of ledger is to have all of the ledger. Anyone has access to the ledger- so you can't give permissions on that.

weeds
2016-12-05 21:58
So it's a sublte difference.. that's exactly what happened- facebook never deletes data and google doesn't either,. just prevents access. The feature -- the notion is if you have mechanism in place- it's a data distribution- whether peer to peer. normally here is my content, hash on blockchain, and content is distributed some other way. the concept here is you have a distribution mechanism and you pop that into the distribution mechanism but only keep the hash of it on there.. the hash is what's hashed in the blockchain-- and it's a means to distribute that data.. in that case, we can delete it from the database or delete access. the ledger is still valid because you have the hash.

weeds
2016-12-05 21:58
So what if law enforcement undelete the deletes-- "the right to undelete" (chuckling)

weeds
2016-12-05 22:00
In a decentralized system- i own the peer- i can alway s decline that this transaciton is removed.. how do you enforce this?

weeds
2016-12-05 22:01
the only way is you do it through regulation-- and then there are penalties if you don't do it.

weeds
2016-12-05 22:01
The only way you can detect that-- you can never do this on Ethereum or Bitcoin networks...

weeds
2016-12-05 22:02
(more discussion) Blockchain is immutable- you would have to - come down and mandate and fine that you have to delete this data, is this going to invalidate the blockchain? The bank has to do it by regulation,.. so the big concern is does this invalidate my blockchain?

ashleysomerville
2016-12-05 23:35
has joined #general

allen_liang
2016-12-06 00:07
@allen_liang pinned a message to this channel.

jiamzhu
2016-12-06 00:54
has joined #general

nandini.parimi
2016-12-06 01:12
has joined #general

sjung
2016-12-06 01:34
has joined #general

greg_not_so
2016-12-06 02:10
i found this paper somewhat relevant to what we have been working on today: https://www.federalreserve.gov/econresdata/feds/2016/files/2016095pap.pdf

greg_not_so
2016-12-06 02:11
it's geared almost entirely towards payments rather than any other type of assets

djacobson
2016-12-06 02:47
has joined #general

venkatarun95
2016-12-06 02:57
has joined #general

enikolov
2016-12-06 03:00
has joined #general

szhman
2016-12-06 03:08
has joined #general

newdev2524
2016-12-06 03:25
Hi, after I brought up a new peer node while other nodes were running, it seemed the chaincode previously deployed in other nodes didn't sync to the new peer node. Does anyone know what the problem is?

yuwei
2016-12-06 03:39
hi All, I find interface crypto.Client , which exists in fabirc v0.6 , has been removed from latest fabric, https://github.com/hyperledger/fabric/blob/master/core/crypto/crypto.go While Example asset_management in fabric still uses crypto.Client, https://github.com/hyperledger/fabric/blob/master/examples/chaincode/go/asset_management/app/app.go So when I build this example , some error occur. I would like to ask if there some other interface provided in latest version to replace crypto.Client ?

musdom
2016-12-06 04:00
has joined #general

sachin.bansal
2016-12-06 04:48
has joined #general

bardhan.sanjay
2016-12-06 05:32
has joined #general

chaitanya
2016-12-06 06:17
Hi all, I was trying asset_management using Fabric v0.6. I have a chaincode that's already deployed. I need to be making calls to it, and it checks whether the caller is allowed to carry out such actions, using `stub.ReadCertAttribute(...)`. However, when I try calling that method, following the example given in `asset_management_with_roles_test.go` I get an error saying `[chaincode] Launch -> ERRO 074 You are attempting to perform an action other than Deploy on Chaincode that is not ready and you are in developer mode. Did you forget to Deploy your chaincode?` This is despite the chaincode being deployed. Any idea as to what am I missing here?

simanmee
2016-12-06 06:40
has joined #general

amchauh3
2016-12-06 06:44
has joined #general

ty531
2016-12-06 07:02
has joined #general

testname
2016-12-06 07:19
has joined #general


2016-12-06 08:20
@daniellee commented on @daniellee’s file https://hyperledgerproject.slack.com/files/daniellee/F3B11CWTV/Peer_TLS_certificate_problem: Anyone can help?

kansi
2016-12-06 08:27
hi, i am tyring to run the chaincode example from the docs using the current fabric master. I executed the deploy command and go a runtime error

kansi
2016-12-06 08:27
command executed : `peer chaincode -n mycc deploy -c '{"Args": ["init", "a","100", "b", "200"]}' -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02`

kansi
2016-12-06 08:28
error : `panic: runtime error: invalid memory address or nil pointer dereference` `[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x73f9c7]`

kansi
2016-12-06 08:34
here is complete log from all different consoles : https://da.gd/GiNMJ

kansi
2016-12-06 08:35
can somebody help me understand what is going on ?

alexander.bauer
2016-12-06 08:44
has joined #general

ramvi
2016-12-06 10:51
has joined #general

guso
2016-12-06 11:31
has joined #general

mk
2016-12-06 11:36
has joined #general

kansi
2016-12-06 12:07
does anybody know what might cause the following issue. ```12:04:07.490 [committer] initDeliver -> ERRO 067 Cannot dial to 0.0.0.0:7050, because of grpc: timed out when dialing 12:04:07.490 [committer] startDeliver -> ERRO 068 Can't initiate deliver protocol [grpc: timed out when dialing]```

kansi
2016-12-06 12:08
when I start the peer I see the above error log during its boot up.

c0rwin
2016-12-06 12:25
@kansi it looks like it tries to get connected to the ordering service

garisingh
2016-12-06 12:27
@daniellee - looks like you are trying to use the same certificate for both peers? The easiest thing to do what be to concatenate the CA public key with your public TLS key and use that as the certfile for your peers - `cat ca.pem tls.pem >> tls.pem`

maheshwar.ligade
2016-12-06 12:40
has joined #general

chaitanya
2016-12-06 14:24
@garisingh I was wondering if you could help me with Attribute Based Access Control. In the example given at https://github.com/hyperledger/fabric/blob/v0.6/examples/chaincode/go/asset_management_with_roles/asset_management_with_roles_test.go, the deploy method is bound to the chaincode setup by the `go initAssetManagementChaincode()`, right? What I have is a set of chaincodes that need to be run one after another, and I need to test for ACLs on one of them. This would require that I deploy multiple chaincodes. How do I go about it, following the asset_management_with_roles_test.go example?

weeds
2016-12-06 14:25
@newdev2524 I believe you are using fabric, yes? I would suggest to go post on fabric-dev only because there is so much going on at hackfest that I'm concerned your slack note will get lost.

weeds
2016-12-06 14:26
@yuwei @adc Angelo- can you help @yuwei with his question please? see up above in general channel

greg_not_so
2016-12-06 14:33
@weeds, do you know how far we are from the 10,000 messages cutoff and do need another channel to continue?

adc
2016-12-06 14:33
Hi @yuwei, yes, crypto.Client will be essentially repackaged in a library that will allow to perform access control in a simpler way than 0.6 :slightly_smiling_face:

weeds
2016-12-06 14:34
@greg_not_so I think Ry is actually scraping the notes from the Hackfest that I took to put on the wiki- i can't imagine that we aren't close though.

ry
2016-12-06 14:36
@greg_not_so I'm capturing them

weeds
2016-12-06 14:36
@adc Is that all spec-ed out and updated already in our design docs for fabric? if so, @yuwei the design docs are located here: https://wiki.hyperledger.org/community/fabric-design-docs

ry
2016-12-06 14:36
I'm trying to remove non-germane conversation before I publish it

adc
2016-12-06 14:37
@weeds @yuwei we are actually preparing the document :slightly_smiling_face:

weeds
2016-12-06 14:37
chris went over the agenda for today which is posted here:


weeds
2016-12-06 14:39
Two sessions are occurring- Mohan is going to demonstrate work he has done on fabric with a demo of asset management and auction,.. and the other group in the other room will focus on finalizing the SDK spec.

andrew_tharp
2016-12-06 14:57
We are reviewing questions on this channel to determine the best support avenues for the questions.

ry
2016-12-06 14:57
@greg_not_so @weeds https://wiki.hyperledger.org/community/hackfest-notes _very_ lightly edited transcript, I'm sure I missed some joins and parts

greg_not_so
2016-12-06 14:59
@ry excellent, thank you

synblockchainteam
2016-12-06 14:59
This is regarding Hyperledger v0.6/ We are running "authorizable_counter" sample application over hyperledger v0.6. But we are encountering "Failed retrieving extension" error while testing Invoke api with postman... On digging the code, we noticed that "1.2.3.4.5.6.9" ObjectIdentifier is missing in certificate extension during x509.GetCriticalExtension() API execution. Did someone face similar issue? Thanks.

andb
2016-12-06 15:13
has joined #general

kevinsager
2016-12-06 15:22
@yuwei Yes, Crypto.client is missing form the latest fabric. It is replaced by BCCSP. There is information about it in the change request https://gerrit.hyperledger.org/r/#/c/3013/. The code is located at https://github.com/hyperledger/fabric/tree/6b04479a81770266edd3f9dfc41d17e89e46ac29/core/crypto/bccsp This will help to supplement the information that weeds pointed to.

chr3is
2016-12-06 15:39
has joined #general

gendal
2016-12-06 15:39
@weeds - wow… just saw your write-up of my talk. were your fingers smoking as you typed?!

gendal
2016-12-06 15:40
agree with @brianbehlendorf - if somebody can paste this up somewhere, I’m happy to go through and correct/edit anything that wasn’t clear.

gendal
2016-12-06 15:40
note - I see there’s a corda channel on here… sorry we’re not active there. right now, corda lives at http://corda.net and our slack can be reached via http://slack.corda.net. I’ll post this on that channel too

weeds
2016-12-06 15:55
I'm taking notes on session where we can go with these different incubation projects: Chris Ferris stated- Fabric,.. R3 Corda,.. Iroha,.. Sawtooth Lake. Ideally, we would like to do some consolidation if possible given so many engineers, or is there interoperability? Is there initial work where we can share capabilities?

weeds
2016-12-06 15:55
Chris Ferris read documentation for Corda- there is something such as membership services that is missing as it's not dynamic

greg_not_so
2016-12-06 15:56
Ethereum is here too, isn't it?

weeds
2016-12-06 15:56
Membership SErvices is called COP- where this hands out certificates. Is there potential where Corda and Fabric collaborate with shared membership services possibly?

weeds
2016-12-06 15:56
Maybe it could also support IROHA?

weeds
2016-12-06 15:57
Chris said- the question becomes where can we think about areas that are overlapping where the concepts are not orthogonal to one another.

weeds
2016-12-06 16:00
Richard (R3): You covered a lot of ground. Some things that caught my attention. Things from Corda that might be relevant to others and areas of common work. And possibly what to do on interoperability. If I start with membership services- what is the solutions underpinning Corda. We don't use permissioned or permissionless as it's overused term, it is a identified network given the legal prose. We need to know who is communicating on network. What we have implemented is the network map, which is a service . The network map is simple service- it's a lookup service and it comes back the organization and their addressable network. Certainly more to it than that,,.. signatures and chain certificates. How do you get into that? You need an enrollment service- I suspect what you have in membership services. The requirements have is that we have workflow- here's who I am and proof of who I am and evidence that is necessary and there has to be a certiifcate authoritywhere humans validate this. My sense is that you are doing that with Membership SErvices,.. and if so, we can collaborate on it.

weeds
2016-12-06 16:01
With the other way around- we designed Corda- the mass majority of code is not consensus critical. There is a core of code that has to be deterministic. The verify function does true or false,.. and everyone must come to same conclusion. For JVM, it's in experimental branch that the idea is whitelist sandbox of JVM- where we explicitly allow or don't allow operations . We whitelist libraries and do rudimentary work so that everyone runs execution and halts at the same place. Anyone else that is trying to implement JVM for fabric possibly? That code is probably relevant.

weeds
2016-12-06 16:02
The third point is interoperability- we did a lot of work on interoperability. The conclusion is that interoperability at abstract- you can have lots of whiteboarding. interoperability only makes sense with business services.. Technically maybe it can. Can a ledger solution- can it be working with a financial application? This is how you get into two phase commit, escrow,etc,.. This has to be done based on real validated use cases to drive the true interoperability.

weeds
2016-12-06 16:04
Where do I think this is heading? I could be wrong on what I have about to say- I'm still fundamentally- I feel there is two seperate architecture-- pure UTXO and pure replicated VM- UTXO is a datacenter approach.. Key consensus process is synch and clear verification process. Replicated virtual model- some abstract computer.. and mathematically.. They are very different. I feel there will be one implementation of each where each has it's own use case. I could be wrong certainly on this.

weeds
2016-12-06 16:05
Murali from DTCC: I don't think technology aspects but concern about - can you at least converge on nomenclature aspects? It's about how many of these do we keep adding? Can we log/merge towards? otherwise for new members, it's just too confusing- so many platforms. if you don't agree on common aspects, it's too hard for users. It's not about technology, but we should agree on higher level aspects

weeds
2016-12-06 16:06
Tamas from DAH: We offer a start of thinking about how we could eventually think about common foundation layer.. First, explains how it fits in financial services domain, and it is not in contribution of stacks that represent on stage. We need concrete feedback and this is how we advance this discussion.

weeds
2016-12-06 16:07
Richard from R3: We've identified requirements formally that we needed to implement. Those that read the technical whitepaper that are very influenced. WE would welcome if everyone would be doing that

weeds
2016-12-06 16:08
Tamas: You might say you reject, but I'd appreciate -- before we introduce another stack, let's make an attempt. The architecture working group made very good suggestions. Those stacks go into those stacks is a statement of are they aligned and how do they plan to align- otherwise we will continue to onboard stacks and this does not align with requirements group, papers presented by us, I fear that this is just becoming a collection of unconnected things.

weeds
2016-12-06 16:11
Ethereum: I just joined in August, but we are working on nomenclature and semantic ontology to capture the terminology ideas that are being expressed in blockchain community. Is one being run on state machine? Is it gas oriented? We are trying to address that. Blockchain explorers-- it can be driven down to apis, so we are working on nomenclature speaking about yesterday, whatever stack is being propose- there is value in having multiple stacks -- I think it's all very valuable One advantage about Ethereum- many languages used with Ethereum. Two proposals are bieng talked about web3J will help java users interface with system. The other advantage is a very large user base and if you are looking to validate evidence based use cases.. ethereum is that it has test net and efs... there is a large support system for that. My goal to be ere is to learn what people are doing and what they find important. I'm impressed that there are consensus algorithims being proposed. I'm impressed with IROHA consensus algorithim and Corda consensus algorithim.

weeds
2016-12-06 16:13
individual: Maybe what are key requirements and start with that possibly? How many use cases they can support-- I want something that works and stable. If there are things that can extend. But we are all defining now,.. noone is going to have anything by tomorrow. We need to have a pluggable architecture- for that use case, we can plug in the pieces. The biggest question - are we going to do apache module with a lot of incubation- or start with what covers the most use cases. Requirements help a lot with this.

weeds
2016-12-06 16:13
Chris: I don't disagree with this- noone brought forward use cases, because everyone is going to disrupt everyone else.

weeds
2016-12-06 16:14
you can't share what your client use cases and there is some sort of NDA

weeds
2016-12-06 16:16
You can certainly talk about features. One of challenges we have and correct me if mis-characterize. I suspect everyone looked at what we published in January... and then so focused on exclusively on what everyone is doing. and not seeing,.. if you look at pivot in June- there is a lot that is quite similar in fabric. If we had conversations earlier on- maybe we would have converged. I think it's good to get these tings out in open. Let's take stock and step back and see what is in each of these- Sawtooth, Ethereum, Corda and reflect on that. Everyone is pushing for delivery, but take a step back and this is a function (the doorman or whatever you call it)- we don't need too many of these. Maybe something more oriented for permissioned network or someone who can just doll out certificates- maybe subtle differences . If we understand what else is happening beyond our own projects,.. I think tat Brian vision. I don't think it will happen overnight.

weeds
2016-12-06 16:18
Gari: what related to that and what Jonathan saying- it would be one thing if projects came back with 100's of people and bunch of people using it. This is what happens in Apace and there is competing ones. The problem is that we have projects and have 5 people developing them.. and now community of people- and we are competing with people to contribute. If I was an outsider,

weeds
2016-12-06 16:21
trying to integrate 2 pieces... could I hack out the Corda notary service and throw in our ordering service- I could have done that, but would that even serve a point? we see questions from community- when do I use when? A contest of who is best to serve is not productive. This is a waste of time. My point- could we coming out of here.. maybe a tag team of contributers. could we put together a group of 1, 2, 3 proposals of something we would like to prove out as a concept. Hey- I will code over the holidays and will contribute to this. Pick something- pick a real project- guys, is this actually possible? I think there is an interesting idea - taking Poet and using leader election for our ordering service in fabric and extend and do pure validation for UTXO-- use POET that dynamics leader and run CORDA and Sawtooth Lake for it?

weeds
2016-12-06 16:21
Tamas: Why? we would do something technically-

weeds
2016-12-06 16:22
Gari: Why poet? we can use common component-we are doing permissioned network. Corda and Fabric have come to similar conclusion - ordering or notary service to make sure no double spend and ordering. We both ended up to CFT to start with or single process... you guys use RAFT, we used KAFKA with Zookeeper and both are Crash Fault Tolernat. What if we want more people to enter and be trusted- POET would allow for a larger set and still trusted. There are real cases for that.

weeds
2016-12-06 16:23
Tamas- According to my experience for financial services- the least sexy thing is consensus server.. this is not the thing you would pick.

weeds
2016-12-06 16:23
Gari: your assumption is it's just financial services

weeds
2016-12-06 16:23
Gari: we can either be financial services or not- I do know them too- I have a world of other people that are not just financial services who require these things.. Please pick a project.. if we do membership services- let's do cop or something here.

weeds
2016-12-06 16:26
Chris: there are use cases beyond financial services such as the one Gari described- There is internet of things tat is going to scale and no bank will scale to that. That might apply to teller machines- not banks exchanging between. The more important reason is to get people to work together we have to get something out of it. I'm not going to work on it as a do gooder, but I derive from going down to soup kitchen and helping out. So when we think about- what does it take to get parties to collaborate or they are being forced to do it? In open source, it's all voluntary. I would just sort of say- we need some common ground- maybe that's not the highest priority - it's at least a thing,.. membership services or doormat,.. that's another thing that we could potentially common shared value. Then there are some aspects- like consensus models like BFT beyond CFT that require significant amount of research, investment, experimentation , trial and error, and if we go about independently, we won't solve problem quickly- if we collaborate, those will be important to experiment together. Things like zero knowledge proof is so hard, so better off if we do it together

weeds
2016-12-06 16:27
Jim Zhang: we should collaborate, but I don't think that the direct conclusion is we should have multiple projects

weeds
2016-12-06 16:27
Chris: the way you get people to collaborate is to find common ground

weeds
2016-12-06 16:29
Jim Zhang: i want to play devil's advocate-- it's not good to have duplicate. Everyone agrees is that Java as a project is huge success. If you look at enterprise hybernate and Java E-- both had huge communities behind them and co-existed. They inform each other on approaches and collaborate on pieces of the spec proposals. Each project needs to be serious about what they say- each should have community and resources behind them so growing up and fulfill meaningful projects and requirements... and we can inform each other. Maybe we have two - but two need to be successful.. not 5 where some have real resources and some not. They claim to be part of group..

weeds
2016-12-06 16:29
PNB Paribas Having more resources does not make successful project.. You can work on something that is utter failure if you go down wrong path. Listen to other people and work in the working groups. One person could bring something more of value.

weeds
2016-12-06 16:33
Richard from R3: I remember a time web application server- Websphere/WebLogic. Big process to standardize Java Enterprise. It was insane. I could be wrong on this- it's premature standardization before app servers were going and where the real issue was going. And we had too top down to force these competing stacks ,.. and community rebelled-- Spring and Hybernate came on side given EJB too complicated. The lesson learned is the race to converge was a mistake- maybe I learned that lesson and why I stood back and not converge too early as a result. The other experience - the code base itself when we get into fully open for R3 is that we have a consistent coding style. I worry about doorman- I worry about the architecture and take other pieces wholesale and how do we maintain the integrity. this is a case o maturity and what maybe we need to get over. Two other quick points- you made people. DAH is not the only ones- they are the only irm that don't throw code over the fence,.. this is what we want existed. final question on Gari- I think we can focus on deterministic JVM and Membership SErvices. We are not fully open. OUr full JIRA- these are the things we have not started designing or buildling.. No answers there.

weeds
2016-12-06 16:35
IROHA: we need not to be waterfall- these are important to be iteratively and follow a spiral model. Collect your thoughts and so it's useful to do projects like Gari said- do something simple technical demoes, but after that has to be focused collaboration- these are the results of what worked and did not work. it's important not to be too binary in decision making process and dive in and take small pieces as much as possible. this is what we have been focusing on as we are working with 3 main projects right now- and all different fields so hard to get collected in one big picture.. slowly be able to expand to other use cases. this is approach we've been taking.

weeds
2016-12-06 16:37
Chris: I'm going to give analogy of auto industry- building the are once a month.then large scale manufacturing. Each auto manufacturer was creating their own thing- complete design from bottom up and so all the cars from automaker were different. over time, there is an ecosystem that expanded and specialization on tires on how to build tires that are heat resistant or cold resistant or whatever. There were only so many tire manufacturers required- so now you only have the tire manufacturers that they are shared. Ultimately there ended up only 3 or 4- my point is this- the auto industry was independent and essentially it's all a big blur.. and only thing different is how sexy is it.. how green is it or whetever, but the piece parts are all common. How do we do that? how do we accomplish that?

weeds
2016-12-06 16:39
Brian: cars are very different, but snow tires are different than tires designed for speed- while they are similar- 4 tires on most cars and steering wheel is common- there are technologies and the implementations diverge.. they converge were value and where economic advantages. it depends on 50,000 foot view or 10,000 foot view. would auto industry converge on day 1 or phase of experimentation that led to get the more aligned. the enterprise java bean is a good example of trying to over enginner and ram down people's throats, but better architecture was how they grew organically. I feel your anxiousness, but we do need to converge services and vocabulary.

weeds
2016-12-06 16:44
Cisco- this is exactly what we have tried to do with the architecture group. The end vision there is to specify the functional requirements-- define identity services, define smart contracts, define policy and crypto and storage layer. We've been specifying the interfaces to them instead of implementation details.. that way you have options within those layers ;.... Gari: take a simple example of Ethereum. Everyone takes that as the spec and go write that and build multiple version of ethereum. You can have multiple clients-- you deploy your code, but that is their mission and spec. Who are we trying to help? You can either be an umbrella that brings in projects, but when projects come in and ask community for help. That's not scalable.. Unless you are growing community- you are just bringing in more things that compete with the same stuff. the one trend that i've noticed is there are a lot more people working on things and are now trying to use the products, but not contributers to product. So we have people who brought original stuff-- but you battle for potential resources, we don't all get everything done and confuse people. R3 originally had a great mission- it was a clear statement- we are here how blockchain is applicable and provide recommendations. if that's the point of hyperledger project or key things everyone needs to have.. then that's fine, but that's different then here are projects how implemented, here's our resource pool, it's never going to work- we will have same 5 people... and someone is going to be upset with one project and go work on another. Who is this for? *richard R3* We have 5 different code bases. The actual enemy - everyone is committed. This has to be developed in open- as this has to be sticky-

weeds
2016-12-06 16:48
Richard R3: financial institutions need to look at market dynamics- but maybe we help them understand deploy on open base. my bet is they won't succeed because clients too small. We should not lose site- the building of canals in UK- emergency civil engineering competing and how did they resolve- formed organization of civil engineers and yet parallels - it doesn't mean we have to slam these things together. CISCO: we are in experimental phases of what niche, what requirement. What richard is pointing out- it comes out in the open. different transport protocols- some of them will be good fit and some will be better at others. We are still at experimental phase and diverse set of requirements and we are in early stages of the game. We have a set of buildling blocks that will be sanitized over time.. I don't think we should standardize everything and too early to standardize. CHRIS: there are aspects of function regardless of framework- or do we build 5 or 6 or 8 of those- maybe we build 1 or 2

weeds
2016-12-06 16:48
there is only so many ways - can we all build off of common one?

weeds
2016-12-06 16:50
Richard R3: You may good point- nextgen consensus. We did read that. But we did not caught up. It's different not better or worse. We did study that in depth. If someone pitch the architecture- probably not as a TSC member pitching all of these. Each of those being able to do that and what would help- this should be able to be a prerequisite.. you mention the explorer,.. because of architectural explorer, we are buildling things .. i've not taken enough time.. people have read the whitepapers and understand the code base of each others stuff.

sahutsd
2016-12-06 16:52
has joined #general

weeds
2016-12-06 16:52
Brian: Are the resources finite? as I talk to people joining- don't expect existing people to jump onto your project. there are some ethereum companies that have paid attention, but have made their strategic investment- maybe bringing ethereum project in gets them more engaged. If we are talking about efforts- how do we get most productive output? even if time is finite, we can grow the pie and grow the community-- everyone pays attention to what we do... I do think this is sharing as much information internal where we have common needs and building common interfaces,.. and Richard's proposal the architecture working group and whitepaper working group. I'd be willing to maintain a queue from raising hands.

weeds
2016-12-06 16:54
Tamas: We have different appetite for the two phases. some people we are still exploring.. that's the danger I see and stretch the direction of experimental and increasing the pool. I'm concerned for several reasons- there is a community that is bigger- and it could have a reverse effect. I don't see it beneficial to consolidate on a project that is aimed to provide solution for enterprise use. I don't see how a working group will continue to progress if you connect with public and decisions are made in a different way and in a different forum.

weeds
2016-12-06 16:56
Mural from DTCC; We can compete and bringing platform- maybe increase the components - Corda or Fabric - we have a component repository and create platform to publish those components to this repository. Encourage these different to publish components and how we have common credits.. if they don't contribute a component- we levy a tax.. maybe we have to encourage creating the components for industry.. that is also used in their own stack and published outside.

weeds
2016-12-06 16:56
Hyperledger in general- needs to be more config and give some incentives

weeds
2016-12-06 16:58
Jeremy: couple of observations I was at wallstreet blockchain alliance. A lot of those expressed- something working in production and people's progress towards it.. and I spoke to people listening into TSC- what is call that i should attend that is something interesting- we have people's attention and how do we exploit that. We are missing an opportunity. I encourage people to think about that. Why i created DLT spreadsheet- because i could not keep track of all the components all the projects and how they intersected... Great someone can carry thta forward. We need that so people can consume and understand and how they could help. it's not always clear how we engage or how we get started,.. much easier with sawtooth or broader stuff.

greg_not_so
2016-12-06 16:59
Jeremy's spreadsheet:

weeds
2016-12-06 17:01
Jim- we should not be in rush for consolidation at this point. what we should do is this is very early days for blockchain. Meaningful projects can grow and the market will sort it out. But there is a concern- people are confused.. what can i do with these 5 or more. we can help them tremendously for each project- what they are and what they are built for and more helpful what projects have already been using it and to what level o success.. we don't have anything like that today. as an organization we need to form opinions about project . what is POET good for? what is PBFT good for? what is Kafka good for? we don't have anything like that.. everyone reading each of these independently-- how do I chose? Hibernate sprint was so successful because they spent time making sure it's easy for developers to get started. we need to do that for audience and simply for developers.. even the c level people- we have enough of information on these projects on how to chose.

weeds
2016-12-06 17:02
DTCC: consolidation might not be the right time- but certainly for collaboration. IN similar way- there may be some components that may be useful-- it may not make sense completely, but ways to generalize it-- and something we ought to get started. Speaking right now,.. one is go, one is java , one is C++.l how we use those components l maybe we can independently utilize it.. but even things like smartcontracts supports many languages. Shared reusable components

weeds
2016-12-06 17:04
Sharon: is there a way where we can find a client that we can all work towards to merging some of these pieces- different architecture components are good, but to rally this is the way we do it.

weeds
2016-12-06 17:04
Chris : lunch is in the other room

weeds
2016-12-06 17:05
There are a couple of things in course of th emorning that we need to squeeze in the afternoon.. what we have at 1pm is we do identity and requirements-- the hackers can go in the other room. And then we had things like review of future hackfest and locations.. but the other two tings that came up is the web3J proposal and give time to review 15 to 20 minutes on that. Victor asked if we could present Cello-- if people are interested-- if people can grab a sandwich and bring back and we will start off and have w3j presentation followed by Cello.

dvitas
2016-12-06 17:16
My 5 cents on the discussion. As an app developer I see the blockchains as the operating systems. Nowadays in the world of OSes if I want my app to succeed, I either write it in the interpreted language which can be run on as many OSes as possible (Java, Python, JS) or as a slightly outdated approach I would write it to be 100% POSIX-compliant. I would be more than happy if there existed a shim layer which I can use without knowing what is the underlying blockchain. Something that abstracts the concepts of smart contracts, state, transactions, membership service and presents it as a unified interface to me, the app developer. Maybe I am asking for too much. Or too early :slightly_smiling_face:

mgrand
2016-12-06 17:18
has joined #general

cbf
2016-12-06 17:44
@dvitas yes, but the problem that we have is that there is no defined POSIX (and I think we are too early for such a thing) and the contracts/application aspect is too entangled with the underlying framework/fabric/whateveryouwanttocallit to be portable

middleton
2016-12-06 17:49
@weeds thanks for the live transcription

greg_not_so
2016-12-06 17:55
Jeremy's spreadsheet comparing different blockchain-based projects (including bitcoin) #allinone >

pschnap
2016-12-06 17:57
Anyone have time to help me with an issue? I'm getting an error, "Cannot collect files from empty chaincode path", when trying to run the deploy transaction on chaincode_example02

pschnap
2016-12-06 17:57
I run

pschnap
2016-12-06 17:57
> peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}'

blockchain_seeker
2016-12-06 17:57
has joined #general

pschnap
2016-12-06 17:58
and get

pschnap
2016-12-06 17:58
> Error: Error getting chaincode code chaincode: Error getting chaincode package bytes: Cannot collect files from empty chaincode path

pschnap
2016-12-06 17:59
the peer launches with an error about grpc timing out (but doesn't fail) and the chaincode itself starts without any errors

pschnap
2016-12-06 17:59
I'm using the latest on master

pschnap
2016-12-06 18:03
(running things on vagrant)

muralisr
2016-12-06 18:06
@pschnap are you running master or v0.6 ?

muralisr
2016-12-06 18:07
you are running peer with —peer-chaincodedev ?

pschnap
2016-12-06 18:09
yeah, `peer node start --peer-chaincodedev`

pschnap
2016-12-06 18:09
and yes, I updated master from gerrit and rebuilt the peer to run

muralisr
2016-12-06 18:10
ok

muralisr
2016-12-06 18:10
try this please `PEER_CHAINCODE_MODE=dev peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}’`

muralisr
2016-12-06 18:11
after it is deployed and committed (you’ll see a commit on the peer…assuming you are running the orderer)

pschnap
2016-12-06 18:11
same error

muralisr
2016-12-06 18:13
what’s ur chaincode screen look like ?

muralisr
2016-12-06 18:14
(also can we take this to chaincode channel please)?

pschnap
2016-12-06 18:14
sure

ahilwa
2016-12-06 18:24
has joined #general

kansi
2016-12-06 18:27
@pschnap you will also need to specify the path of the chaincode_example02 directory like this

kansi
2016-12-06 18:28
`-p http://github.com/ .... /fabric/examples/ ...... /chaincode_example02`

kansi
2016-12-06 18:28
remember don't specify absolute path

pschnap
2016-12-06 18:28
I did see that in the docs but it also said if you specify the chaincode name w/ `-n` you didn't have to specify a path

kansi
2016-12-06 18:29
docs are old

pschnap
2016-12-06 18:29
(also we moved this discussion into the #chaincode channel if you'd like to join there)

gndl527
2016-12-06 18:31
has joined #general

jesseselvin
2016-12-06 18:34
has joined #general

markpainter
2016-12-06 18:42
has joined #general

andy
2016-12-06 18:45
has joined #general

tamires.rocha
2016-12-06 18:47
has joined #general

akind
2016-12-06 19:03
@akind pinned a message to this channel.

ry
2016-12-06 19:19
I split up @weeds notes into two pages and reformatted them a little. Links here: https://wiki.hyperledger.org/community/hackfest-notes

yuwei
2016-12-06 19:37
@adc @kevinsager @weeds Thanks for your help.

yuwei
2016-12-06 19:38
@weeds

yuwei
2016-12-06 19:46
@adc We are trying to apply hyperledger to a real International Trade project. It seems that fabric V0.6 is a better choice for current situation, right?

rk1087
2016-12-06 19:58
has joined #general

weeds
2016-12-06 20:31
@yuwei if you are programming on fabric today, most immediate would be 0.6, but 1.0 will soon be in a state of Beta in 2017

datamagnus
2016-12-06 21:10
has joined #general

bluephoenixinc
2016-12-06 22:30
has joined #general

andyquintana
2016-12-06 23:04
has joined #general

fuya
2016-12-07 00:43
has joined #general

anilsaboo
2016-12-07 01:04
has joined #general

daniellee
2016-12-07 01:14
@garisingh (1) I generate different certificates for 2 peers. (2) I tried the method you mentioned but I got another error when I start the peer program `2016/12/07 01:00:46 Failed to create ehub server: Failed to generate credentials crypto/tls: private key does not match public key`

dkeramidas
2016-12-07 01:43
has joined #general

dougreid
2016-12-07 01:46
has joined #general

rcarbajal
2016-12-07 02:29
has joined #general

amino
2016-12-07 02:35
has joined #general

alexliusch
2016-12-07 02:44
guys,how do u solve the problem that CA certificates expired after 3 months?

passkit
2016-12-07 03:21
has joined #general

yevot
2016-12-07 03:23
has joined #general

luodanwg
2016-12-07 03:30
has joined #general

harinda
2016-12-07 03:36
has joined #general

harinda
2016-12-07 03:38
Hi everyone, we are http://IDAMA.LK and are looking at digitizing the supply chain of construction materials in developing countries. Would love to connect with people doing something similar. We wanted to leverage blockchain to retain anonymity to the user's while interconnecting them for supply chain purposes.

shahan.khatchadourian
2016-12-07 03:43
just to add it to the log here Today, Shahan Khatchadourian from ConsenSys presented the Web3J project, a proposal submitted to the TSC, and talked about Nethereum. Both projects allow Java (and .Net, respectively) developers to integrate their existing apps with contracts deployed onto an Ethereum blockchain. Both projects allow developers to interact with Ethereum platform components such contract deployment, accounts, transactions, signing, IPFS, as well as client-specific features (for geth and Parity).

yevot
2016-12-07 03:46
Question: If I want a fairly stable commit that coincides with the current documentation, is there something you can point me to? I'm trying to do a proof of concept for an academic project and I've spent a depressingly long amount of time over the last week just trying to get one example app to work (to no avail). :flushed:

muralisr
2016-12-07 03:59
@yevot are you using the master or 0.6 ?

muralisr
2016-12-07 04:01
master is under works and this simple end-to-end flow is supported https://jira.hyperledger.org/secure/attachment/10242/simple_test_with_skeletal_peer.md

aybek
2016-12-07 04:02
Hi all , need help I'm trying to implement a pbft consensus. Configured 4 nodes on different computers, all 4 nodes have the same core.yml conf : validator: enabled: true consensus: # Consensus plugin to use. The value is the name of the plugin, e.g. pbft, noops ( this value is case-insensitive) # if the given value is not recognized, we will default to noops plugin: pbft # total number of consensus messages which will be buffered per connection before delivery is rejected buffersize: 1000 events: # The address that the Event service will be enabled on the validator address: 172.17.110.234:7053 # total number of events that could be buffered without blocking the # validator sends buffersize: 100 # milliseconds timeout for producer to send an event. # if < 0, if buffer full, unblocks immediately and not send # if 0, if buffer full, will block and guarantee the event will be sent out # if > 0, if buffer full, blocks till timeout timeout: 10 # Peer discovery settings. Controls how this peer discovers other peers discovery: # The root nodes are used for bootstrapping purposes, and generally # supplied through ENV variables # It can be either a single host or a comma separated list of hosts. rootnode: 172.17.110.237:7051 ,172.17.110.234:7051 , 172.17.110.236:7051, 172.17.110.238:7051 # The duration of time between attempts to asks peers for their connected peers period: 5s Chaincode deploys only in rootnode. After that if i try to invoke , other nodes throw exceptions cause they have no chaincode deployment. I tried to change peer discovery settings: All 3 nodes discover only the root node, and vice versa. Nothing changed. What could be the problem ?

yevot
2016-12-07 04:04
@muralisr thanks, I'll give that a try. If I just switch to v0.6, will that match with the current documentation?

muralisr
2016-12-07 04:04
yes

yevot
2016-12-07 04:05
that's probably what I need to do. can't believe I didn't think of that quite a while ago

muralisr
2016-12-07 04:05

yevot
2016-12-07 04:06
I was trying to follow that but using the master branch. Man, that wasted tons of time

muralisr
2016-12-07 04:06
ah .. oops

yevot
2016-12-07 04:06
but I think you helped me get back on track so thanks a bunch, @muralisr

muralisr
2016-12-07 04:07
but if you already have master it may not be a bad idea to give this a whirl https://jira.hyperledger.org/secure/attachment/10242/simple_test_with_skeletal_peer.md

muralisr
2016-12-07 04:07
but upto you… if you are going to be developing a project of sorts using this, might as well do it with 0.6

yevot
2016-12-07 04:09
i'm going to give it a whirl

mbaglieri
2016-12-07 04:12
has joined #general

yevot
2016-12-07 04:18
when I deployed the chaincode, it looked like it spit out a thousand lines of like.. octal (e.g. \254D\241\332\370\365#i\375\375\371\373\363\367\347\357\317\177\326\347\377\027\000\000\377) but then it went ahead and created a block so i guess it worked

muralisr
2016-12-07 04:19
did it say “Commit..” on the peer console ?

yevot
2016-12-07 04:19
yes, "Commit success"

muralisr
2016-12-07 04:20
ok

muralisr
2016-12-07 04:20
try `peer chaincode query -n mycc -c ‘{“Args”:[“query”,”a”]}’`

muralisr
2016-12-07 04:21
its not there in the doc but should work

yevot
2016-12-07 04:22
yep, worked. Query Result: 100

muralisr
2016-12-07 04:22
ok

muralisr
2016-12-07 04:23
just make sure you see commit on deploy and invoke before you test the previous step

muralisr
2016-12-07 04:23
queres are not submitted

muralisr
2016-12-07 04:24
ie, any request you make using `peer chaincode query ..` is not submitted for transaction

yevot
2016-12-07 04:24
i think i need to jump back to 0.6 so i can figure out how to get my application to talk to it and have a little bit of reference, but I'm glad you helped me get master functional!

muralisr
2016-12-07 04:24
sure think

muralisr
2016-12-07 04:25
thing.. need to quit now.

manikandan.kannan
2016-12-07 04:35
has joined #general

manikandan.kannan
2016-12-07 04:51
What defines a block - Is it one transaction or multiple transactions?

manikandan.kannan
2016-12-07 04:54
I am new to BlockChain Technology and i have been reading many articles around it but still pondering over the basics

kansi
2016-12-07 04:55
manikandan.kannan one or more transactions can form a block

manikandan.kannan
2016-12-07 04:56
ok, so does the implementation of the block chain technology like fabric, bitcoin decide whether its one transaction or multiple transaction?

kansi
2016-12-07 04:57
yup

manikandan.kannan
2016-12-07 04:57
ok

manikandan.kannan
2016-12-07 04:57
Does the block contain the data or only the hash of the data? If it contains the hash alone, where is the data actually stored?

kansi
2016-12-07 05:00
that depends on the implementation

kansi
2016-12-07 05:00
you can refer to bitcoin docs to get an idea of this

kansi
2016-12-07 05:00
it can give more detailed picture than I can

manikandan.kannan
2016-12-07 05:01
ok, how is it done in fabric?

kansi
2016-12-07 05:01
i am not a fabric core dev

manikandan.kannan
2016-12-07 05:01
okay

manikandan.kannan
2016-12-07 05:02
Do you know the role of CouchDB in the HyperLedger Fabric project?

kansi
2016-12-07 05:02
nope

manikandan.kannan
2016-12-07 05:02
ok

manikandan.kannan
2016-12-07 05:02
In block chain, the term distributed is actually not distributed in the true sense whereas its actually replicated. Is this understanding correct?

manikandan.kannan
2016-12-07 05:03
everywhere i see that the every node in the network has its own copy

manikandan.kannan
2016-12-07 05:03
this means the same data replicated across? if a network has 50 nodes, then 50 copies?

cbkrol
2016-12-07 05:11
has joined #general

yevot
2016-12-07 05:15
@manikandan.kannan yes, 50 nodes means 50 copies. the data is replicated but the *control* is distributed (at least ideally)

manikandan.kannan
2016-12-07 05:16
@yevot so when a new transaction happens, its first validated and a block is created, then added to the block chain....who adds to the block chain?

manikandan.kannan
2016-12-07 05:17
The same data residing on all nodes mean that any new transaction added to the network would have to be replicated across. The data grows as the number of transactions increase. Is the entire block chain broadcasted to all the nodes in the network? If that's the case, the network cannot scale. Is this the case or only the new block is broadcasted and every individual node adds to the copy of the chain it holds?

irvingnam
2016-12-07 05:18
has joined #general

yevot
2016-12-07 05:18
if I understand correctly, transactions are sent, are validated by peers, and are eventually grouped into blocks that are added to the block chain

yevot
2016-12-07 05:19
only the new transactions and validated blocks need to be sent around the network, but every node should have an identical blockchain (that's the idea)

manikandan.kannan
2016-12-07 05:20
ok so when you say sent around the network, who takes care of doing that?

yevot
2016-12-07 05:21
the nodes interact with each other. i think _how_ that's done is dependent upon the implementation and i don't know exactly how fabric does it

manikandan.kannan
2016-12-07 05:22
and everyone having a copy means that there is requirement for anyone to have a basic Hard disk space to store data

manikandan.kannan
2016-12-07 05:22
if the number of transactions increase then data grows and the block chain size grows

yevot
2016-12-07 05:22
right

yevot
2016-12-07 05:22
i think that's actually a concern for the bitcoin network

manikandan.kannan
2016-12-07 05:23
oh ok......but i think hyperledger may solve that by means of couchB

manikandan.kannan
2016-12-07 05:24
BigChainDB also seems to be doing that...where the DB is distributed in the true sense like mongoDB but at the same builds the BIockChain characteristics on top of it

manikandan.kannan
2016-12-07 05:26
so here the entire block chain is not replicated but only a subset is replicated....this means anyone can potentially tamper the data as long as they have access to DB cluster which they would....may be they solve the problem of immutability etc by different mechanisms

gonght
2016-12-07 05:26
has joined #general

manikandan.kannan
2016-12-07 05:27
the concern is also for any new node adding to the cluster...becos if every node has to maintain a local copy then any new node should get the copy first

manikandan.kannan
2016-12-07 05:28
this is expensive....but you may not have this problem if the node does not have a copy

manikandan.kannan
2016-12-07 05:28
@yevot your thoughts?

yevot
2016-12-07 05:29
with a db with shards, i'm not sure how you would have a full blockchain

yevot
2016-12-07 05:29
from the genesis block to the latest transactions

yevot
2016-12-07 05:29
seems like nodes would have to make pretty wide assumptions

yevot
2016-12-07 05:30
but I'm not sure. the project I'm trying to use fabric for has a very sequential nature so having a node with an incomplete history would be very bad

manikandan.kannan
2016-12-07 05:30
ok

manikandan.kannan
2016-12-07 05:31
@yevot do u know the role of CouchDB in fabric?

yevot
2016-12-07 05:32
i don't

manikandan.kannan
2016-12-07 05:32
ok

yevot
2016-12-07 05:32
i actually don't know a ton about fabric but i've been trying to work with it and have the general idea about blockchain

manikandan.kannan
2016-12-07 05:32
sure

manikandan.kannan
2016-12-07 05:33
@yevot When a codechain is added by a peer to the network, is the CodeChain added to all the nodes in the network? When a transaction happens, where is the CodeChain get executed?

manikandan.kannan
2016-12-07 05:34
first of all i am not clear where the code will be executed? is it on all nodes or one node or subset

manikandan.kannan
2016-12-07 05:35
if it executes on all nodes then similar to the hard disk requirement on all nodes...every node should also have specific run time requirenent

yevot
2016-12-07 05:36
when transactions occur on that chain, they have to use that chaincode? so that governs the logic, i think. the actually processing happens on a node and then validating peers confirm it's correct? but i'm guessing here

manikandan.kannan
2016-12-07 05:37
yes chaincode is kind of an event trigger as per my understanding

yevot
2016-12-07 05:37
right, every node needs to be able to execute the chaincode to be a part of that chain (or even in a specific group of nodes, maybe)

manikandan.kannan
2016-12-07 05:38
sounds interesting

manikandan.kannan
2016-12-07 05:38
another aspect is the order guarantee

manikandan.kannan
2016-12-07 05:38
this is interesting especially in immutable state

manikandan.kannan
2016-12-07 05:40
if 2 transactions are submitted to the network then how is the handled....i.e. if 10$ transfeered from A to B...now A has 0$

yevot
2016-12-07 05:40
yeeeeah, i really don't know order works. bitcoin must've figured it out. perhaps the first with the proof of work determines the order?

yevot
2016-12-07 05:40
yeah, the double-spend problem too

manikandan.kannan
2016-12-07 05:41
intersting

manikandan.kannan
2016-12-07 05:41
finally, is there any fabric dev group who can answer the questions

manikandan.kannan
2016-12-07 05:41
?

yevot
2016-12-07 05:42
look at the channels and i think you'll find what you're looking for

manikandan.kannan
2016-12-07 05:42
@yevot Thanks

yevot
2016-12-07 05:43
#consensus #dev #fabric-arch maybe

manikandan.kannan
2016-12-07 05:43
ok

yevot
2016-12-07 05:43
sure

vamsi
2016-12-07 06:14
has joined #general

gwyns
2016-12-07 06:19
has joined #general

muralikr
2016-12-07 07:25
has joined #general

clearaim
2016-12-07 07:25
has joined #general

voritic
2016-12-07 07:39
has joined #general

yevot
2016-12-07 07:55
I'm on v0.6 and mainly using REST. Is there a way I can add arbitrary key, value pairs to the blocks/transactions?

lukaszkalamlacki
2016-12-07 08:45
has joined #general

ejocampos
2016-12-07 08:52
has joined #general

rez1kabir
2016-12-07 09:22
has joined #general

ahmedelhajji
2016-12-07 09:41
Hi, I have an hyperledger project running on my VMs with a chaincode deployed on it. This chaincode updates the world state in its invoke method. Now I'd need to query a previous world state... Does anyone know if it can be achieved ?

petro
2016-12-07 09:45
has joined #general

rez1kabir
2016-12-07 09:59
does anybody know what might cause the following issue for pbft .?

rez1kabir
2016-12-07 09:59
{ "jsonrpc": "2.0", "error": { "code": -32003, "message": "Query failure", "data": "Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for 9646ec044742403d1cae42605a593ff749b550454a8c622e3ae0bf57bd594877d956a93560e2a10fcbaefe68126315716b8d393f1bfbd9cacc74298e70c68b92 - LedgerError - ResourceNotFound: ledger: resource not found)" }, "id": 1

ahmedelhajji
2016-12-07 10:05
@rez1kabir it's just problem of argument you did not build your json file correctly

ahmedelhajji
2016-12-07 10:06
It is necessary to specify the parameters that you want to pass in your call rest

thomas_g
2016-12-07 10:31
has joined #general

sylvia
2016-12-07 10:38
has joined #general

sam_norbloc
2016-12-07 11:08
has joined #general

rez1kabir
2016-12-07 11:22
hi @ahmedelhajji here goes my json file POST http://localhost:7050/chaincode { "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID": { "path": "<somepath>" }, "ctorMsg": { "function": "init", "args": [] }, "secureContext": "jim" }, "id": 1 } { "jsonrpc": "2.0", "method": "invoke", "params": { "type": 1, "chaincodeID": { "name": "ee5b24a1f17c356dd5f6e37307922e39ddba12e5d2e203ed93401d7d05eb0dd194fb9070549c5dc31eb63f4e654dbd5a1d86cbb30c48e3ab1812590cd0f78539" }, "ctorMsg": { "function": "Savefunction", "args": ["strAdminUser","Shiplu"] }, "secureContext": "jim" }, "id": 1 } { "jsonrpc": "2.0", "method": "query", "params": { "type": 1, "chaincodeID": { "name": "ee5b24a1f17c356dd5f6e37307922e39ddba12e5d2e203ed93401d7d05eb0dd194fb9070549c5dc31eb63f4e654dbd5a1d86cbb30c48e3ab1812590cd0f78539" }, "ctorMsg": { "function": "Getfunction", "args": ["strAdminUser"] }, "secureContext": "jim" }, "id": 1 }

kirkwall
2016-12-07 11:25
has joined #general

satyam_agl
2016-12-07 11:29
$ CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=192.168.99.100:7051 ./main_chai ncode.exe 16:58:59.884 [shim] INFO : error with chaincode log level: logger: invalid log l evel level= 16:58:59.885 [shim] DEBU : Peer address: 192.168.99.100:7051 2016/12/07 16:59:00 grpc: addrConn.resetTransport failed to create client transp ort: connection error: desc = "transport: dial tcp 192.168.99.100:7051: connecte x: No connection could be made because the target machine actively refused it."; Reconnecting to {"192.168.99.100:7051" <nil>} 2016/12/07 16:59:02 grpc: addrConn.resetTransport failed to create client transp ort: connection error: desc = "transport: dial tcp 192.168.99.100:7051: connecte x: No connection could be made because the target machine actively refused it."; Reconnecting to {"192.168.99.100:7051" <nil>} 16:59:02.900 [shim] ERRO : Error trying to connect to local peer: grpc: timed ou t when dialing Error starting Simple chaincode: Error trying to connect to local peer: grpc: ti med out when dialing

satyam_agl
2016-12-07 11:29
please help me to solve this problem as quick as possible

vijaychhuttani
2016-12-07 11:43
has joined #general

edgarhyper
2016-12-07 11:44
has joined #general

garisingh
2016-12-07 11:46
@satyam_agl: Docker for Windows?

satyam_agl
2016-12-07 11:46
yes @garisingh

satyam_agl
2016-12-07 11:46
docker toolbox

garisingh
2016-12-07 11:47
Are you using docker-compose?

satyam_agl
2016-12-07 11:47
yups

garisingh
2016-12-07 11:47
Can you post your compose yaml here? Seems like the port is not exposed

satyam_agl
2016-12-07 11:47
okay

satyam_agl
2016-12-07 11:48
membersrvc: image: hyperledger/fabric-membersrvc command: membersrvc vp0: image: hyperledger/fabric-peer environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://172.17.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev"

rlourenc
2016-12-07 11:48
has joined #general

satyam_agl
2016-12-07 11:50
@garisingh got it ?

garisingh
2016-12-07 11:52
You'll need to add "ports" section to your compose file. I'm on my phone so can't give you an example but look up compose file reference and look at the ports section

garisingh
2016-12-07 11:52
ports: - 7051:7051

satyam_agl
2016-12-07 11:53
yes , thanks for help

satyam_agl
2016-12-07 11:53
problem solved

garisingh
2016-12-07 11:54
Cool

hyper_narya
2016-12-07 12:19
has joined #general

raphael
2016-12-07 12:24
has joined #general

aboitier
2016-12-07 12:33
has joined #general

olly
2016-12-07 12:35
has joined #general

paulo.s.marques
2016-12-07 12:36
has joined #general

ahmedbarkhia
2016-12-07 12:43
has joined #general

bmos299
2016-12-07 13:10
@satyam_agl the documentation has several examples of docker-compose at http://hyperledger-fabric.readthedocs.io/en/latest/ for when you want multiple peers to test with.

dneely
2016-12-07 14:01
has joined #general

satyam_agl
2016-12-07 14:06
@garisingh 19:32:42.828 [shim] DEBU : os.Args returns: [C:\projectsGO\GO\src\http://github.com\mai n_chaincode\main_chaincode.exe] 19:32:42.830 [shim] DEBU : Registering.. sending REGISTER 19:32:42.833 [shim] DEBU : []Received message REGISTERED from shim 19:32:42.833 [shim] DEBU : []Handling ChaincodeMessage of type: REGISTERED(state :created) 19:32:42.834 [shim] DEBU : Received REGISTERED, ready for invocations 19:33:37.362 [shim] DEBU : [abc]Received message INIT from shim 19:33:37.362 [shim] DEBU : [abc]Handling ChaincodeMessage of type: INIT(state:es tablished) 19:33:37.362 [shim] DEBU : Entered state init 19:33:37.363 [shim] DEBU : [abc]Received INIT, initializing chaincode 19:33:37.372 [shim] ERRO : [abc]Init failed. Sending ERROR 19:33:37.372 [shim] DEBU : [abc]Move state message ERROR 19:33:37.373 [shim] DEBU : [abc]Handling ChaincodeMessage of type: ERROR(state:i nit) 19:33:37.373 [shim] DEBU : [abc]send state message ERROR

satyam_agl
2016-12-07 14:07
i am facing the error in the api hit

sjoseph
2016-12-07 14:11
has joined #general

rodneicouto
2016-12-07 14:43
has joined #general

rkr
2016-12-07 14:50
has joined #general

thomasredhead
2016-12-07 15:04
has joined #general

jonathanlevi
2016-12-07 15:15
Hi again Satyam [@satyam_agl], now that this channel has grown to have over 4300 people. Shall we move these specific `fabric` questions to #fabric or #fabric-dev or so?

thojest
2016-12-07 15:42
has joined #general

mgrand
2016-12-07 15:51
I am new to fabric, but since no one has responded to the original message I will try. I do not see a way to query previous world state from chain code. The alternative that I see is to treat the values of keys as arrays that you append to each time you want to have a new value for the key. The array would give you a history of values for the key.

findmeagain
2016-12-07 16:07
has joined #general

t
2016-12-07 16:55
has joined #general

willsalmon
2016-12-07 17:05
has joined #general

adamjsr
2016-12-07 17:49
has joined #general

petrb
2016-12-07 18:02
has joined #general

friz
2016-12-07 18:04
has joined #general

pryorrunning
2016-12-07 18:05
has joined #general

dieswaytoofast
2016-12-07 18:10
has joined #general

anarkos
2016-12-07 18:12
has joined #general

anarkos
2016-12-07 18:13
Hello guys

anarkos
2016-12-07 18:13
I'm new here

anarkos
2016-12-07 18:13
can you guys explain me what is hyperledger

kcx
2016-12-07 18:15
has joined #general

anarkos
2016-12-07 18:15
some links perhaps...


anarkos
2016-12-07 18:41
tx

dannydw
2016-12-07 19:09
has joined #general

bharat
2016-12-07 19:13
Hi, need your help, I am using sdk .Creating a new application from scratch. I copied credentials from blockchain and when I am trying to enroll using Hfc, I get error. Identify or token does not match. Any idea?

bharat
2016-12-07 19:13
I also tried using co-web demo. The demo works fine. But when I need to replace the service credential file with my blockchain service credentials it gives the same issue

kellygroff
2016-12-07 19:15
has joined #general

rao
2016-12-07 19:20
has joined #general

madtroll
2016-12-07 19:42
has joined #general

billwade7
2016-12-07 19:46
has joined #general

solasailor
2016-12-07 19:54
has joined #general

chip
2016-12-07 19:56
has joined #general

kuldeep
2016-12-07 20:18
has joined #general

abishekk
2016-12-07 20:21
has joined #general

mmayorivera
2016-12-07 21:03
Hi there, anybody that knows how to implement consesus??

mmayorivera
2016-12-07 21:15
consensus?? oops

zac
2016-12-07 21:17
Hey thanks for an excellent hackfest everyone. I really enjoyed getting to meet a lot of you. Definitely checkout the #sawtooth channel or hit me up on Slack if you have questions about Sawtooth Lake or the Marketplace UI.

mmayorivera
2016-12-07 21:18
no body, knows about consensus??

zac
2016-12-07 21:20
Sorry. Who’s project is that?

mmayorivera
2016-12-07 21:21
Not a project, Just asking if somebody knows about implementing consensus in hyperledger other than using statemachines???

zac
2016-12-07 21:26
That makes more sense. Though some of these projects get such generic names, I wasn’t sure.

zac
2016-12-07 21:27
I only know the broad strokes myself. Are you having trouble getting it working for Fabric or some other implementation?

karkal72
2016-12-07 21:39
has joined #general

blut
2016-12-07 21:50
has joined #general

john_vdrijke
2016-12-07 21:51
has joined #general

nandini.parimi
2016-12-07 21:52
is there a example project which illustrates blockchain and mining

thekate
2016-12-07 21:53
has joined #general

twigwam
2016-12-07 22:14
has joined #general

mp
2016-12-07 22:36
has joined #general

jkaraba
2016-12-07 22:43
has joined #general

lancecastillo
2016-12-07 22:48
has joined #general

jagadeesh
2016-12-07 23:31
has joined #general

jeff_netki
2016-12-08 00:01
has joined #general

jamesm
2016-12-08 00:10
has joined #general

jinchang1
2016-12-08 01:45
has joined #general

jos.denmark
2016-12-08 01:46
has joined #general

nvlasov
2016-12-08 02:07
@weeds : I read all you captured from the event and THANKS A LOT for that. It’s really interesting. Do you know if there are any plans to share slides/videos with demos shown? I’d love to see what Intel presented.

nic
2016-12-08 02:12
has joined #general

middleton
2016-12-08 02:17
@mmayorivera the Sawtooth Project has a novel form of consensus we call Proof of Elapsed time. Feel free to take a look at the docs and/or the code and hit us up on #sawtooth with questions.

middleton
2016-12-08 02:18

middleton
2016-12-08 02:19
The Fabric project uses a form of PBFT. You can read more about in that projects docs / code and feel free to post in #fabric with questions on that.

middleton
2016-12-08 02:19

middleton
2016-12-08 02:20
The Iroha project, has a form of PBFT designed for speed.

kcrucillo
2016-12-08 02:20
has joined #general

middleton
2016-12-08 02:21
Regretfully I do not have the link to Iroha docs handy. Perhaps if Takemiya-san is on slack he or someone else can point you in the right direction.

kundan
2016-12-08 02:35
has joined #general

mikecarter
2016-12-08 02:36
has joined #general

jtomtan
2016-12-08 02:36
Hi there, I am trying setup the dev environment. When I type: make membersrvc it says: No rule to make target 'membersrvc'. And make peer works fine. What's wrong with me?

jtomtan
2016-12-08 02:37
My code is pulled from git clone https://github.com/hyperledger/fabric.git

jtomtan
2016-12-08 02:38
And also when I type "peer" in the command line, available commands are: chaincode, logging,node and version. network is missing

jtomtan
2016-12-08 02:39
Anyone could tell me the reason?

vinodsankar
2016-12-08 03:21
has joined #general

huajoak
2016-12-08 03:35
has joined #general

twiggs
2016-12-08 03:44
has joined #general

twiggs
2016-12-08 04:00
hello everyone. i'm Tre

twiggs
2016-12-08 04:02
i found this slack through a cio article

wqingbin
2016-12-08 04:08
I deploy a chaincode app successfully, and invoke some functions without error. Bu when I execute the query , I got error”Error querying chaincode: rpc error: code = 2 desc = "Error:Failed to execute transaction or query(Timeout expired while executing transaction)”. Anyone know about how to fix this?

saleemj
2016-12-08 04:37
has joined #general

arnabkaycee
2016-12-08 04:48
Hi People. I want to get role of current user executing java chaincode. How can I achieve that?

bparasuram
2016-12-08 05:18
has joined #general

chaitanya
2016-12-08 06:08
Hello everyone, I was trying to get the NodeSDK running for my vagrant setup following the documentation here https://github.com/hyperledger/fabric/blob/131b36c9fce40447735fa497e5bdfa8fa3eb3536/docs/nodeSDK/app-developer-env-setup.md However the first `make all` command failed with `SyntaxError: Unexpected token =>` on the arrow operator. The setup has Node version 0.12.7. Any idea what's missing here?

chaitanya
2016-12-08 06:12
@arnabkaycee I'm not very sure of this myself, but have been trying this for some time and can help from that experience. Assuming you're using TCerts as given in the asset_management_with_roles examples, `stub.ReadCertAttribute("role")` should get you the role of the user calling the chaincode as specified in the yaml file.

synblockchainteam
2016-12-08 06:18
@arnabkaycee , Have you mentioned user with role in membersrvc file and enable aca = true. By enabling this it will add attribute in TCERT and you will able to retrieve role of user.

gee
2016-12-08 06:23
has joined #general

mikea
2016-12-08 07:33
has joined #general

arulmurugan
2016-12-08 07:41
Hi All, I am very new to hyperledger and its terminologies.. I know that it is kind of decentralized database.. How do i model the entities in fabric/chaincode? A simple use case.. Create user and store user specific records.. Many thanks in advance.

lcflau
2016-12-08 07:43
has joined #general

brunoschneiderlesaout
2016-12-08 09:17
has joined #general

ankitkamra
2016-12-08 09:24
@chaitanya and @synblockchainteam, its about getting user role in java chaincode

ankitkamra
2016-12-08 09:25
i am also facing the same problem

ankitkamra
2016-12-08 09:25
there is no method like ReadCertAttribute as mentioned by @chaitanya

ankitkamra
2016-12-08 09:25
i have checked for class org.hyperledger.java.shim.ChaincodeStub

ankitkamra
2016-12-08 09:26
can you please help me to resolve this issue ?

kirankumarhm
2016-12-08 09:26
has joined #general

synblockchainteam
2016-12-08 09:43
@arnabkaycee , This API is also available in sample application "authorizable_counter". We have tried this API stub.ReadCertAttribute("position") but no value is returned from this API.

ramvi
2016-12-08 09:43
Is the #general channel for any questions or should technical questions regarding using Fabric be asked elsewhere?

tom.li
2016-12-08 09:48
has joined #general

zenoway
2016-12-08 10:04
has joined #general

bardhan.sanjay
2016-12-08 10:05
I was trying for listening to events from hyperledger peer

bardhan.sanjay
2016-12-08 10:05
after listening to evens it comes out of the listener

trueter
2016-12-08 10:40
has joined #general

tpoikela
2016-12-08 10:43
has joined #general

cburgdorfer
2016-12-08 10:45
Hi All, … I’m currently investigating how to potentially get involved/start contributing to the community with a quite sizeable company. Initially the involvement should be relatively light-weight. One idea I had is they could simply get involved in hosting a distributed ledger. Do you think that would be realistic? And what would be a good way to approach this?

philippspaeti
2016-12-08 10:45
has joined #general

valurthor
2016-12-08 10:49
has joined #general

caiograg
2016-12-08 10:58
has joined #general

bercinho
2016-12-08 10:58
Hi All, anyone knows where too lookup information regarding codechain integration? when I don´t want to push data into the blockchain worls state, but rather have chaincode acess data via external serices? (this especailly becomes complex with real time data, like Pricing) ... I am aware of Oracles by Ethereum (SW, HW) and Cryplets from Microsoft, but what is the de-facto standard for Hyperledger?

puffin
2016-12-08 12:14
has joined #general

weeds
2016-12-08 12:27
@twiggs welcome to Hyperledger

weeds
2016-12-08 12:29
@arulmurugan Have you tried to look at some of the samples that are out there? I suggest going to look here https://github.com/IBM-Blockchain/marbles/blob/master/docs/tutorial_part1.md

weeds
2016-12-08 12:30
@ankitkamra I suggest going to the fabric-crypto channel to ask the set of people who have been working on a lot of the security.

bercinho
2016-12-08 12:31
ok, thanks for feedback! :slightly_smiling_face:

weeds
2016-12-08 12:32
@ramvi #general you can ask questions, but really most of the fabric experts are on the fabric channels and the pieces are componentized- so for example for consensus the experts are using fabric-consensus-dev . For security/crytpo, they are on fabric-crypto, for ledger fabric-ledger-dev, for gossip protocol fabric-gossip-dev... and then there is also fabric-sdk. There is one general channel called fabric-dev as well

weeds
2016-12-08 12:35
@cburgdorfer we would really welcome the help and a lot of companies have really been coming together to contribute to fabric. So, I think it depends on what expertise your company brings and how you want to contribute. If the deeper data level pieces are more your expertise- I would reach out to fabric-ledger-dev and see where you can contribute. There is a lot of code to be written,.. or tests, or documentation,. as well as hosting to consider. Where people typically start is trying to just bring up the fabric and play with it and then start contributing to the code. I would ask on the fabric-ledger-dev channel to see how you could help... again there are other channels, but that is what you were pointing to, so why i suggested that.

weeds
2016-12-08 12:36
@bercinho I suggest taking your question to fabric-dev

cburgdorfer
2016-12-08 12:36
thanks a lot @weeds ! How about becoming active on a more commercial or level rather than actually coding? … what are the options there?

manolescue
2016-12-08 12:37
has joined #general

bercinho
2016-12-08 12:39
Marbles Demo is not dealing with Integration for the Chaincode, it works on Blockchain data

weeds
2016-12-08 12:39
@bercinho I'd take the question over to fabric-dev. The best person to ask is @muralisr

bercinho
2016-12-08 12:43
thanks ! :slightly_smiling_face:

weeds
2016-12-08 12:44
@cburgdorfer When I was at the Hackfest or other events, here is what I have observed and can share. There are people that are hosting the fabric, but certainly the most active commercial opportunities are companies or startups that are developing applications. So one example is Everledger who I think I saw go into production on provenance with wine fraud-- this is the website that they pointed to https://www.winefraud.com/ . There were also a lot of companies at the Hackfest that are working on applications in the financial, health, government sectors that were described to me. Also, there were a couple of companies that are more like servcies companies that had trained individuals on how to develop on top of fabric who were consulting with many other firms.

synblockchainteam
2016-12-08 12:57
Hi, Can anyone tell me the use of "TCertAttributesHeaders = asn1.ObjectIdentifier{1, 2, 3, 4, 5, 6, 9}" in the "http://github.com\hyperledger\fabric\core\crypto\attributes\attributes.go" file. Thanks

zemtsov
2016-12-08 13:02
As far as I understand this header contains a map of attributes names.

zemtsov
2016-12-08 13:02
function `ReadAttributeHeader` parses it and returns the map

zemtsov
2016-12-08 13:03
map[`attr’s name`] `attr’s index`

jgcarv
2016-12-08 13:21
has joined #general

shinji
2016-12-08 13:25
has joined #general

aaron.bretz
2016-12-08 13:28
has joined #general

eugenluft
2016-12-08 13:42
Hi all, i´m trying to get a return value of an invoke call in hfc. Currently the result of invoke is “result: Expected ......”. :disappointed: How can i change that?

cnigischer
2016-12-08 13:58
has joined #general

synblockchainteam
2016-12-08 14:06
@zemtsov Thanks

adrian
2016-12-08 14:07
has joined #general

kenzhang
2016-12-08 14:08
has joined #general

gerard
2016-12-08 14:15
has joined #general

dracosalpha
2016-12-08 14:18
has joined #general

sjehan
2016-12-08 14:41
has joined #general

pschnap
2016-12-08 14:43
I'm trying to communicate with chaincode from a client using GRPC, does anyone have time to help me out?

pschnap
2016-12-08 14:46
I can't seem to compile the .proto files for chaincode with protoc to GRPC output

micritz13
2016-12-08 14:52
has joined #general

donjohnny
2016-12-08 14:55
hello all, where can I find more information on chaincodes? I'm especially interested in tables with complex data structures

weeds
2016-12-08 15:14
@donjohnny I posted in the fabric-ledger-dev channel a playback we recently had that is on youtube- i'd start there and then ask questions on that channel

mdevilliers
2016-12-08 15:16
has joined #general

wdanaf
2016-12-08 15:16
has joined #general

wdanaf
2016-12-08 15:22
Hi, Any Hyperledger meetups in NH?

sbrakev
2016-12-08 15:35
Does anyone know about how Hyperledger will address the Interledger protocol requirements?

ercw
2016-12-08 15:45
Wonderful question @sbrakev. I would like to know that too

varunsingh
2016-12-08 15:46
has joined #general

cppapouyis
2016-12-08 15:53
has joined #general

diede
2016-12-08 16:07
has joined #general

cppapouyis
2016-12-08 16:27
Hello everyone, I am currently a research student at University of Surrey and we are exploring the possibility of using Hyperledger. The framework on which we could possibly work is Java and Android. Could you please give me some guidance on how I should start, point me out to the correct links and libraries as well provide any documentation of the tool to actually start looking at it from a developer point of view? Thanks everyone.

yevot
2016-12-08 16:42
@cppapouyis I'd recommending cloning the v0.6 branch since it matches the current docs and then looking at http://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/devenv/ and https://github.com/IBM-Blockchain/learn-chaincode

rainerka
2016-12-08 16:43
has joined #general

cppapouyis
2016-12-08 16:44
@yevot Thanks a lot for the starting points. Will follow up with any updates and enquires I do have. Thank you very much for your help.

daudahmad
2016-12-08 17:29
has joined #general

leeman
2016-12-08 17:48
has joined #general

tetiana
2016-12-08 17:51
has joined #general

shivprakash
2016-12-08 18:55
has joined #general

falseprophet
2016-12-08 18:57
has joined #general

nicola-k
2016-12-08 19:03
has joined #general


amitavad
2016-12-08 19:34
has joined #general

gee
2016-12-08 19:51
We are bootstrapping a new community called the “SF BlockChain Collective”. Our vision: “a truly distributed web with public and private chain lattices built on honest node network chains” We would love to host and support HyperLedger community in SF through our collective. We are working on scheduling some brown bags in Jan with industry experts. Discussions will be around learning, bootstrapping and evangelism. You can find us @ http://meetu.ps/c/2WTkQ/tmgcT/f

macribas
2016-12-08 19:57
has joined #general

btreves
2016-12-08 20:01
has joined #general

junichi
2016-12-08 20:03
has joined #general

evn8tr
2016-12-08 20:23
has joined #general

oliverledger
2016-12-08 21:10
has joined #general

nandini.parimi
2016-12-08 21:42
I am trying to clone fabric on my local machine, Can i clone the codebase on the github repo or does it have to be gerrit?

nandini.parimi
2016-12-08 22:17
I am trying to install fabric no my local machine, when i run make peer, i get the following exception : (bzip2 data invalid: bad magic value in continuation file

nandini.parimi
2016-12-08 22:17
can someone please help me with it.

les.cox
2016-12-08 22:44
has joined #general

elvir
2016-12-08 23:40
has joined #general

marcomontes
2016-12-08 23:45
has joined #general

tessvis
2016-12-08 23:53
has joined #general

johnreid
2016-12-09 00:18
has joined #general

harnitha
2016-12-09 00:46
has joined #general

yuwei
2016-12-09 01:10
I would like to ask if COP(v1.0) is compatible w/ fabric v0.6 ? I was trying to replace membersrvc with COP. BUT some error occurs...

huawei
2016-12-09 03:03
has joined #general

taishi
2016-12-09 03:16
Please let question. Will you be able to plug pow and pos in the future? Also, if that is possible, I think that using membership service is not absolutely necessary. Or is it necessary for membership service? Also in the future.

sarkoi
2016-12-09 03:49
has joined #general

bharath
2016-12-09 03:51
has joined #general

akashdeep_thakur
2016-12-09 05:04
has joined #general

nvlasov
2016-12-09 05:15
Digital Assetets just published a non-technical white paper, describing proposed architecture for distributed ledger solution in regulated industries: https://digitalasset.com/press/digital-asset-releases-non-technical-white-paper.html

smfaizalkhan
2016-12-09 05:20
has joined #general

rishabhgarg
2016-12-09 06:21
has joined #general

billnguyen01
2016-12-09 06:29
has joined #general

ashwini
2016-12-09 07:16
has joined #general

ashwini
2016-12-09 07:43
anyone having solution to this PATH issue when executing chaincode_example02...following documentation

yevot
2016-12-09 07:44
are you on v0.6 branch?

baarif
2016-12-09 07:51
has joined #general

ashwini
2016-12-09 07:51
yup

kudikis69
2016-12-09 07:51
has joined #general

ashwini
2016-12-09 07:52
I can overcome this PATH issues by specifying -p . by executing deploy command from relevant path

ashwini
2016-12-09 07:52
but fails at peer as says transport failure

lucas
2016-12-09 08:04
has joined #general

yevot
2016-12-09 08:10
if you're on the v0.6 branch and using dev mode, you shouldn't need a path, but otherwise i don't know

ctgermany
2016-12-09 08:11
has joined #general

ashwini
2016-12-09 08:15
document ref. is saying using v0.6 how to ensure?

ashwini
2016-12-09 08:16
yes I am on dev mode while starting peer node

ashwini
2016-12-09 08:17
In java case as well...it asks for path overcame by providing current path...but fails at another level...Error endorsing chaincode: rpc error: code = 2 desc = Failed to init chaincode(handler not found for chaincode mycc)

jeangui
2016-12-09 08:19
has joined #general

yevot
2016-12-09 08:22
when you clone from git, you need to ensure you pull from the v0.6 branch

yevot
2016-12-09 08:24
i pulled from master (v1.0 in progress) and spent way too long trying to figure out why things were not working until someone helped me realize that i needed to clone the v0.6 branch to have a stable build for the documentation

wernerdecoster
2016-12-09 08:33
has joined #general

ashwini
2016-12-09 08:44
thanks let me check and try

hypersan
2016-12-09 08:50
has joined #general

zhangqing
2016-12-09 08:52
has joined #general

wiolek
2016-12-09 09:22
has joined #general

joee
2016-12-09 09:38
has joined #general

praphan
2016-12-09 09:40
has joined #general

ascherr
2016-12-09 10:12
has joined #general

thojest
2016-12-09 10:52
hello all together i have a question

thojest
2016-12-09 10:52
there are two images i need to pull from docker

thojest
2016-12-09 10:53
concerning fabric

thojest
2016-12-09 10:53
what is membersrvc ?

thojest
2016-12-09 10:55
so what i mean is, the first image i understand, is for the peers, but what is the second for? hyperledger/fabric-peer:latest hyperledger/fabric-membersrvc:latest

pacon
2016-12-09 11:07
has joined #general

ankitkamra
2016-12-09 11:19
@thojest membersrvc image is used for membership services aka CA Server. It is used for user authentication, enrollment certificate, transaction certificate etc. you may go through following documentation:- https://hyperledger-fabric.readthedocs.io/en/latest/protocol-spec/#211-membership-services

thojest
2016-12-09 11:21
@ankitkamra thanks a lot

ankitkamra
2016-12-09 11:21
welcome :slightly_smiling_face:

thammathat
2016-12-09 11:26
has joined #general

thilor
2016-12-09 11:43
has joined #general

bazmcl
2016-12-09 11:48
has joined #general

weiso
2016-12-09 11:54
has joined #general

ashwini
2016-12-09 12:02
there seems to be different between https://gerrit.hyperledger.org/r/#/admin/projects/fabric and https://github.com/hyperledger/fabric/tree/v0.6 document talks more of gerrit any idea??

pablocoberly
2016-12-09 12:33
has joined #general

subhash
2016-12-09 12:41
has joined #general

dkurek
2016-12-09 13:07
has joined #general

gregm1234
2016-12-09 13:09
has joined #general

frankeisenhardt2
2016-12-09 13:10
has joined #general

keithsmith
2016-12-09 13:31
@thojest Regarding the membersrvc question, see also https://github.com/hyperledger/fabric-cop since this is replacing membersrvc in v1

ashwini
2016-12-09 13:44
@yevot I cloned the v0.6 version from git hub but the 'vargent up' is not going through

yevot
2016-12-09 15:07
@ashwini look at the error message. you probably need to `vagrant destroy` the old VM and delete it out of virtualbox too before you can rebuild the new one. i had that error a few times too and clearing it out solved it

aaron
2016-12-09 15:15
has joined #general

djlawler
2016-12-09 15:50
has joined #general

romaintenor
2016-12-09 16:08
has joined #general

0x26y
2016-12-09 16:33
has joined #general

praveencls
2016-12-09 16:59
has joined #general

healthcaretoo
2016-12-09 17:06
has joined #general

iandebeer
2016-12-09 17:24
has joined #general

kevin
2016-12-09 17:40
has joined #general

richiej
2016-12-09 18:23
has joined #general

theoakvilleguy
2016-12-09 18:33
has joined #general

nandini.parimi
2016-12-09 18:49
There seems to be inconsistency in the documentation here : https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#running-the-chaincode , There is no membersvc folder in the master branch : https://github.com/hyperledger/fabric

nandini.parimi
2016-12-09 18:49
can someone validate this?

nandini.parimi
2016-12-09 18:50
I am not able to run : peer network login <username>, I get this exception Error: unknown command "network" for "peer"

emir-sk
2016-12-09 18:54
Hi all, I am using a Windows machine and am having issues making the docker images for fabric in Vagrant. The "make docker" command fails because of busybox. mkdir -p build/busybox-1.25.1 curl -L https://www.busybox.net/downloads/busybox-1.25.1.tar.bz2 | (cd build/busybox-1.25.1; tar --strip-components=1 -jx) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 97 2053k 97 2000k 0 0 229k 0 0:00:08 0:00:08 --:--:-- 326k curl: (56) GnuTLS recv error (-54): Error in the pull function. bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Inappropriate ioctl for device Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now Makefile:15: recipe for target 'build/busybox-1.25.1/.source' failed I was able to edit the busybox Makefile to fix the above error by downloading the tar.bz2 with wget and then running the tar command separately (without using the pipe command). However, the busybox-1.25.1.tar.bz2 itself contains a Makefile, and when that runs, we get the following error: mv: cannot move 'include/usage_compressed.h.23322' to 'include/usage_compressed.h': Text file busy applets/Kbuild:39: recipe for target 'include/usage_compressed.h' failed make[2]: *** [include/usage_compressed.h] Error 1 make[2]: *** Waiting for unfinished jobs.... Makefile:372: recipe for target 'applets_dir' failed make[1]: *** [applets_dir] Error 2 make[1]: *** Waiting for unfinished jobs.... GEN include/bbconfigopts.h GEN include/common_bufsiz.h make[1]: Leaving directory '/opt/gopath/src/github.com/hyperledger/fabric/busybox/build/busybox-1.25.1' Makefile:25: recipe for target 'build/busybox-1.25.1/busybox' failed make: *** [build/busybox-1.25.1/busybox] Error 2 As an interim fix I have reverted the changes from https://github.com/hyperledger/fabric/commit/b61723f9ddcc91cafd4f3a8c3634bd8d32388b32 (essentially removing busybox) but I need a more permanent solution going forward

nandini.parimi
2016-12-09 18:55
@emir-sk did you clone from github?

rahulhegde
2016-12-09 18:57
has joined #general

silliman
2016-12-09 19:08
@nandini.parimi The documentation you are looking at is written for the v0.6 version of the code. The master branch is v1.0 code which is a work-in-progress. If you check out the v0.6 branch you should be able to make it through the instructions in the documentation you referenced. E.g. membersrvc has been removed in v1.0, replaced with a component called COP, and moved to a separate repo, fabric-cop. And I'd reckon as well that the *peer network* command has been removed from v1.0. Alternatively, if you wanted to try something out against the master (v1.0) code, check out this document. https://hyperledgerproject.slack.com/files/muralisr/F2VH7C78S/simple_test_with_skeletal_peer.md but be aware that as v1.0 is being constantly updated, so if you have trouble with this simple 1.0 test you may wish to check with the author to see if he has an updated version of the document. Hope this helps.


emir-sk
2016-12-09 19:16
@nandini.parimi Yes, I cloned from github

chr3is
2016-12-09 19:23
Hi folks - please join us next Thursday, 15 December, in NYC for an intro to Corda's architecture with @jamescarlyle, myself, and @clemens.wan ! There will be refreshments. Currently taking suggestions ... otherwise it'll be pizza and beer. https://www.meetup.com/New-York-Corda-Meetup/events/236124258/

muralisr
2016-12-09 19:33
@silliman @nandini.parimi the last link here https://wiki.hyperledger.org/community/fabric-design-docs should be closer to current and will be updated on change… plus you have many 1.0 docs there in one place

silliman
2016-12-09 19:35
@muralisr cool thx Murali I was aware of the design docs link but didn't realize it had your testing instructions on it!

loopbak
2016-12-09 19:38
has joined #general

stylix
2016-12-10 03:29
Hi, I want to ask about the actual propose of using SystemChaincode. We found that, adding our chaincode together with the systemchaincode improve the overall performance. So, the questions.. 1. Should we use systemchaincode instead of usual way to deploy a chaincode? 2. Is there any negative impact that we might need to be aware of?

ceciuriona
2016-12-10 05:12
has joined #general

maxmadrid
2016-12-10 05:18
has joined #general

gokulamurthy
2016-12-10 05:27
Query method throws this error while trying to execute chaincode example 02, please help me on this error: [SDK] error on query: {"error":{"status":"FAILURE","msg":{"type":"Buffer","data":[69,114,114,111,114,58,70,97,105,108,101,100,32,116,111,32,108,97,117,110,99,104,32,99,104,97,105,110,99,111,100,101,32,115,112,101,99,40,67,111,117,108,100,32,110,111,116,32,103,101,116,32,100,101,112,108,111,121,109,101,110,116,32,116,114,97,110,115,97,99,116,105,111,110,32,102,111,114,32,101,51,100,57,98,49,48,53,54,102,99,51,49,51,53,56,52,48,53,56,48,56,57,97,49,97,98,100,102,53,51,49,48,48,101,98,98,48,48,53,97,49,100,102,55,50,57,48,55,101,98,100,56,102,100,98,57,53,101,100,102,101,50,48,32,45,32,76,101,100,103,101,114,69,114,114,111,114,32,45,32,82,101,115,111,117,114,99,101,78,111,116,70,111,117,110,100,58,32,108,101,100,103,101,114,58,32,114,101,115,111,117,114,99,101,32,110,111,116,32,102,111,117,110,100,41]}},"msg":"Error:Failed to launch chaincode spec(Could not get deployment transaction for e3d9b1056fc313584058089a1abdf53100ebb005a1df72907ebd8fdb95edfe20 - LedgerError - ResourceNotFound: ledger: resource not found)"}

gokulamurthy
2016-12-10 05:28
any help would be appreciated

pplopgo
2016-12-10 08:13
has joined #general

fabianpie
2016-12-10 08:30
Hi, any chance to have a C++ or C SDK in the near future ?

luoben
2016-12-10 10:50
has joined #general

byteborg
2016-12-10 12:14
has joined #general

vijaythatte
2016-12-10 12:51
has joined #general

stylix
2016-12-10 13:11
@gokulamurthy the problem can be 1. You did not deploy any chaincode before querying or invoking. 2. You use an incorrect chainhash. So, you need to pass the recent chainhash when you do query or invoke. Once you deploy the chaincode, you will get an associated chainhash. And if you modify the chaincode, you will always get a new chainhash.

aybek
2016-12-10 15:00
Hi, can anyone explain what is the difference of using docker images inside vagrant and outside of vagrant ? And how to deploy chaincode to the network that is running in docker containers outside of vagrant ?

aybek
2016-12-10 15:01
deployment : { "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID": { "path": "https://github.com/aybek/test_chaincode" }, "ctorMsg": { "function": "init" }, "metadata":[97, 115, 115, 105, 103, 110, 101, 114], "secureContext": "admin" }, "id": 0 }

aybek
2016-12-10 15:01
output: "Error when deploying chaincode: Error getting chaincode package bytes: Error getting code Getting chaincode took too long"

remy
2016-12-10 16:46
has joined #general

frank
2016-12-10 17:21
has joined #general

ruslan
2016-12-10 20:22
has joined #general

jlbrock9
2016-12-11 01:47
has joined #general

rub3nc
2016-12-11 02:36
has joined #general

jmahhh
2016-12-11 03:46
@stylix using the SDK for Node found here https://github.com/hyperledger/fabric/blob/master/examples/sdk/node/app.js, we get successful messages for both deploy and invoke but the same error message as mentioned by @gokulamurthy

jmahhh
2016-12-11 03:46
this leads me to believe that the deploy itself, in fact, is not successful - I've stopped trusting the server logs...

jmahhh
2016-12-11 03:47
what other way is there to make sure the chaincode really was deployed?

jmahhh
2016-12-11 03:47
(we've already tried setting a Query timeout and using new networks)

svaikund
2016-12-11 03:52
has joined #general

stylix
2016-12-11 04:13
@jmahhh Do you have chaincode accessible within the running peer node? you might need to check more error log at deploy time on the peer node together.

jmahhh
2016-12-11 04:21
@stylix output for deploy: ``` vp0_1 | 04:17:14.130 [rest] ProcessChaincode -> INFO 029 REST processing chaincode request... vp0_1 | 04:17:14.132 [rest] processChaincodeDeploy -> INFO 02a REST deploying chaincode... vp0_1 | 04:17:14.149 [container] WriteGopathSrc -> INFO 02b rootDirectory = /opt/gopath/src vp0_1 | 04:17:14.149 [container] WriteFolderToTarPackage -> INFO 02c rootDirectory = /opt/gopath/src vp0_1 | 04:17:15.487 [rest] processChaincodeDeploy -> INFO 02d Successfully deployed chainCode: 04233c6dd8364b9f0749882eb6d1b50992b942aa0a664182946f411ab46802a88574932ccd75f8c75e780036e363d52dd56ccadc2bfde95709fc39148d76f050 vp0_1 | 04:17:15.488 [rest] ProcessChaincode -> INFO 02e REST successfully deploy chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"04233c6dd8364b9f0749882eb6d1b50992b942aa0a664182946f411ab46802a88574932ccd75f8c75e780036e363d52dd56ccadc2bfde95709fc39148d76f050"},"id":1} vp0_1 | 04:17:16.544 [consensus/pbft] ProcessEvent -> INFO 02f Replica 0 batch timer expired vp0_1 | 04:17:16.544 [consensus/pbft] sendBatch -> INFO 030 Creating batch with 1 requests vp0_1 | 04:17:17.510 [consensus/pbft] ProcessEvent -> INFO 031 Replica 0 view change timer expired, sending view change: new request batch 1BLHtZU0wl+7FEVaIRwDK6dzwq3+k0M3qspknVOCz+Wv2hm7iLZZrSvW050+wuQaJGxw0a/NSPUeIPzwby8pRw== vp0_1 | 04:17:17.510 [consensus/pbft] sendViewChange -> INFO 032 Replica 0 sending view-change, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:17.510 [consensus/pbft] recvViewChange -> INFO 033 Replica 0 received view-change from replica 0, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:19.511 [consensus/pbft] sendViewChange -> INFO 034 Replica 0 sending view-change, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:19.512 [consensus/pbft] recvViewChange -> INFO 035 Replica 0 received view-change from replica 0, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:19.512 [consensus/pbft] recvViewChange -> WARN 036 Replica 0 already has a view change message for view 1 from replica 0 vp0_1 | 04:17:21.512 [consensus/pbft] sendViewChange -> INFO 037 Replica 0 sending view-change, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:21.512 [consensus/pbft] recvViewChange -> INFO 038 Replica 0 received view-change from replica 0, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:21.512 [consensus/pbft] recvViewChange -> WARN 039 Replica 0 already has a view change message for view 1 from replica 0 vp0_1 | 04:17:23.513 [consensus/pbft] sendViewChange -> INFO 03a Replica 0 sending view-change, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:23.513 [consensus/pbft] recvViewChange -> INFO 03b Replica 0 received view-change from replica 0, v:1, h:0, |C|:1, |P|:0, |Q|:1 vp0_1 | 04:17:23.513 [consensus/pbft] recvViewChange -> WARN 03c Replica 0 already has a view change message for view 1 from replica 0 ```

jmahhh
2016-12-11 04:22
looks ok

stylix
2016-12-11 04:27
do you know if your process.env.CORE_CHAINCODE_ID_NAME is the same as "04233c6dd8364b9f0749882eb6d1b50992b942aa0a664182946f411ab46802a88574932ccd75f8c75e780036e363d52dd56ccadc2bfde95709fc39148d76f050"

stylix
2016-12-11 04:28
the very long string is actually your chainhash, so you need that set to your CORE_CHAINCODE_ID_NAME

jmahhh
2016-12-11 04:29
I'm actually using the REST API at the moment and just copying the chainhash into `name` for the invoke and query functions

stylix
2016-12-11 04:29
I don't know how you set it, in deed I never run SDK.

jmahhh
2016-12-11 04:30
right

stylix
2016-12-11 04:30
usually, you can pass that chainhash value with REST

jmahhh
2016-12-11 04:30
invoke ``` vp0_1 | 04:23:05.654 [rest] ProcessChaincode -> INFO 241 REST processing chaincode request... vp0_1 | 04:23:05.654 [rest] processChaincodeInvokeOrQuery -> INFO 242 REST invoke chaincode... vp0_1 | 04:23:05.654 [devops] invokeOrQuery -> INFO 243 Transaction ID: 8a99469b-9faa-4c43-869c-a8bff667a16f vp0_1 | 04:23:05.654 [rest] processChaincodeInvokeOrQuery -> INFO 244 Successfully submitted invoke transaction with txid (8a99469b-9faa-4c43-869c-a8bff667a16f) vp0_1 | 04:23:05.654 [rest] ProcessChaincode -> INFO 245 REST successfully submitted invoke transaction: {"jsonrpc":"2.0","result":{"status":"OK","message":"8a99469b-9faa-4c43-869c-a8bff667a16f"},"id":3} ```

stylix
2016-12-11 04:31
btw, when you query and invoke, if any error happens, it will also show at the error log

jmahhh
2016-12-11 04:31
query ``` vp0_1 | 04:23:24.161 [rest] ProcessChaincode -> INFO 264 REST processing chaincode request... vp0_1 | 04:23:24.161 [rest] processChaincodeInvokeOrQuery -> INFO 265 REST query chaincode... vp0_1 | 04:23:24.161 [devops] invokeOrQuery -> INFO 266 Transaction ID: a02e1441-a235-4f39-8aca-cd99996b41ea vp0_1 | 04:23:24.162 [rest] processChaincodeInvokeOrQuery -> ERRO 267 Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for 2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb - LedgerError - ResourceNotFound: ledger: resource not found) vp0_1 | 04:23:24.162 [rest] ProcessChaincode -> INFO 268 REST successfully query chaincode: {"jsonrpc":"2.0","error":{"code":-32003,"message":"Query failure","data":"Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for 2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb - LedgerError - ResourceNotFound: ledger: resource not found)"},"id":5} ```

jmahhh
2016-12-11 04:31
ignore the different chainhash it's from another test

stylix
2016-12-11 04:33
you need to make sure that your deploy chaincode and your passing chainhash is exactly the same

jmahhh
2016-12-11 04:33
I'm 100% sure

stylix
2016-12-11 04:33
e.g. you deploy and get 2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb, then you invoke with the same string

stylix
2016-12-11 04:34
alright, then it's a bit....

jmahhh
2016-12-11 04:34
deploy for 2d8 ``` vp0_1 | 04:22:16.494 [rest] ProcessChaincode -> INFO 1f3 REST processing chaincode request... vp0_1 | 04:22:16.495 [rest] processChaincodeDeploy -> INFO 1f4 REST deploying chaincode... vp0_1 | 04:22:16.497 [container] WriteGopathSrc -> INFO 1f5 rootDirectory = /opt/gopath/src vp0_1 | 04:22:16.497 [container] WriteFolderToTarPackage -> INFO 1f6 rootDirectory = /opt/gopath/src vp0_1 | 04:22:17.650 [rest] processChaincodeDeploy -> INFO 1f7 Successfully deployed chainCode: 2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb vp0_1 | 04:22:17.650 [rest] ProcessChaincode -> INFO 1f8 REST successfully deploy chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb"},"id":1} ```

stylix
2016-12-11 04:35
one thing I have an experience is,, just only the ending string can caused the problem

stylix
2016-12-11 04:35
\r and \r\n, linux ending and win ending

stylix
2016-12-11 04:35
kindof

jmahhh
2016-12-11 04:39
``` [joel@localhost electronApp]$ curl -H "Content-Type: application/json" -X POST -d '{ "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID":{ "path":"http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02" }, "ctorMsg": { "args":["init", "a", "2000", "b", "3000"] } }, "id": 1 }' http://localhost:7050/chaincode {"jsonrpc":"2.0","result":{"status":"OK","message":"2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb"},"id":1} [joel@localhost electronApp]$ curl -H "Content-Type: application/json" -X POST -d '{ > "jsonrpc": "2.0", > "method": "invoke", > "params": { > "type": 1, > "chaincodeID":{ > "name":"2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb" > }, > "ctorMsg": { > "args":["invoke", "a", "b", "100"] > } > }, > "id": 3 > }' http://localhost:7050/chaincode {"jsonrpc":"2.0","result":{"status":"OK","message":"8a99469b-9faa-4c43-869c-a8bff667a16f"},"id":3} [joel@localhost electronApp]$ curl -H "Content-Type: application/json" -X POST -d '{ > "jsonrpc": "2.0", > "method": "query", > "params": { > "type": 1, > "chaincodeID":{ > "name":"2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb" > }, > "ctorMsg": { > "args":["query", "a"] > } > }, > "id": 5 > }' http://localhost:7050/chaincode {"jsonrpc":"2.0","error":{"code":-32003,"message":"Query failure","data":"Error when querying chaincode: Error:Failed to launch chaincode spec(Could not get deployment transaction for 2d8f48b88f308db12cb3a15da5862f44803ca1a3dc5aa9b1c46a4d9f19c14667461eac3e256a6786a7f2cfecc97aa799aefd055045ea14179a3885b3fbc0bbeb - LedgerError - ResourceNotFound: ledger: resource not found)"},"id":5}[joel@localhost electronApp]$ ```

jmahhh
2016-12-11 04:40
:confused:

stylix
2016-12-11 04:41
but you can invoke right?

jmahhh
2016-12-11 04:41
yup

stylix
2016-12-11 04:41
strange

stylix
2016-12-11 04:42
can you check the chainheight, it might not equal

stylix
2016-12-11 04:43
you might need to wait until all the nodes reach the consensus before querying/invoking

stylix
2016-12-11 04:44
also, you need to check if all the nodes have it's own chaincode attached

jmahhh
2016-12-11 04:45
hmm how do I do that?

stylix
2016-12-11 04:45
some node might have some problem that chaincode do not successfully deployed

stylix
2016-12-11 04:46
docker ps, and see if you have 4 peer running, and 4 dev-xxx running

stylix
2016-12-11 04:47
btw, you run 4 nodes right?

stylix
2016-12-11 04:48
maybe i'm wrong, I don't know how you run up the network

stylix
2016-12-11 04:49
usually, I have vp0_1 ... vp3_1

stylix
2016-12-11 04:49
you may check the other node as well

stylix
2016-12-11 04:50
I'm not sure how possible, if you run only vp0_1 anyway

jmahhh
2016-12-11 05:01
@stylix ``` [joel@localhost electronApp]$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e2c61fe1ddd5 hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 19 seconds ago Up 11 seconds docker_vp1_1 041308a7ae2b hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 19 seconds ago Up 11 seconds docker_vp3_1 ed2322799acf hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 19 seconds ago Up 12 seconds docker_vp2_1 881c38ef6628 hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 19 seconds ago Up 15 seconds 0.0.0.0:7050-7051->7050-7051/tcp docker_vp0_1 dbced9b4dcdc hyperledger/fabric-membersrvc:x86_64-0.6.1-preview "membersrvc" 20 seconds ago Up 18 seconds 0.0.0.0:7054->7054/tcp docker_membersrvc_1 ```

jmahhh
2016-12-11 05:01
I see no dev-xxx...

stylix
2016-12-11 05:02
how about docker ps -a

stylix
2016-12-11 05:02
if you see dev-xxx exited, mean you can successfully deployed

jmahhh
2016-12-11 05:03
``` [joel@localhost electronApp]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e2c61fe1ddd5 hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 2 minutes ago Up 2 minutes docker_vp1_1 041308a7ae2b hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 2 minutes ago Up 2 minutes docker_vp3_1 ed2322799acf hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 2 minutes ago Up 2 minutes docker_vp2_1 881c38ef6628 hyperledger/fabric-peer:x86_64-0.6.1-preview "sh -c 'sleep 5; peer" 2 minutes ago Up 2 minutes 0.0.0.0:7050-7051->7050-7051/tcp docker_vp0_1 dbced9b4dcdc hyperledger/fabric-membersrvc:x86_64-0.6.1-preview "membersrvc" 2 minutes ago Up 2 minutes 0.0.0.0:7054->7054/tcp docker_membersrvc_1 ```

stylix
2016-12-11 05:03
with it crash with some reason

jmahhh
2016-12-11 05:03
wait a moment I'll do another deploy

stylix
2016-12-11 05:03
ummm

stylix
2016-12-11 05:04
i'm not so sure how 0.6.1 does

stylix
2016-12-11 05:04
i'm using 0.6, and once deployed, I always have chaincode attached, with the named dev-xxxx of each of node

jmahhh
2016-12-11 05:05
hmmmmm

maarten
2016-12-11 05:06
has joined #general

stylix
2016-12-11 05:07
if 0.6.1 and 0.6 does the same thing, so it means you still have the deploy problem.

jmahhh
2016-12-11 05:07
I guess they would... let me check with a colleague. Thanks for this

jmahhh
2016-12-11 05:07
:thumbsup:

stylix
2016-12-11 05:08
yw

maarten
2016-12-11 05:32
@jmahhh I will take a look at it!

justn
2016-12-11 06:11
has joined #general

ugizashinje
2016-12-11 07:34
has joined #general

vilinykh
2016-12-11 08:25
has joined #general

mucalov
2016-12-11 09:33
has joined #general

dianajstern
2016-12-11 11:25
has joined #general

garisingh
2016-12-11 11:29
@fabianpie - are you looking for a client SDK, chaincode SDK or both?

donjohnny
2016-12-11 11:49
@donjohnny uploaded a file: https://hyperledgerproject.slack.com/files/donjohnny/F3CJXCEP3/invoke_always_returns_ok.go and commented: Hello all, can Invoke return a message to the client? I'm returning errors but the rest reply is always OK, what am I missing?

garisingh
2016-12-11 12:26
@donjohnny - You will not be able to return chaincode errors directly back to the client. Invocation is asynchronous - the only errors you'll get back would be things like malformed payload, security issues, etc. But if the invoke is "accepted" by the peer, it will respond with an OK and then submit the transaction to the rest of the network (hence why is asynchronous). You have the option to use the "event hub" feature to listen for blocks / transactions and at that point you will be able to see any errors. You can check out the examples in the NodeSDK ("hfc") in order to see this in action

poly.
2016-12-11 13:45
has joined #general

shannon_hackblock
2016-12-11 14:15
has joined #general

djb
2016-12-11 14:25
has joined #general

darije.ramljak
2016-12-11 14:31
has joined #general

amladinic
2016-12-11 14:48
has joined #general

amladinic
2016-12-11 14:49
Ladies and Gentlemen, good day.

shannon_hackblock
2016-12-11 14:58
Hi! I'm Shannon Foster from the developing blockchain educational project, http://HackBlockchain.com. We've been hosting blockchain educational meetups throughout the entire Mid-Atlantic. Working to build an army of Blockchain masters. I read that this group was launching a blockchain ecosystem program. I'd like to help out. http://HackBlockchain.com has hosted events in 4 different states since launching in November. We have more events being scheduled for Puerto Rico, Johannesburg, Philadelphia, and more. Let me know how I could be of service.

jaapgorjup
2016-12-11 15:03
has joined #general

fabianpie
2016-12-11 16:44
Client SDK. Enroll, Invoke and query. I don't need deploy. I want to develop mobile applications so having C or C++ libraries I could integrate the code in an android and ios library.

vilch
2016-12-11 18:26
has joined #general

satyam_agl
2016-12-11 18:41
I need to present some POC built on hyperledger fabric so anybody guide me some usecases to built on it

donjohnny
2016-12-11 19:55
Take a look at the chaincode examples if you need some inspiration :slightly_smiling_face:

shelkford
2016-12-11 19:56
has joined #general

svergara
2016-12-11 20:01
has joined #general

mihirchronicles
2016-12-12 00:49
has joined #general

little51
2016-12-12 01:31
has joined #general

weeds
2016-12-12 01:58
@shannon_hackblock I think you should reach out to @cobarrera I think he would definitely be interested in http://HackBlockchain.com

weeds
2016-12-12 01:59
@jmahhh if you are still having problems getting the block height to be equivalent across VP0 through VP3, I suggest reaching out to Kostas or Jason on the fabric-consensus-dev channel

weeds
2016-12-12 02:01
@satyam_agi I would go take a look at Marbles at this exmaple: https://github.com/IBM-Blockchain/marbles

weeds
2016-12-12 02:01
@satyam_agl see above

weeds
2016-12-12 02:03
@satyam_agl There is also Commercial Paper demo at https://github.com/IBM-Blockchain/cp-web... and car lease demo at the following: https://github.com/IBM-Blockchain/car-lease-demo

weeds
2016-12-12 02:08
please note these all apply to 0.6 + version of the fabric

weeds
2016-12-12 02:09
Also It People Corp showed this at the Hackathon last week- although they did say this was an older version. You might be able to reach out to Mohan to see if he has updated code he will post: https://github.com/ITPeople-Blockchain/auction

njuyuanrui
2016-12-12 02:20
has joined #general

ncheronet
2016-12-12 03:28
has joined #general

kevin.leffew
2016-12-12 03:34
has joined #general

blockprovenance
2016-12-12 03:55
has joined #general

zhilele0718
2016-12-12 04:00
has joined #general

josephpagano
2016-12-12 04:01
has joined #general

nvlasov
2016-12-12 04:09
Hi Shannon. Any plans for Singapore?

perrytheguy
2016-12-12 04:29
has joined #general

bathri19
2016-12-12 04:49
has joined #general

shannon_hackblock
2016-12-12 06:01
@nvlasov We can make plans! Byte Academy has been one of our partners and recently launched a location in Singapore. I can keep you updated! :smiley: https://hyperledgerproject.slack.com/archives/general/p1481515757001157

mitsutaka.takeda
2016-12-12 06:45
has joined #general

thierry.gibralta
2016-12-12 06:53
has joined #general

maanas
2016-12-12 06:56
has joined #general

bfuentes
2016-12-12 09:43
Is why the REJECTION event is done, right ?

yuryandreev
2016-12-12 09:47
has joined #general

rnicoll
2016-12-12 10:29
has joined #general

aivachine
2016-12-12 10:35
Hi, i'm using fabric 0.6 and I have problems with the GetRows function, it always return - 'Query Result: null'. The most simple test that I did consist to post and get two same arguments for two columns table where both columns are keys. Does somebody used this function? Thanks in advance.

astepanov
2016-12-12 12:45
Hello. Is anyone used `stub.ReadCertAttribute("role")` method successfully? I'm trying to fetch a different attrs, but it always return nothing. It's v0.6 brunch with `MEMBERSRVC_CA_ACA_ENABLED=true` enabled

andreas
2016-12-12 12:48
has joined #general

david_teruzzi
2016-12-12 14:15
has joined #general

ronhowell
2016-12-12 14:47
has joined #general

ewold
2016-12-12 14:55
has joined #general

sameerp
2016-12-12 14:59
has joined #general

rlofblad
2016-12-12 15:27
has joined #general

nickygencs17
2016-12-12 15:41
has joined #general

joc
2016-12-12 15:48
has joined #general

bramcappaert
2016-12-12 16:00
has joined #general

dimokratis
2016-12-12 16:02
has joined #general

thojest
2016-12-12 17:03
hello everyone short question. i try to clone fabric with ssh gerrit and i created a linux foundation account and also created this ssh key and uploaded it to my gerrit profile

thojest
2016-12-12 17:03
but im unable to git clone the project as it says connection refused

jonathanlevi
2016-12-12 17:06
@thojest Hi Thomas, I suggest to post that in #fabric-dev-env, I have sent you an invite. Welcome to fabric.

thojest
2016-12-12 17:07
@jonathanlevi thank you very much

tangram60
2016-12-12 17:16
has joined #general

kjensen
2016-12-12 17:46
has joined #general

franskempen
2016-12-12 17:50
has joined #general

peterfd
2016-12-12 18:19
has joined #general

adrianmaurer
2016-12-12 20:15
has joined #general

jbest
2016-12-12 20:20
has joined #general

andressuay
2016-12-12 20:23
has joined #general

colyerfs
2016-12-12 20:29
has joined #general

colyerfs
2016-12-12 20:30
Hi guys I'm working on a new fabric project, and I'm doing my first cloud application - I'm looking for some advice on what consensus options I have with these considerations: 1. Need one network node on an AWS server 2. Several developer machines connecting intermittently on the network

colyerfs
2016-12-12 20:35
can I use noops in this case?

claytonsims
2016-12-12 20:49
I just learned we've had an IoT test device running non-stop through the IoT Platform to a Hyperledger Blockchain Fabric v0.6 on Bluemix since 26 November at progressively increasing traffic levels. It started at 2400 txns/hour and increasing twice since then to today's pace of approximately 6500 txns per hour. The blockchain has increased to 148,000 blocks with half of that in the last week.  The IoT senior developer will continue to enhance and improve. Next stop v1!

katy.graham
2016-12-12 21:17
has joined #general

jfruizp
2016-12-12 21:51
has joined #general

david_rintoul
2016-12-12 23:11
has joined #general

covadonga
2016-12-12 23:27
has joined #general

vu3mmg
2016-12-13 00:39
I am getting following error when trying to bring up member services

vu3mmg
2016-12-13 00:39
[~/go/src/github.com/hyperledger/fabric]make membersrvc && membersrvc Building docker base-image BUILD-CACHE: exists! stdin: is not a tty Sending build context to Docker daemon 11.78 kB Error response from daemon: ENV must have two arguments make: *** [build/image/base/.dummy] Error 1

vu3mmg
2016-12-13 00:39
any pointers

vu3mmg
2016-12-13 00:39
?

jamesh
2016-12-13 00:44
has joined #general

ibmamnt
2016-12-13 00:46
@astepanov Have you included "attrs: ['role']" in function in Invoke() ? Also I'd suggest to raise question in "fabric" or "fabric-sdk", since this channel is too general.

rbostic
2016-12-13 01:03
has joined #general

atifghulamnabi
2016-12-13 02:14
has joined #general

daisuke
2016-12-13 02:25
has joined #general

gerardo
2016-12-13 02:35
has joined #general

zhoupeiyuan
2016-12-13 03:39
has joined #general

sengloong
2016-12-13 03:49
has joined #general

federicobond
2016-12-13 04:18
has joined #general

daniellee
2016-12-13 04:44
[Quick Question] Can I get caller's secureContext in Chaincode? (Hyperledger 0.6) I checked the implementation of GetCallerCertificate and GetCallerMetadata, they always return nil? // GetCallerCertificate returns caller certificate func (stub *ChaincodeStub) GetCallerCertificate() ([]byte, error) { return nil, nil } // GetCallerMetadata returns caller metadata func (stub *ChaincodeStub) GetCallerMetadata() ([]byte, error) { return nil, nil }

humblealex
2016-12-13 05:03
@daniellee Maybe you are using the old version of 0.6. Mine says // GetCallerMetadata returns caller metadata func (stub *ChaincodeStub) GetCallerMetadata() ([]byte, error) { return stub.securityContext.Metadata, nil }

arnabkaycee
2016-12-13 05:05
Hi people, I found out the following method to obtain caller metadata from Java chain code. --> `stub.getCallerMetadata()` in *fabric-sdk-java* But the problem is it returns byte array. Can anyone tell me how to decode this byte array to get the caller details? Any help would be greatly appreciated. Thanks.

ankitkamra
2016-12-13 05:22
hi all, i have setup 2 peers on different machines, in hyperledger explorer's network information section it shows same IP of both peers i.e. 172.17.0.2. How can i give different IP's to these peers ?

kinkongjeng
2016-12-13 06:50
has joined #general

sk
2016-12-13 06:58
Run v0.6 with 4 vp (docker), noops consensus. When I invoke the example02 chaincode, one of the peer (random) execute it twice. Anyone have the same experiences?

sk
2016-12-13 07:19
Well, even with 2 VP, if I do invoke multiple times, sometimes one of the peer run the chaincode invoke function twice. The bad things is when I run query, it will run randomly on one of the peer and resulting different value returned.... Is this a known bug or what?

abhinav.garg
2016-12-13 07:29
has joined #general

zainx01
2016-12-13 08:34
hi guys, any guidelines on server specifications on setting up a dedicated network of three peers with one certificate authority to handle about 1 million transactions per month?

wangleitj
2016-12-13 08:39
Every time I changed my chaincode, pushed to git and deployed again, IBM Blockchain return me a new chaincodeId Hash, even I only changed code from "Query". That means I lost all blocks where linked to previous chaincodeId. If it is in Live environment, we can not afford the data lost when we want to upgrade or fix bugs. Is there any solution for this?

zhoupeiyuan
2016-12-13 08:56
can any one tell me when 1.0-alpha will release?

arnabkaycee
2016-12-13 08:59
@zhoupeiyuan - Around Feb 2017 if I am not wrong

arnabkaycee
2016-12-13 09:02
@garisingh - Any ideas about this?

zhoupeiyuan
2016-12-13 09:17
3q

astepanov
2016-12-13 09:50
Thanks, yes that's was what I miss

srirampachhigolla
2016-12-13 10:01
has joined #general

kamo
2016-12-13 10:42
Hello, does anyone have a docker-compose file to setup up additional validating peers? Everything works with vp0 but if im not getting rid of setting up vp1 vp2 vp3 etc

kamo
2016-12-13 10:59
@kamo uploaded a file: https://hyperledgerproject.slack.com/files/kamo/F3DB0AA3S/-.yaml and commented: This is my current code, but i get the error:services with 'links' cannot be extended

kamo
2016-12-13 10:59
I would appreciate if anyone could help

pd93
2016-12-13 11:00

pd93
2016-12-13 11:03
Also, I (personally) would create a peer service to extend from rather than extending from vp0. Similar to yeasy's files where there is a peer.yml file containing a peer template and then a docker-compose.yml that extends the service for each peer

kamo
2016-12-13 11:06
Thank you!

pd93
2016-12-13 11:10
No problem, good luck

kamo
2016-12-13 11:11
Yeah i will need it thx ^^

kamo
2016-12-13 11:17
I got it know thanks alot

kamo
2016-12-13 11:17
now

zhoupeiyuan
2016-12-13 11:44
does any one have the most recent version docker images of peer and membersrvc ? I would appreciate if anyone could help

xixuejia
2016-12-13 12:14
@zhoupeiyuan if you mean v0.6, you can find them here https://hub.docker.com/u/hyperledger/

xixuejia
2016-12-13 12:14
if you mean the 'latest', you can download src code and `make docker`

jonathanlevi
2016-12-13 12:14
#fabric

zhoupeiyuan
2016-12-13 12:21
@xixuejia thank you!but i want the latest version 0.7 that labled not released

xixuejia
2016-12-13 12:22
download src code and make the docker images by yourself

zhoupeiyuan
2016-12-13 12:40
@xixuejia I'm in China,many components needed to build the images can't be downloaded....

sarkoi
2016-12-13 13:17
@zhoupeiyuan Is there any tag with 0.7? I could only see v0.6.x or master which is not tagged 0.7, but perhaps next year rc1.0?

brendanb
2016-12-13 13:19
has joined #general

brendanb
2016-12-13 13:32
I'm trying to setup a dev environment for the first time (using option 1 vagrant), when running `make peer` it fails on `docker build -t hyperledger/fabric-ccenv build/image/ccenv` at `Step 3 : ADD payload/goshim.tar.bz2 $GOPATH/src/` giving the error `Error processing tar file(exit status 1): link /github.com/hyperledger/fabric/core/chaincode/shim/java/build/classes/main/org/hyperledger/java/shim/ChaincodeBase.class /github.com/hyperledger/fabric/core/chaincode/shim/java/build/classes/main/org/hyperledger/java/shim/ChaincodeBase.class: no such file or directory` . Is anyone else experiencing this? It seems that the path is missing the prefix `/opt/gopath/src` as `/github.com/` doesn't exist, however `/opt/gopath/src/github.com/hyperledger/fabric$ cd core/chaincode/shim/java/build/classes/main/org/hyperledger/java/shim/ChaincodeBase.class` does exist.

roiceroice
2016-12-13 13:49
has joined #general

karlkay
2016-12-13 13:59
has joined #general

cbf
2016-12-13 14:01
@brendanb let's take this to #fabric-dev-env

flemon
2016-12-13 14:07
has joined #general

rafael.turk
2016-12-13 14:10
has joined #general

rafael.turk
2016-12-13 14:12
Really sad..

sally
2016-12-13 14:15
has joined #general

rafael.turk
2016-12-13 14:33
Hi All.. Has Anyone tested Hyperledger performance? Ie. How many transactions per second can handle?

phoolet
2016-12-13 14:44
has joined #general

phoolet
2016-12-13 14:46
Hi

tokarev
2016-12-13 14:46
has joined #general

phoolet
2016-12-13 14:48
Sorry, but i don't find documentation. I found only two sites

phoolet
2016-12-13 14:49

phoolet
2016-12-13 14:51
Sorry, can anyone advise me

marcus
2016-12-13 15:03
has joined #general

cbf
2016-12-13 15:11
@rafael.turk yes, the Hyperledger Fabric team has done some performance measurements on our v0.6 release, though not with the current master in development... without security, I believe that the numbers I saw were in the 400-500tps range with 4 nodes running pbft without encryption on x86. I don't recall the numbers from the Z/Linux team, though I expect that they have done similar tests

rafael.turk
2016-12-13 15:12
@cbf can you clarify what `without security` means?

cbf
2016-12-13 15:12
you might pop into the #fabric channel to see if there is anyone on that has more details

cbf
2016-12-13 15:14
@phoolet what are you seeking? The link you posted is the Hyperledger Fabric project documentation. There are two published versions. A v0.6 version of that document matches the published release... the 'latest' version is approximating what we have in master but is in flux

cbf
2016-12-13 15:15
if you are looking for Sawtooth documentation, http://intelledger.github.io/

chivardi
2016-12-13 15:15
has joined #general

cbf
2016-12-13 15:16
If you seek Iroha documentation http://iroha.tech/en/

rafael.turk
2016-12-13 15:16
@cbf thanks very helpfull 400tps is enough for my usecase/budget!

cbf
2016-12-13 15:16
glad to hear it

phoolet
2016-12-13 15:22
@cbf thanks

phoolet
2016-12-13 15:25
@cbf I want to implement a small blockchain with three peer

phoolet
2016-12-13 15:27
I only started yesterday

phoolet
2016-12-13 15:28
I'm trying to figure out where I need to get started

mike_dircz
2016-12-13 15:45
has joined #general

mike_dircz
2016-12-13 15:49
I’m working through the setup instruction to learn how to write Chaincode. I have a macbook for development. Is anyone else having trouble getting these instructions to work? https://github.com/IBM-Blockchain/learn-chaincode

pavan.burlagadda
2016-12-13 17:07
has joined #general

phoolet
2016-12-13 17:13
when i write make membersrvc && membersrvc. the response is make: *** No rule to make target 'membersrvc'. Stop.

phoolet
2016-12-13 17:15
I think that this can be a problem

phoolet
2016-12-13 17:15
i am using fabric hiperledger

jonathanlevi
2016-12-13 17:18
Hi @phoolet (Pier), can you please kindly post this on #fabric or #fabric-dev then?

kamo
2016-12-13 17:39
phoolet it seems that you run this code in the wrong directory

silliman
2016-12-13 18:06
@phoolet I suspect you are following v0.6-based documentation while working against the master branch (v1.0-based) of the code. membersrvcs has been removed from v1.0 and is replaced with COP.

xiven
2016-12-13 19:30
has joined #general

xiven
2016-12-13 19:37
Where can I get some assistance in getting the cp-web demo to work on a local HF instance?

stsang
2016-12-13 19:49
has joined #general

nandini.parimi
2016-12-13 20:25
@silliman where can i clone v0.6 from?

pisospro
2016-12-13 20:49
@nandini.parimi http://github.com/hyperledger/fabric from here

ddlees
2016-12-13 20:59
has joined #general

nandini.parimi
2016-12-13 21:14
@pisospro thankyou. I am trying to follow the instructions here : https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/, when i am trying to run the command “make membersrvc && membersrvc” i keep getting this error : make: *** No rule to make target 'membersrvc'. Stop.

nandini.parimi
2016-12-13 21:14
can someone please help me understand what this means

silliman
2016-12-13 21:42
@nandini.parini a git clone by default will check out the master (v1.0) branch. you can get v0.6 with ```git clone *-b v0.6* ....``` from either http://gerrit.hyperledger.org/r/fabric or from http://github.com/hyperledger/fabric

silliman
2016-12-13 21:43
@nandini.parimi see above command (I did a typo on your userid) but without those asterisks....that was a formatting error.... i.e., *git clone -b v0.6 https://gerrit.hyperledger.org/r/fabric* should get you the v0.6 code

joshhus
2016-12-13 21:51
Is the S in SBFT "Scalable"?

silliman
2016-12-13 21:55
@joshhus S stands for *Simplified* as in Simplified Practical Byzantine Fault Tolerance (there are some who are lobbying for SPBFT to be used as the acronym)

joshhus
2016-12-13 21:56
There's a Scalable BFT out there in the literature, so SBFT as Simplified potentially in conflict. ... Is keeping PBFT an option and just explain ours as Simplified.

silliman
2016-12-13 22:03
@joshhus well if you Google 'SBFT byzantine' the top hits for SBFT come up as Simplified, so the conflict already exists. But it beats googling 'SBFT' by itself, in which case the top result was 'Small Bowel Follow-Through' :stuck_out_tongue_closed_eyes: Seriously, anything's possible but your best best to get this changed may be to convince the consensus developers over on #fabric-consensus-dev

joshhus
2016-12-13 22:04
I posted there, yes, thanks. ... Not partial, just trying to document v1.0.

jeno.gocho
2016-12-13 23:05
has joined #general

kiranvaidya
2016-12-13 23:07
has joined #general

maanas
2016-12-14 00:45
https://hyperledgerproject.slack.com/archives/general/p1481635934001263 You need to add vagrant in docker group and reboot inorder for the vagrant user to fire the docker VM. I was able to move past this but stuck on the unit tests.

maanas
2016-12-14 00:47
Which method you are tying to setup option 1/2/3?

maanas
2016-12-14 00:47
https://hyperledgerproject.slack.com/archives/general/p1481663651001315 Which method you are tying to setup option 1/2/3?

nserrao
2016-12-14 01:19
has joined #general

cdutra
2016-12-14 01:51
has joined #general

shkng
2016-12-14 01:59
has joined #general

xtalwiese
2016-12-14 01:59
has joined #general

junyili
2016-12-14 02:47
has joined #general

zhoupeiyuan
2016-12-14 03:06
@ sarkoi I git clone the master,and in its config ,it says version 0.7 but not released

sk
2016-12-14 03:51
@zhoupeiyuan Currently I couldn't find tag/branch for 0.7 on gerrit/github. After 0.6 perhaps the first logical plan was 0.7 so there's could be some mention on config, doc, etc. But now the plan is 1.0 for Mar next year, so I guess 0.7 will be skipped. Unless there's change of plan. The master branch is still in flux. Unless you don't mind handling with more troubles. So I suggest, as @silliman comment above to use v0.6, i.e. "git clone -bv0.6 ..."

zhoupeiyuan
2016-12-14 04:15
@sk thank you for your proposal.It's very useful to me

rascal
2016-12-14 07:44
Can I elect a new Validating Leader when the leader node went down? Do I need to implement that case? https://github.com/hyperledger/fabric/blob/master/gossip/election/election.go

panli
2016-12-14 07:52
has joined #general

ashwinw
2016-12-14 08:01
has joined #general

phoolet
2016-12-14 08:57
@silliman Thank for the reply. It's very useful for me.

zainx01
2016-12-14 09:01
@rafael.turk can you give some references about the performance measurements you are talking about?

ialashqar
2016-12-14 09:02
has joined #general

zainx01
2016-12-14 10:01
@cbf you've mentioned some performance measurements above, could you please provide some reference for that? :slightly_smiling_face:

ashwini
2016-12-14 10:07
after getting v0.6 the way mentioned by @silliman getting error while doing "vagrant up" command

ashwini
2016-12-14 10:07
==> default: [fd 4]: read error: Connection reset by peer ==> default: gpgkeys: key 58118E89F3A912897C070ADBF76221572C52609D partially retrieved (probably corrupt) ==> default: gpg: ==> default: no valid OpenPGP data found. ==> default: gpg: ==> default: key 2C52609D: no valid user IDs ==> default: gpg: ==> default: this may be caused by a missing self-signature ==> default: gpg: ==> default: Total number processed: 1 ==> default: gpg: ==> default: w/o user IDs: 1 The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

ashwini
2016-12-14 10:18
But extract from master branch is working perfectly....but it has problem further...therefore trying for 0.6...any right directions

sarkoi
2016-12-14 10:23
@ashwini, If that the last part of vagrant provisioning, I think you can ignore that (maybe) and use terminal program for ex. putty to login (ssh to localhost port 2222, user/pass: vagrant/vagrant)

rafael.turk
2016-12-14 10:23
@zainx01 actually I’m seeking performance data..

stefand
2016-12-14 10:30
has joined #general

zainx01
2016-12-14 10:49
@rafael.turk got it, please do let me know too if you do find any such data. Or if there's nothing to be found, maybe i can do some benchmarking myself and share

ashwini
2016-12-14 11:07
@sarkoi thx looks fine

ashwini
2016-12-14 11:11
if we overlook this exception...things are not moving as expected "make peer"

ashwini
2016-12-14 11:13
opt/gopath/src/github.com/hyperledger/fabric$ make peer Makefile:59: *** "No docker in PATH: Check dependencies". Stop.

ashwini
2016-12-14 11:24
Just by redoing gave me big Monster DANGEr msg saying Dev env setup not went well...

sarkoi
2016-12-14 11:38
@ashwini, no docker mean the provisioning not working. why don't redo "vagrant up --provision", or redo the git clone.

ashwini
2016-12-14 11:44
@sarkoi tried all options...:)

ashwini
2016-12-14 11:50
@sarkoi surprisingly master branch stuff works fine

sarkoi
2016-12-14 11:52
@ashwini that strange. I could do both. Is there any error message before thode read error: Connection reset by peer message.

sarkoi
2016-12-14 11:53
@ashwini, btw you could not vagrant up both at the same time as they are using the same vm name "hyperledger". Either vagrant destroy the one your not using, or change that name on Vagrantfile.

sarkoi
2016-12-14 11:56
its "git clone -bv0.6 https://github.com/hyperledger/fabric" right?

ashwini
2016-12-14 12:21
yup

ashwini
2016-12-14 12:22
everytime fired vagrant destroy or sometime manually deleted

ashwini
2016-12-14 12:23
@sarkoi yes command is same , everytime fired vagrant destroy or sometime manually deleted

sarkoi
2016-12-14 12:30
@ashwini, the vagrant up command, basically after creating the vm, will run provisioning which is devenv/setup.sh as a root (which is installing docker, etc). So, why don't you try to run that manually to see where the error occurs.

sarkoi
2016-12-14 12:31
I couldn't get where that "Connection reset by peer" happening, without seeing the whole logs.

ashwini
2016-12-14 12:46
@sarkoi fine let me try, but another point is when executing with master wen well...

ashwini
2016-12-14 12:47
but exception while running example02...received something like...Error: Error getting broadcast client: Error connecting to 0.0.0.0:7050 due to grpc: timed out when dialing

ashwini
2016-12-14 13:18
While starting peer node in dev mode getting error like 2016-12-14 12:31:16.458 UTC [committer] initDeliver -> ERRO 07c Cannot dial to 0.0.0.0:7050, because of grpc: timed out when dialing

ashwini
2016-12-14 13:18
any idea pls?

bfuentes
2016-12-14 13:19
port not open ?

bfuentes
2016-12-14 13:19
peer not running on localhost ?

bfuentes
2016-12-14 13:19
did u export ports form your local docker while running a peer image ?

ashwini
2016-12-14 13:20
yes

ashwini
2016-12-14 13:20
it is running on localhost

bfuentes
2016-12-14 13:21
export docker port from 7050 to 7054

bfuentes
2016-12-14 13:22
option : -p

tudor_m
2016-12-14 13:29
has joined #general

ashwini
2016-12-14 13:46
@bfuentes I am not getting could you pls elaborate

ashwini
2016-12-14 13:48
after starting peer...I can only see following listening port..

ashwini
2016-12-14 13:48
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - tcp6 0 0 :::7051 :::* LISTEN 13159/peer tcp6 0 0 :::7053 :::* LISTEN 13159/peer tcp6 0 0 :::22 :::* LISTEN -

bfuentes
2016-12-14 14:03
what is the command you launch for the peer ?

ashwini
2016-12-14 14:06
peer start node peer node start --peer-chaincodedev

ashwini
2016-12-14 14:07
I mean 'peer node start --peer-chaincodedev'

rebus32
2016-12-14 14:23
has joined #general

etherreal
2016-12-14 14:37
has joined #general

etherreal
2016-12-14 14:40
:wave: Hello all :wave:

bfuentes
2016-12-14 14:43
so you use vagrant

bfuentes
2016-12-14 14:43
inside vagrant all port should be ok

bfuentes
2016-12-14 14:44
:confused:

samy4711
2016-12-14 14:49
has joined #general

lois01
2016-12-14 15:04
has joined #general

arthurmsouza
2016-12-14 15:11
has joined #general

yvescandel
2016-12-14 15:34
has joined #general

cbf
2016-12-14 15:38
@zainx01: we never published any... I was recalling discussion on slack... @bmos299 may have some perf stats

aivachine
2016-12-14 15:43
Hi, for `stub.GetRows` function , given table | A | B | C | D | where A, C and D are keys, does anyone know how to query with D only?

sibelius
2016-12-14 15:46
has joined #general

tkuhrt
2016-12-14 16:08
@aivachine : You cannot query by D. You can query by A or A,C or A,C,D only

aivachine
2016-12-14 16:10
@tkuhrt thanks!

hansolo
2016-12-14 16:10
has joined #general

patbarn
2016-12-14 16:28
has joined #general

nnassar
2016-12-14 16:31
has joined #general

johnptoohey
2016-12-14 16:42
has joined #general

dbshah
2016-12-14 16:44
has joined #general

biljana.lukovic
2016-12-14 16:52
has joined #general

robear
2016-12-14 16:54
has joined #general

chrisloza
2016-12-14 16:57
has joined #general

sandra.vrtikapa
2016-12-14 16:57
has joined #general

anthony.jang
2016-12-14 17:00
has joined #general

pyacosta
2016-12-14 17:05
has joined #general

niaerts
2016-12-14 17:48
has joined #general

claytonsims
2016-12-14 18:24
After getting feedback from the community, I have modified the community Jira boards to filter off of components instead of labels. Please use one and only one component when creating your user story, task, etc. Using a single component will simplify boards. If you feel that you have a story that spans squads / components then its good singn you should open a separate Jira item.

dkennan
2016-12-14 18:32
has joined #general

colyerfs
2016-12-14 19:17
Does Fabric have a built-in method like Get() that can pull/fetch data from the network?

vsananth
2016-12-14 19:26
has joined #general

mheitz
2016-12-14 19:50
has joined #general

cmarty
2016-12-14 19:58
has joined #general

mariorodriguez
2016-12-14 21:24
has joined #general


haiyong
2016-12-14 22:35
has joined #general

dyba
2016-12-14 22:51
has joined #general

slender
2016-12-14 23:37
has joined #general

atig
2016-12-15 00:38
has joined #general

snowy13
2016-12-15 03:20
has joined #general

arnabkaycee
2016-12-15 04:09
Hi All. I need to get the role of user currently executing java chaincode in fabric SDK. Can anyone help?

arnabkaycee
2016-12-15 04:10
I tried `stub.getCallerMetadata()` but it did not help. It's returning empty byte array.

gee
2016-12-15 04:21
Join me at The first giant leap http://meetu.ps/e/Cj7vd/tmgcT/a

ashwini
2016-12-15 05:56
@bfuentes thx let me check

ketangupta
2016-12-15 06:12
has joined #general

yangwenlong
2016-12-15 06:29
has joined #general

konga
2016-12-15 07:00
has joined #general

rexfong
2016-12-15 07:32
Hi, May I know if there is any scheduling function for chaincode with Fabric?

akong
2016-12-15 07:34
has joined #general

spiral_polo
2016-12-15 07:35
has joined #general

toncai
2016-12-15 08:37
has joined #general

liqui
2016-12-15 08:49
has joined #general

somashekar
2016-12-15 09:09
Hello All , I have question about finality in hyperledger. In all the presentations about hyperledger talk about Transaction immutability but the examples that I have seen is that we can add and update a record with in the world state. in such case I believe that we can trace back who update what through audit trail. is there some examples around it . Any help is much appreciated here

somashekar
2016-12-15 09:10
Other question, is about loading the data into the hyplerledger. are there any best practice on importing the data in the hyplerledger ?

bfuentes
2016-12-15 09:18
@somashekar about audit, you can have a look on the blocks, it is signed by a user. Otherwise, you can trace the logs of the chaincode, if it is just for simple audit. Or finally feed an historic via an external service.

bfuentes
2016-12-15 09:19
For the importing data, normally you call “init” function at deployment with args. The WorldState is stateful, you need to store static data, I advise you to point to another external DB

northben
2016-12-15 09:22
has joined #general

svit
2016-12-15 09:33
has joined #general

priyansu
2016-12-15 09:45
has joined #general

111ibm111
2016-12-15 11:14
has joined #general

roofyd
2016-12-15 11:22
has joined #general

sujayp
2016-12-15 11:26
has joined #general

sujayp
2016-12-15 11:29
Hi all....I am new to hyperledger project. I want to know if hyperledger is enterprise ready? I am looking to make use of hyperledger to implement a POC for finance and supply chain enterprize.

soichiro
2016-12-15 11:38
has joined #general

mfarhan
2016-12-15 11:45
has joined #general

tiana
2016-12-15 12:03
has joined #general

mercykga
2016-12-15 12:09
has joined #general

bruno.f.silva
2016-12-15 12:13
has joined #general

tasmiya
2016-12-15 12:30
has joined #general

bfuentes
2016-12-15 12:39
@sujayp We have already several PoC on Prod and ongoing at IBM

bfuentes
2016-12-15 12:40
I mean projects with customers

somashekar
2016-12-15 13:48
@bfuentes , Thanks for the response. You mean to say for the application level audit we need to have external service ?

somashekar
2016-12-15 13:50
@bfuentes , Sorry I could not completely understand your answer. I have a data to be loaded to my chain code in the order of 500K . Is there is any best practice available for the data load ?

colyerfs
2016-12-15 13:53
Are there any Fabric commands to reset the network and clear the data? I'm looking for a way to clear my test environment easily in between test runs

bfuentes
2016-12-15 14:04
@somashekar it depends what you mean by “audit” . You have also a role ‘auditor’ if you want to give more access to a particular user

bfuentes
2016-12-15 14:05
@somashekar Best practice to load initial data is to use the function “init” at deplyoment, passing arguments

bfuentes
2016-12-15 14:05
your arguments can be a big json object for example

bfuentes
2016-12-15 14:06
or a plain text csv

bfuentes
2016-12-15 14:06
anyway is a “string” what you can pass

somashekar
2016-12-15 14:12
@bfuentes , Let me simplify my question , I have chaincode which is custid, name and address . this is deployed. now it is deployed and I need to load data to this chain code with 100K records .

somashekar
2016-12-15 14:13
@bfuentes , Are you referring to Init of the chain code ?

bfuentes
2016-12-15 14:14
yes, when you deploy chaincode u can point to a specific function on the chaincode

bfuentes
2016-12-15 14:14
this is the initialization

bfuentes
2016-12-15 14:14
chaincode is Logical code, is not custid,name and address

bfuentes
2016-12-15 14:14
what you call is a transaction

bfuentes
2016-12-15 14:16
you can do it easily with docker-compose

bfuentes
2016-12-15 14:17
docker-compose -f myfile.yaml down

bfuentes
2016-12-15 14:17
otherwise delete dockers containers

bfuentes
2016-12-15 14:17
and relaunch all manually

bfuentes
2016-12-15 14:17
or by a script

colyerfs
2016-12-15 14:39
@bfuentes thank you, that's exactly what I was looking for

vladislav_zolotarev
2016-12-15 14:45
has joined #general

vladislav_zolotarev
2016-12-15 14:47
Hello! I am looking for the latest code possible for fabric project. I heard that there is a 1.0 ongoing development version? Is that the master I can see on github? Makefile states that it is 0.7.0 version

drimker
2016-12-15 15:01
has joined #general

d.baranov
2016-12-15 15:02
has joined #general

karl.e
2016-12-15 15:33
Hi all! Any hints on how to debug nodes or chaincode remotely? I'm playing around with delve --headless and I have some success but I can't get breakpoints working remotely.

chr3is
2016-12-15 15:40
Hi everyone, last reminder (sorry for the spam). First NY-based Corda meetup is TONIGHT in downtown Manhattan. Please RSVP so we can get enough food and beverages. https://www.meetup.com/New-York-Corda-Meetup/events/236124258/

sarah_lewis
2016-12-15 15:47
has joined #general

bfuentes
2016-12-15 16:37
Happy to help :smile:

raj
2016-12-15 16:41
has joined #general

magnusb
2016-12-15 16:53
has joined #general

chrisjolie
2016-12-15 17:05
has joined #general

agrzes
2016-12-15 19:07
has joined #general

gregoryj
2016-12-15 19:16
has joined #general

agrzes
2016-12-15 19:19
Hello - this may be a very stupid question but I'm struggling to understand security in hyperledger/fabric and this is my understanding: 1 User X have to register into network supplying valid id and secret 2 After that he can perform operations supplying the enrolled id 3 1 and 2 are not correlated in any way other than 2 have to be after 1 so any user Y that know that X is enrolled can impersonate him This does not make much sense to me - so what am I missing?

ns
2016-12-15 19:31
has joined #general

meme
2016-12-15 21:59
has joined #general

raissa.xie
2016-12-15 22:32
has joined #general

abhijit
2016-12-16 00:30
has joined #general

tinybear
2016-12-16 00:41
has joined #general

codedepth
2016-12-16 00:49
has joined #general

jer979
2016-12-16 02:02
has joined #general

jer979
2016-12-16 02:09
If anyone is interested in discussing the unique challenges of marketing blockchain-based solutions, I've set up a channel just to do that. https://hyperledgerproject.slack.com/archives/marketing

robertock
2016-12-16 02:17
has joined #general

gramoli
2016-12-16 02:50
has joined #general

gaurav
2016-12-16 03:25
Regarding PBFT implementation in hyperledger: Anyone has good documentation or reference on PBFT algorithm and its implementation in hyperledger, illustrating its various phases and effects on consensus.

justin
2016-12-16 04:30
has joined #general

flipkumar
2016-12-16 05:12
has joined #general

ashwini
2016-12-16 07:13
@yevot this regarding v0.6 build...did you faced any issues running vagrant up fails at .setup.sh...not able to build it....

shalinigpt
2016-12-16 08:18
has joined #general

shalinigpt
2016-12-16 08:41
I had pulled the peer and membersrv image using latest docker toolbox.

shalinigpt
2016-12-16 08:45
I had pulled the hyperledger fabric as well but not able to login and deploy, invoke the chaincode

shalinigpt
2016-12-16 08:47
I wish if anyone can help me on this, help appreciated.

shalinigpt
2016-12-16 09:23
Can anyone help me this.

jtomtan
2016-12-16 09:24
which version do you use? v0.6 or v0.6.1 ?

shalinigpt
2016-12-16 09:35

shalinigpt
2016-12-16 09:35
i clone using above cmd

shalinigpt
2016-12-16 09:43
v0.6

shalinigpt
2016-12-16 09:43
?

shalinigpt
2016-12-16 09:44
@jtomtan : are you there ?

shalinigpt
2016-12-16 09:49
If anyone can help me setting up the enviroment for hyperledger

chaitanya
2016-12-16 10:11
It looks like you haven't supplied a username there. You need to supply username by using the `secureContext` field in the REST json. See this https://github.com/ChaitanyaKr/learn-chaincode#deploying-the-chaincode

shalinigpt
2016-12-16 10:15
So can i register username as my name ?

chaitanya
2016-12-16 10:16
No, you'll have to pick a username from the membersrvc.yml file. For example, `jim` or `lukas`.

shalinigpt
2016-12-16 10:17
I am not getting the location of membersrvc.yml

shalinigpt
2016-12-16 10:18
I cloned the fabric using : git clone http://gerrit.hyperledger.org/r/fabric

shalinigpt
2016-12-16 10:19
there is no membersv folder

shalinigpt
2016-12-16 10:20
And my docker-compose.yml file which i created is in different directory. Do i need to keep it inside the fabric

shalinigpt
2016-12-16 10:20
?

chaitanya
2016-12-16 10:20
I think you've cloned the master branch, looking at your directories. You should pull the v0.6 branch instead.

shalinigpt
2016-12-16 10:22
what cmd i need to use ?

shalinigpt
2016-12-16 10:22
shall i stop the containers and then manually remove the master code and make a fresh pull for v0.6 branch

chaitanya
2016-12-16 10:23
Yes, a fresh pull for the v0.6 branch

shalinigpt
2016-12-16 10:23
Where to keep the docker-compose.yml file

shalinigpt
2016-12-16 10:23
?

shalinigpt
2016-12-16 10:24
do i need to pull v0.6 or v0.6.1

chaitanya
2016-12-16 10:25

shalinigpt
2016-12-16 10:31
Can you share a cmd

chaitanya
2016-12-16 10:34
This should do it: `git clone http://gerrit.hyperledger.org/r/fabric --branch v0.6` You could verify by running `git branch`

snorre
2016-12-16 10:34
has joined #general

shalinigpt
2016-12-16 10:36
Thanks its cloning.

ugarg
2016-12-16 10:45
has joined #general

shalinigpt
2016-12-16 11:00
I got the error in cloning :

shalinigpt
2016-12-16 11:00
$ git clone http://gerrit.hyperledger.org/r/fabric --branch v0.6 Cloning into 'fabric'... remote: Counting objects: 3770, done remote: Finding sources: 100% (224/224) error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), er rno 10054 fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

lvigermyr
2016-12-16 11:14
has joined #general

umashankar
2016-12-16 11:18
has joined #general

shalinigpt
2016-12-16 11:25
its resolved and cloned success

tzedeq
2016-12-16 11:34
has joined #general

shalinigpt
2016-12-16 12:40
1062551@01HW467654 MINGW64 /d/HiTechBc/Hyperledger/workspace/src/github.com/hype rledger/fabric/peer (v0.6) $ peer network login jim

shalinigpt
2016-12-16 12:40
bash: peer: command not found

shalinigpt
2016-12-16 12:40
I got the above error for login .

shalinigpt
2016-12-16 12:41
Where i need to register

shalinigpt
2016-12-16 12:41
?

shalinigpt
2016-12-16 12:41
Any help appreciated

harsha544
2016-12-16 12:41
Is peer binary added to your $PATH Variable ?

shalinigpt
2016-12-16 12:42
where to check ?

harsha544
2016-12-16 12:42
Is your peer built ?

shalinigpt
2016-12-16 12:42
don't know i had cloned the faric

shalinigpt
2016-12-16 12:42
and create docker-compose and run the cmd

shalinigpt
2016-12-16 12:43
docker-compose up

shalinigpt
2016-12-16 12:45
do i need to build anything

harsha544
2016-12-16 12:46
If you are trying to spin up 4X1 Blockchain Network I suggest you follow this URL https://github.com/IBM-Blockchain/fabric-images

harsha544
2016-12-16 12:47
If incase you are trying to build peer/membersrvc from scratch https://hyperledger-fabric.readthedocs.io/en/latest/dev-setup/devenv/

gokulamurthy
2016-12-16 12:58
Guys, I'm not using dockers and i'm trying to connect peer and membersrvc services with the other VM which has running hyperledger fabirc peers and members natively installed and setup (Its a remote machine, able to ping from here) But I'm unable to connect with the IP using HFC Node.js SDK like below: var hfc = require('hfc'); var PEER_ADDRESS = "http://172.25.64.31:7050"; var MEMBERSRVC_ADDRESS = "http://172.25.64.31:7054"; Am i right here to define the PEER_ADDRESS AND MEMBERSRC_ADDRESS??

etienne
2016-12-16 14:02
has joined #general

david-ro
2016-12-16 14:55
has joined #general

paul.sitoh
2016-12-16 15:18
Folks are there any plan to replace HFC key value store with an LDAP/ActiveDirectory compatible API?

didierphmartin
2016-12-16 15:34
has joined #general

visalavaranasi
2016-12-16 16:00
has joined #general

bitsurfer
2016-12-16 18:24
has joined #general

sshaw1024
2016-12-16 18:33
has joined #general

sshaw1024
2016-12-16 18:35
hello guys

sshaw1024
2016-12-16 18:35
I am new, can someone suggest where & how to start.

jonathanlevi
2016-12-16 18:38
Hi @sshaw1024 - while I don’t know what you are trying to do/start with… this is a great place to learn about the projects, working groups, etc. https://wiki.hyperledger.org

sshaw1024
2016-12-16 18:47
@jonathanlevi thanks, may I know where to start learning GO language

jonathanlevi
2016-12-16 18:49
Sure. Try each of these (to give you a taste of a “full book”, an intro, and some web-based “playground” for quickly typing/running stuff, respectively:) http://www.golang-book.com/books/intro https://ukiahsmith.com/blog/golang-my-introduction-to-the-go-programming-language https://tour.golang.org/welcome/1

sshaw1024
2016-12-16 18:53
@jonathanlevi thanks :slightly_smiling_face:

mr._mike
2016-12-16 19:02
has joined #general

ganeshbagalur
2016-12-16 21:19
has joined #general

bkumar18
2016-12-16 21:40
has joined #general

sreenivasanraj
2016-12-16 21:47
has joined #general

forestjqg
2016-12-17 02:37
has joined #general

lalith
2016-12-17 10:05
has joined #general

panda
2016-12-17 10:49
has joined #general

luuk-decoded
2016-12-17 11:20
has joined #general

grapestree
2016-12-17 12:13
has joined #general

rascal
2016-12-17 14:13
I was trying to run the IBM-Blockchain/fabric-boilerpalte. Although it looks deployment is done, I cannot login(auth error)... I got following logs, debug: [SDK] Successfully deployed chaincode debug: [SDK] Deploy result: { uuid: '92858ba107dfd21ff4d2fa3a34cfff001c4cd68f2ff5dc52c1ecd5f8a84c7ade', chaincodeID: '92858ba107dfd21ff4d2fa3a34cfff001c4cd68f2ff5dc52c1ecd5f8a84c7ade', result: undefined } debug: Saving chaincode id 92858ba107dfd21ff4d2fa3a34cfff001c4cd68f2ff5dc52c1ecd5f8a84c7ade info: [SDK] Watching /home/Rascal/go/src/github.com/rascal-3/js/jba/src/build-chaincode for changes... info: [SDK] Done. info: [SDK] Calling callback... info: -- Deploying Test Data as WebAppAdmin -- (node:44696) DeprecationWarning: crypto.pbkdf2 without specifying a digest is deprecated. Please specify a digest debug: [SDK] WebAppAdmin submitted invoke function add_test_data [{"id":"john1","firstName":"John","lastName":"Doe","things":["12345678","87654321"],"salt":"25817c62d81533bd1a78dbb2b56e1a43","hash":"d93cc9dba0d4ab012a8cd04a799dbf06222516273c51926931d3d992c3bd7317540c1558edf3f206c8875529efa283b0f1b5cff015a06a71562299f8c6afd024","address":"Dam 1, 1012 JS Amsterdam, The Netherlands","phoneNumber":"0900 0048","emailAddress":"","role":0},{"id":"jane1","firstName":"Jane","lastName":"Doe","things":["87654321"],"salt":"38dc8ac3e013f539ba22851796a35296","hash":"86173fb31a40e0ade23e3f27ab926c0b48b52b9129cd84b9955af1a4695ca8de6fc46b76c193aae8dfecbfad4a3bd05a3134fb04ada274ce4ee47f662887c173","address":"128 West 44th Street, New York, NY 10036, United States","phoneNumber":"0900 0024","emailAddress":"","role":1}] debug: -- Added testData


rascal
2016-12-17 14:17
Oh, I'm running those on Docker on Ubutu on Azure, by the way

rascal
2016-12-17 14:24
@rascal uploaded a file: https://hyperledgerproject.slack.com/files/rascal/F3G2G6011/docker_logs_-f_jba_vp0_1.txt and commented: and, vp's logs here

rascal
2016-12-17 14:25
Sorry for many posts...

sstone1
2016-12-17 15:02
@rascal The chaincode is failing to build. See these errors in your Docker logs: ```---> Running in 67eac64ac4e1 src/build-chaincode/utils/utils.go:5:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: /opt/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH)```

sstone1
2016-12-17 15:02
That error is caused because you do not have the Hyperledger Fabric source in a `vendor` folder next to your chaincode.

sstone1
2016-12-17 15:03
Did you follow the `npm run installgo` step in the Prerequisites section? https://github.com/IBM-Blockchain/fabric-boilerplate

rascal
2016-12-17 15:30
@sstone1 Thanks a lot for replying!! I tried it, but I got these results(PATH is bad?); However, I'm gonna keep trying, thank you so much!! Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ echo $GOPATH /home/Rascal/go Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ echo $PATH /home/Rascal/bin:/home/Rascal/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/Rascal/go/src/bin Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ npm run installgo > server@0.0.0 installgo /home/Rascal/go/src/github.com/rascal-3/js/jba > cd src/build-chaincode && GOPATH=$(pwd)/../.. && govend -v sh: 1: govend: not found npm ERR! Linux 4.4.0-53-generic npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "run" "installgo" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! server@0.0.0 installgo: `cd src/build-chaincode && GOPATH=$(pwd)/../.. && govend -v` npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the server@0.0.0 installgo script 'cd src/build-chaincode && GOPATH=$(pwd)/../.. && govend -v'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the server package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! cd src/build-chaincode && GOPATH=$(pwd)/../.. && govend -v npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs server npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls server npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/Rascal/go/src/github.com/rascal-3/js/jba/npm-debug.log Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ govend -v govend: command not found

rascal
2016-12-17 15:34
Although I added these lines in .bashrc before and source it, export GOPATH=${HOME}/go export LD_LIBRARY_PATH=/usr/local/lib export PATH=$PATH:$GOPATH/src/bin Hmm,,

rascal
2016-12-17 15:36
Rascal@HyperlegerTestServer:~/go/src/github.com$ ls govend hyperledger IBM-Blockchain rascal-3

rascal
2016-12-17 15:39
Oh, Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ ls /home/Rascal/go/bin/govend /home/Rascal/go/bin/govend

rascal
2016-12-17 15:40
@sstone1 Is not it export PATH=$PATH:$GOPATH/src/bin, but export PATH=$PATH:$GOPATH/bin??

rascal
2016-12-17 15:42
It looks working now! Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ nano ~/.bashrc Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ source ~/.bashrc Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ govend -v build-chaincode/data build-chaincode/data bad ping: unrecognized import path "build-chaincode/data" (import path does not begin with hostname) build-chaincode/invoke build-chaincode/invoke bad ping: unrecognized import path "build-chaincode/invoke" (import path does not begin with hostname) build-chaincode/query build-chaincode/query bad ping: unrecognized import path "build-chaincode/query" (import path does not begin with hostname) build-chaincode/utils build-chaincode/utils bad ping: unrecognized import path "build-chaincode/utils" (import path does not begin with hostname) http://github.com/hyperledger/fabric/core/chaincode/shim http://google.golang.org/grpc http://google.golang.org/grpc/transport http://google.golang.org/grpc/tap http://golang.org/x/net/context http://google.golang.org/grpc/stats http://google.golang.org/grpc/stats/grpc_testing http://github.com/golang/protobuf/proto http://golang.org/x/sync/errgroup http://github.com/golang/protobuf/ptypes/any http://github.com/golang/protobuf/ptypes http://github.com/golang/protobuf/ptypes/timestamp http://github.com/golang/protobuf/ptypes/duration http://github.com/golang/protobuf/protoc-gen-go/descriptor http://github.com/golang/protobuf/proto/testdata http://github.com/golang/protobuf/proto/proto3_proto http://google.golang.org/grpc/metadata http://google.golang.org/grpc/grpclog http://google.golang.org/grpc/peer http://google.golang.org/grpc/credentials http://google.golang.org/grpc/codes http://golang.org/x/net/http2/hpack http://golang.org/x/net/http2 http://golang.org/x/net/lex/httplex http://golang.org/x/net/idna http://google.golang.org/grpc/test/codec_perf http://google.golang.org/grpc/naming http://google.golang.org/grpc/internal http://golang.org/x/net/trace http://golang.org/x/net/internal/timeseries http://github.com/spf13/viper http://gopkg.in/yaml.v2 http://gopkg.in/check.v1 http://github.com/stretchr/testify/assert http://github.com/pmezard/go-difflib/difflib http://github.com/davecgh/go-spew/spew http://github.com/davecgh/go-spew/spew/testdata

rascal
2016-12-17 15:44
Rascal@HyperlegerTestServer:~/go/src/github.com/rascal-3/js/jba$ npm run installgo > server@0.0.0 installgo /home/Rascal/go/src/github.com/rascal-3/js/jba > cd src/build-chaincode && GOPATH=$(pwd)/../.. && govend -v http://github.com/hyperledger/fabric/core/chaincode/shim http://google.golang.org/grpc http://google.golang.org/grpc/transport http://google.golang.org/grpc/peer http://google.golang.org/grpc/credentials http://golang.org/x/net/context http://google.golang.org/grpc/metadata http://google.golang.org/grpc/grpclog http://google.golang.org/grpc/codes http://golang.org/x/net/trace http://golang.org/x/net/internal/timeseries http://golang.org/x/net/http2/hpack http://golang.org/x/net/http2 http://golang.org/x/net/lex/httplex http://golang.org/x/net/idna http://google.golang.org/grpc/test/codec_perf http://github.com/golang/protobuf/proto http://github.com/golang/protobuf/ptypes/any http://github.com/golang/protobuf/proto/testdata http://github.com/golang/protobuf/proto/proto3_proto http://google.golang.org/grpc/naming http://google.golang.org/grpc/internal http://google.golang.org/grpc/credentials/oauth http://golang.org/x/oauth2/jwt http://golang.org/x/oauth2/jws http://golang.org/x/oauth2/internal http://golang.org/x/oauth2 http://google.golang.org/appengine/urlfetch http://google.golang.org/appengine/internal/urlfetch http://google.golang.org/appengine/internal http://google.golang.org/appengine/internal/remote_api http://google.golang.org/appengine/internal/log http://google.golang.org/appengine/internal/datastore http://google.golang.org/appengine/internal/base http://golang.org/x/oauth2/google http://google.golang.org/appengine http://google.golang.org/appengine/internal/modules http://google.golang.org/appengine/internal/app_identity http://cloud.google.com/go/compute/metadata http://golang.org/x/net/context/ctxhttp http://cloud.google.com/go/internal http://github.com/spf13/viper http://gopkg.in/yaml.v2 http://gopkg.in/check.v1

sstone1
2016-12-17 15:48
Great, the deploy should work now!

rascal
2016-12-17 15:50

rascal
2016-12-17 15:51

sstone1
2016-12-17 15:52
no problem :slightly_smiling_face:

tusharm
2016-12-17 23:33
has joined #general

subi9
2016-12-18 04:55
has joined #general

jared
2016-12-18 06:18
Hi guys, one question about membersrvc.yaml. For application that hold many valid users, how could they be registered? Is it need to update eca.users section of membersrvc.yaml dynamically? Or any other approach to implement this?

rascal
2016-12-18 07:25
@jared You can register new users with HFC(Node SDK).

jared
2016-12-18 07:57
@rascal Thanks for the information. How should I create secret for the user? Is there any rule for it?

rascal
2016-12-18 08:31
@jared Please see this page

rascal
2016-12-18 08:57
Now I'm trying to run car-lease-demo but It saids "Just finalizing set up. Please wait..." for long time.


rascal
2016-12-18 08:59
@rascal uploaded a file: https://hyperledgerproject.slack.com/files/rascal/F3G9QSJ6Q/docker_logs_-f_carleasedemo_membersrvc_1.txt and commented: failed? but enrollments look like done..

rascal
2016-12-18 09:00

rascal
2016-12-18 09:07
@rascal uploaded a file: https://hyperledgerproject.slack.com/files/rascal/F3G7G4H1Q/netstat_-ntlp.txt and commented: all ports' states are LISTEN

hungo
2016-12-18 09:11
has joined #general



rascal
2016-12-18 09:44
@rascal uploaded a file: https://hyperledgerproject.slack.com/files/rascal/F3FGZAGEM/____________________________2016-12-18_18.42.52.png and commented: I re-ran the app, then it works now... Hmm...

zduniak
2016-12-18 12:52
has joined #general

tanmay300
2016-12-18 14:57
has joined #general

janmike
2016-12-18 16:59
has joined #general

janmike
2016-12-18 17:01
Hi Everyone.

janmike
2016-12-18 17:02
Newbie question -- why does Hyperledger Fabric on IBM BlueMix only offers 4 peers? Why not more than 4? (Ala Ethereum?) And I need to pay 10k for just 4 peers?

rafael.turk
2016-12-18 18:28
HI All.. I’m running 4 notes.. Just for fun I’ve stoped one of them and let the remaining 3 continue to work while I’ve placed a few transactions.. Now I’ve resumed the stoped node.. however It still stuck in a previous block height . How can I synchronize it with the rest of the group?

scottz
2016-12-18 21:40
That is not necessary. Actually, the node is likely running fine; the counts will jump forward occasionally (depending on configuration paramters), although the counts on that peer will simply lag for potentially a very long time. However, if you stop a different node, and continue sending transactions, then that one will sync up with the good two very quickly.

yusuke_akiyama
2016-12-19 00:00
has joined #general

shaggy_kp
2016-12-19 01:06
When using the IBM BlueMix, does anyone know if you can download the code for the Dashboard Monitor so that you can make changes to it for your own use? Or is the Dashboard Monitor only available within BlueMix?

zaki
2016-12-19 01:34
@shaggy_kp I believe the latter

mrbuggy
2016-12-19 05:44
Hello all, sorry for the silly question but I remember seeing somewhere in the docs that the REST API is deprecated? I can't seem to find it now but I'm wondering why it is deprecated? Is it because it only has a subset funtionality of the node SDK?

mrbuggy
2016-12-19 05:45
note that I'm talking about v0.6 release

mrbuggy
2016-12-19 05:51
my project team is finding the best way to work with the chaincode inside the blockchains..

ibmamnt
2016-12-19 05:58
My understanding is the rest api is removed from "core", but the team is now thinking about to have rest api server build on top of SDK. Still under discussion. See this as a reference:


mrbuggy
2016-12-19 06:48
@ibmamnt thank you for replying! "core" did you mean a specific version of fabric?

ibmamnt
2016-12-19 07:14
@mrbuggy I meant version v1.0 alpha "core" to be released. The rest api will be there in v0.6.1 release.

ganesan
2016-12-19 08:24
has joined #general

aybek
2016-12-19 08:32
@rafael.turk: if you stop another node, one that was behind will be synchronized. You can read about it in documentation

bercinho
2016-12-19 09:48
Dear HL Community, is there a way to view the blockchain of Hyperledger? To see the chain of all past transactions?

bfuentes
2016-12-19 09:50
@bercinho here you have a blockchain explorer : http://gerrit.hyperledger.org/r/blockchain-explorer

meraki
2016-12-19 11:47
has joined #general

vanio
2016-12-19 12:14
has joined #general

yangwenlong
2016-12-19 12:17
@yangwenlong set the channel topic: does anyone know how and who to validate the data in the fabric v1.0?

yangwenlong
2016-12-19 12:18
does anyone know how to validate the data in the fabric v1.0?

vanio
2016-12-19 12:18
Hi guys, I'm trying to develop a node.js app with Hyperledger Fabric 0.6 and I have some questions. Can anyone help?

vanio
2016-12-19 12:20
I keep getting this error when trying to deploy chaincode using the hfc API:

vanio
2016-12-19 12:21
vp0_1 | cp: cannot stat 'src/build-chaincode/vendor/github.com/hyperledger/fabric/peer/core.yaml': No such file or directory

vanio
2016-12-19 12:21
it happens after the docker container for the chaincode is created

vanio
2016-12-19 12:21
here are my docker images:

vanio
2016-12-19 12:21
hyperledger/fabric-membersrvc latest b3654d32e4f9 8 weeks ago 1.417 GB ibmblockchain/fabric-membersrvc x86_64-0.6.1-preview b3654d32e4f9 8 weeks ago 1.417 GB hyperledger/fabric-baseimage latest 21cb00fb27f4 8 weeks ago 1.423 GB hyperledger/fabric-peer latest 21cb00fb27f4 8 weeks ago 1.423 GB ibmblockchain/fabric-peer x86_64-0.6.1-preview 21cb00fb27f4 8 weeks ago 1.423 GB

vitordiego
2016-12-19 12:43
has joined #general

wangmzdl
2016-12-19 12:52
Hello, where Hyperledge save the data? what kind of database it's using?

harsha544
2016-12-19 13:15
"/var/hyperledger/" is the path, rocksdb is the DB used by hyperledger

vanio
2016-12-19 13:17
I think I got it. It seems that I haven't done the whole govendor thing

sibelius
2016-12-19 13:26
@vanio try this compose files


vanio
2016-12-19 13:28
yes, those are the docker files I'm using

vanio
2016-12-19 13:29
it's working in chaincode-dev mode. Now I'm trying to run it in network mode though and it seems I'm not doing the govendor thing right

ahmedelhajji
2016-12-19 13:32
Hello, I would like an example of a docker-compose.yml file or use swarm to deploy multiple containers in several machines connected with swarm. For example 3 containers vp0 vp1 vp2.

wangmzdl
2016-12-19 13:37
thanks, you just bring my memory back

catkingkingking
2016-12-19 13:39
has joined #general

vanio
2016-12-19 14:30
I managed to deploy successfully, but I have another problem now. I'm trying to register a user with some attributes from hfc and I can't read them in the smart contract. This is my registration request:

vanio
2016-12-19 14:30
{ roles: [ 'client' ], enrollmentID: "vanio5", affiliation: "bank_a", attributes: [{name:'role',value:'Finder'}], registrar: HyperledgerFabric.Chain.getRegistrar() }

vanio
2016-12-19 14:31
the user is registered successfully and I can enroll with the returned secret. In chaincode I'm doing this:

vanio
2016-12-19 14:31
certAttr, err := stub.ReadCertAttribute("role") if err != nil { fmt.Printf("Error reading attribute 'role' [%v] \n", err) } return certAttr, nil

vanio
2016-12-19 14:32
And this is what I'm seeing in the docker log:

vanio
2016-12-19 14:32
14:28:04.703 [shim] DEBU : [edbeee4e]Handling ChaincodeMessage of type: QUERY(state:ready) Error reading attribute 'role' [Failed retrieving extension.] 14:28:04.704 [shim] DEBU : [edbeee4e]Query completed. Sending QUERY_COMPLETED

vanio
2016-12-19 14:33
this is my docker-compose file:

vanio
2016-12-19 14:33
membersrvc: image: hyperledger/fabric-membersrvc ports: - "7054:7054" command: membersrvc vp0: image: hyperledger/fabric-peer environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=http://172.17.0.1:2375 - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_PEER_VALIDATOR_CONSENSUS_PLUGIN=noops ports: - "7050:7050" - "7051:7051" - "7053:7053" links: - membersrvc command: sh -c "sleep 5; peer node start"

vanio
2016-12-19 14:34
Any idea what I'm missing?

joespi83
2016-12-19 14:41
has joined #general

blancastella
2016-12-19 15:59
has joined #general

bkimminich
2016-12-19 16:08
has joined #general

options44
2016-12-19 16:38
has joined #general

bandisfire
2016-12-19 16:50
has joined #general

ranjith
2016-12-19 17:07
has joined #general

garisingh
2016-12-19 17:52

arenshaw
2016-12-19 18:26
has joined #general

lgrant
2016-12-19 18:44
has joined #general

vanio
2016-12-19 18:54
@garisingh no. I'm calling enroll() and invoking a smartcontract on the returned user. I'd like to handle attributes inside the smart contract

vanio
2016-12-19 18:58
I guess I have to call getUserCert() before invoking the smart contract. Right?

garisingh
2016-12-19 19:00
correct- else the transaction cert used by the client will not include the attribute(s)

vanio
2016-12-19 19:02
Thank you. I'll try that. Do I need anything else configured. I was thinking I need to have TLS enabled in member services for ACA to work. Is that necessary?

garisingh
2016-12-19 19:02
nope

garisingh
2016-12-19 19:02
actually easier if its off

vanio
2016-12-19 19:03
Thanks a lot once again. I'll be back if I encounter other problems :)

vanio
2016-12-19 20:22
@garisingh I still can't get it working. I have the getUserCert call right after enroll, but even with it succeeding I keep getting the same error when I call query/invoke

vanio
2016-12-19 20:23
I see something different in the example you sent me. The certificate is passed as parameter to the smart contract in it. While in my code I'm trying to verify an attribute of the user invoking the chaincode

vanio
2016-12-19 20:25
this is all my chaincode in question:

vanio
2016-12-19 20:25
} else if function == "test" { certAttr, err := stub.ReadCertAttribute("role") if err != nil { fmt.Printf("Error reading attribute 'role' [%v] \n", err) } return certAttr, nil }

vanio
2016-12-19 20:26
I'm trying to return the role attribute of the enrolled user invoking the smart contract

csiel
2016-12-19 20:30
has joined #general

mohamoudegal
2016-12-19 21:36
has joined #general

omargibran
2016-12-19 22:04
has joined #general

efukay
2016-12-19 22:29
has joined #general

erin
2016-12-19 22:35
has joined #general


saintd
2016-12-19 22:58
has joined #general

humblealex
2016-12-19 23:54
Does any know that if the fabric v1.0 alpha has already released?

warm3snow
2016-12-20 00:58
@humblealex No, March 2017

ziyuan
2016-12-20 02:04
has joined #general

mrbuggy
2016-12-20 02:09
@ibmamnt thank you!

davelago
2016-12-20 02:39
has joined #general

diegoskolling
2016-12-20 02:49
has joined #general

james_jingyu
2016-12-20 03:43
has joined #general

aik
2016-12-20 04:26
has joined #general

hitarshi
2016-12-20 04:33
has joined #general

mrbuggy
2016-12-20 05:49
Can someone confirm my basic understanding of gRPC? So for now, it is used by HFC Node SDK for birectional communication with the validating peers. Then gRPC is used again for bidirectional communications between Peer and chaincodes?

binoy
2016-12-20 05:53
has joined #general

gokulamurthy
2016-12-20 06:49
User 'WebAppAdmin' logs in successfully with REST client but not with gRPC call using HFC Node SDK. chain.setMemberServicesUrl(""); chain.addPeer(""); ---------------------------------------------------------- setting registrar ... ERROR: Error: Identity or token does not match.

gokulamurthy
2016-12-20 06:49
please help me as earliest

gokulamurthy
2016-12-20 06:53
@gokulamurthy pinned a message to this channel.

gokulamurthy
2016-12-20 07:17
ANY HELP PLEASE?

ibmamnt
2016-12-20 07:23
@gokulamurthy You can not use identical user for both rest and HFC Node SDK. User enrollment info is stored in so called wallet. It is current limitation that one single user can store wallet in single location at this moment.

ibmamnt
2016-12-20 07:23
Rest -> In peer node

ibmamnt
2016-12-20 07:23
Node SDK -> machine which runs Node SDK.

ibmamnt
2016-12-20 07:24
Is it possible to recreate the env ? Use different user for rest api (e.g. built-in jim, or lukas).

ajitkt
2016-12-20 08:21
has joined #general

anandkarwa
2016-12-20 08:29
has joined #general

anandkarwa
2016-12-20 08:38
Hey everyone maybe I know the appropriate channel where I can ask my queries about setting up the sample examples of hyperledger fabric ?

gokulamurthy
2016-12-20 09:44
Thanks for the reply, can i logout the user who already logged in through REST api

vanio
2016-12-20 10:15
@gokulamurthy No, you have to use different users for HFC since it uses a separate key value store. If you login with a user through CLI or REST it will not be stored in HFC key value store and login for it will fail

vanio
2016-12-20 10:21
btw I managed to resolve my problem with attributes. I had to deploy my chaincode using CLI and specify the -a flag. I was trying to deploy from HFC and it doesn't seem to support specifying attributes for the deploy request. Is that so or I have missed it somewhere?

pushpalatha
2016-12-20 10:37
Hi There, GetRows of shim code works fine when multiple rows returned. If there is a single row expecting to be returned using GetRows, it is returning empty. Any idea why? I'm using : rowChannel, err := stub.GetRows(tableName, columns) if err != nil { return nil, fmt.Errorf("Failed retriving details : [%s]", err) } var rows []shim.Row for { select { case temprow, ok := <-rowChannel: if !ok { rowChannel = nil } else { rows = append(rows, temprow) } } if rowChannel == nil { break } } return rows, nil

preet
2016-12-20 10:59
has joined #general

jtonline
2016-12-20 11:26
has joined #general

orubio
2016-12-20 11:31
has joined #general

svasilyev
2016-12-20 12:48
has joined #general

abhinadgir
2016-12-20 13:20
has joined #general

sae
2016-12-20 13:42
has joined #general

ahmedelhajji
2016-12-20 13:55
Hello, I have a problem deploying docker container in several machines after what I am trying to try the docker swarm but the problem when i builde my docker-compose.yml file i cant get to The deployer with docker, for the moment I do not know if this is the good track I chose or it must go through another track. I would like feedback on the level of aploeiment in several machines

vpiccinini
2016-12-20 14:11
has joined #general

gokulamurthy
2016-12-20 14:24
I have tried many times and many ways but couldn't able to get results for "Query" method, Please help me to find the bug: /opt/gopath/src/github.com/hyperledger/blockchain-samples/contracts/industry/LogisticsSplit.0.6# peer chaincode query -n blReg -p http://github.com/hyperledger/blockchain-samples/contracts/industry/LogisticsSplit.0.6/BillofLading -c '{"function":"getBillOfLadingRegistration", "args":["{\"blno\":\"10203040\"}"]}' Error: Error querying chaincode: rpc error: code = 2 desc = Error:Failed to launch chaincode spec(Could not get deployment transaction for blReg - LedgerError - ResourceNotFound: ledger: resource not found)

gokulamurthy
2016-12-20 14:26
I have deployed successfully and triggered "Init" and "Invoke" methods successfully with peer. But i can't get through this "Query" method

vanio
2016-12-20 14:49
why are you using -p? after deployment you should get a chaincode id

tkeber
2016-12-20 14:56
has joined #general

bgy
2016-12-20 15:00
has joined #general

hashed_corey
2016-12-20 15:04
has joined #general

shobhitchittora
2016-12-20 15:17
has joined #general

sven_loberg
2016-12-20 15:24
has joined #general

mike_dircz
2016-12-20 15:26
Does anyone have debugging tips for the first time running through the "Writing , Building and Running Chaincode in a Development Environment" instructions? I have everything running up to this point: Register the user though the CLI, substituting for <username> appropriately: cd $GOPATH/src/github.com/hyperledger/fabric/peer peer network login jim The error message at this point is: -bash: peer: command not found

giuscardone
2016-12-20 15:28
has joined #general

thojest
2016-12-20 15:45
@mike_dircz have you included `fabric/build/bin` in your PATH?

benlewis
2016-12-20 16:01
has joined #general

silliman
2016-12-20 16:02
@mike_dircz Hi Mike I suspect you are running into a very common problem whereas the documentation you are looking at is written for the v0.6 version of Fabric but if you don't explicitly clone or checkout the v0.6 branch, you will get the master branch of Fabric which is the v1.0 in-progress code. e.g. if you do *git clone https://github.com/hyperledger/fabric* or *git clone https://gerrit.hyperledger.org/r/fabric*, either of those will get you the v1.0 Fabric. If you are new to Fabric and trying to get up to speed on it I'd suggest you get the v0.6 code. Try *git clone -b v0.6 https://github.com/hyperledger/fabric* and the instructions you're looking at will work better.

benlewis
2016-12-20 16:03
Hi all, I'm trying to get a go program I've written to parse data and spit it out to hyperledger, via REST, but I keep getting this error "Error unmarshalling chaincode request payload: json: cannot unmarshal string into Go value of type rest.rpcRequest", the JSON I'm sending is valid and does work from the (slower) Python equivalent program. Using Fabric v0.6

silliman
2016-12-20 16:03
@mike_dircz ignore those asterisks in my git clone examples, I thought it would cause the text in between to be bold but for some reason it didn't work out that way.

benlewis
2016-12-20 16:04
I'm just wondering if there's some quirkiness to Go that has gone over my head

benlewis
2016-12-20 16:50
The JSON I'm passing in is "{'jsonrpc': '2.0', 'method': 'invoke', 'params': {'type': 1, 'chaincodeID': {'name': 'testBuyChain'}, 'ctorMsg': {'function': 'storeTxion','args': ['1', '1 7987 989864-3003 040516 3C3DBA91-B1E9-BB2C-40B8-AC318A88E0CF 44645']}, 'secureContext': 'admin'}, 'id': 3}"

rajesh.kalaria
2016-12-20 17:13
has joined #general

snitins
2016-12-20 18:20
has joined #general

mike_dircz
2016-12-20 18:22
No, I see fabric/build/bin is not in the PATH.

mike_dircz
2016-12-20 18:23
I tried cloning v0.6 and received this error message fatal: Remote branch 0.6 not found in upstream origin

mike_dircz
2016-12-20 18:32
This cloning command worked: git clone -b v0.6 http://gerrit.hyperledger.org/r/fabric

mbradaschia
2016-12-20 18:56
has joined #general

silliman
2016-12-20 19:17
@mike_dircz oops I accidentally left the v out of v0.6 .. glad you figured it out and sorry for the misdirection... I've edited my original post to correct the mistake.

vinodpaniker
2016-12-20 19:20
has joined #general

mike_dircz
2016-12-20 19:21
I must still have to fix my PATH, because it still didn't work after getting v.06

name63
2016-12-20 19:44
Hi. how do i identify the transaction caller in java?

mike_dircz
2016-12-20 19:47
Where is fabric/build/bin supposed to be? I don't see it anywhere after cloning v.06 of fabric?

silliman
2016-12-20 19:49
@mike_dircz Hi Mike, normally as part of the build process the binaries for *peer* and *membersrvc* are placed in ....fabric/build/bin . It's possible that the documentation you are looking at is in a section where it assumes you use vagrant to provision, which will put that *build/bin* directory in your path. If you are using another method, e.g. docker images or building native, you may get past this by updating your PATH accordingly or invoking it out of there..... okay, on the post you just made.... the build/bin directory will not be built until you run *make peer* or *make membersrvc* (or any other make target that has a pre-req target for peer or membersrvc)

mike_dircz
2016-12-20 19:53
I am using the docker images

name63
2016-12-20 19:54
binaries are in /opt/gopath/bin/peer

name63
2016-12-20 19:54
sorry, just /opt/gopath/bin/

mike_dircz
2016-12-20 19:54
ok, i will check that

mike_dircz
2016-12-20 20:04
This is how I got the docker images Pull images from DockerHub First, pull the latest images published by the Hyperledger fabric project from DockerHub. docker pull hyperledger/fabric-peer:latest docker pull hyperledger/fabric-membersrvc:latest Running the Peer and CA To run the fabric-peer and fabric-membersrvc images, we’ll use Docker Compose. It significantly simplifies things. To do that, we’ll create a docker-compose.yml file with a description of the two services we’ll be running. Here’s the docker-compose.yml to launch the two processes: membersrvc: image: hyperledger/fabric-membersrvc ports: - "7054:7054" command: membersrvc vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7053:7053" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev" Save that in a directory with the name docker-compose.yml. Then, run docker-compose up to start the two processes.

name63
2016-12-20 20:16
yes, and that works

name63
2016-12-20 20:16
oh, i guess you just don't get how to run "peer" command-line tool?

name63
2016-12-20 20:19
am i right?

name63
2016-12-20 20:21
since you are just using prebuilt images, obviously you don't have peer binary at your localhost, so you have two options: 1) compile it; 2) login into vp0 and use command-line from there

name63
2016-12-20 20:23
following second option, exec 'docker exec -ti mynet_vp0_1 /bin/bash' to run bash in the container. mynet_vp0_1 is the container name in my host, but it can be different in your case

name63
2016-12-20 20:23
and there you can run peer deploy, peer invoke, etc

mike_dircz
2016-12-20 20:24
I'm a novice AND YES you are right, I don't know how to fun the "peer" command-line too. I'm following the directions as defined here, but I keep getting stuck when they don't work. http://hyperledger-fabric.readthedocs.io/en/v0.6/Setup/Chaincode-setup/

marcovieira
2016-12-20 20:28
has joined #general

mike_dircz
2016-12-20 20:38
hi "hame63" thanks for the help. running the peer command-line tool with your directions is working

silliman
2016-12-20 20:48
@mike_dircz Yes @name63 's advice is solid for when using the Docker images, and while the first couple of sections in the URL you gave have sections for "vagrant" and "not vagrant", it seems like the section "Running the CLI or REST API" isn't as clear with regards to vagrant vs. non-vagrant ....

silliman
2016-12-20 20:50
@mike_dircz name63's advice is one way to go about it- log into the container and execute the CLI commands from there. Alternatively, from your local host, you should be able to execute the REST APIs because your docker compose file has exposed port 7050 (among others) from your docker container to your local host. What isn't made clear is that for the *peer network login* command, you can use the REST API shown just below it as an *alternative* to the *peer network login* command....

mike_dircz
2016-12-20 20:50
correct the directions are note clear. And i'm finding some errors in the commands as well.

mike_dircz
2016-12-20 20:51
i will try the REST APIs once the command lines are working

silliman
2016-12-20 20:52
@mike_dircz so two options are, login to the container as name63 suggested and issue the CLI commands from there, or, from outside send the REST APIs to localhost:7050 ... it looks like the doc states that REST API is an alternative to the CLI for chaincode deploy, invoke and query, but for the network login it doesn't clarify that they are alternatives

silliman
2016-12-20 20:57
@mike_dircz actually this general channel is sort of intended at a Hyperledger level which includes other projects besides Fabric (e.g., Sawtooth Lake, Iroha, etc) so if you run into other roadblocks you may consider posting it on the fabric channel - at least until somebody there asks you to take it to a more specific fabric-* channel :slightly_smiling_face:

mike_dircz
2016-12-20 20:59
ok will do silliman, thx

wrichter
2016-12-20 21:24
has joined #general

stevetolman
2016-12-20 23:27
has joined #general

alexjipark
2016-12-21 04:15
has joined #general

alexjipark
2016-12-21 04:19
Hi, I've been in trouble with a error message " (bzip2 data invalid: bad magic value in continuation file" when build fabric

alexjipark
2016-12-21 04:19
anyone can help me out,plz?

alexjipark
2016-12-21 04:20
Step 3 : ADD payload/goshim.tar.bz2 $GOPATH/src/ Error processing tar file(bzip2 data invalid: bad magic value in continuation file):

alexjipark
2016-12-21 04:32
I'm running on MAC OS

gokulamurthy
2016-12-21 05:18
Yes @vanio i got the chaincode id after deployment, how to pass it in the peer chaincode query command?

cafedy05
2016-12-21 05:43
has joined #general

jgerryts
2016-12-21 05:48
has joined #general

wwwangcai
2016-12-21 05:56
has joined #general

kotamat
2016-12-21 06:08
has joined #general

gokulamurthy
2016-12-21 07:08
Successfully triggered "Query" method using chaincode id in peer chaincode command with parameter "-n"

gokulamurthy
2016-12-21 07:09
but i struck with new issue now in invoke or query calls: 12:32:19.831 [chaincodeCmd] chaincodeInvokeOrQuery -> INFO 002 Successfully invoked transaction: chaincodeSpec:<type:GOLANG chaincodeID:<name:"88d3c1975aa259060bee9e2256916087de1b31c5b03948716c2dc4afbcb5ff0de0e9a00d9687c133e7af1b26db1a5037648efb93fe9b68baa7f1b51aa3887e3b" > ctorMsg:<args:"registerBillOfLading" args:"{\"blno\":\"10203040\", \"containernos\":\"CONT1000,CONT2000\", \"hazmat\":false, \"mintemperature\":-10, \"maxtemperature\":30, \"minhumidity\":0, \"maxhumidity\":50, \"minlight\":0, \"maxlight\":30, \"minacceleration\":0.01, \"maxacceleration\":2}" > secureContext:"jim" > (7422a1a0-2c6f-4d27-a8ee-ea42450fa23e) 12:32:19.831 [main] main -> INFO 003 Exiting..... root@cch1wtbloc01:/var/hyperledger# 12:32:20.820 [chaincode] processStream -> ERRO 041 Got error: [7422a1a0-2c6f-4d27-a8ee-ea42450fa23e]Chaincode handler FSM cannot handle message (ERROR) with payload size (145) while in state: ready

wangmzdl
2016-12-21 07:51
hello, what difference between hyperledger/fabric-baseimage and hyperledger/fabric-membersrvc on docker hub?

alexjipark
2016-12-21 09:22
anyone using Intellij to debug fabric?

tonykent
2016-12-21 09:22
has joined #general

davidpadbury
2016-12-21 09:26
has joined #general

alexjipark
2016-12-21 09:34
how do you guys even debug fabric?... TT

chaitanya
2016-12-21 09:43
@alexjipark I use `docker logs <peer>` to look for error messages, unless that was a rhetorical question :slightly_smiling_face:

alexjipark
2016-12-21 09:50
@chaitanya Thanx for your answer :slightly_smiling_face:.. I meant that any ide or tool can help debugging process with line by line debugging

alexjipark
2016-12-21 09:51
isn't it too difficult to debug only depending on error messages ?:)

chaitanya
2016-12-21 09:54
@alexjipark It indeed is a bit lengthy. You see it crash, then you check the logs, and at times the message may not be as informative either, when I search for the error in the source to get some idea about what caused it. Perhaps someone else has a better way of going about it? :thinking_face:

vukolic
2016-12-21 10:33
@alexjipark I am not sure how an ide with line by line debugging would help meaningfully debug a distributed, highly concurrent and Byzantine-prone system

alexjipark
2016-12-21 11:43
@vukolic yeap. on second thoughts, you make perfect sense. Thanx :slightly_smiling_face:

bfuentes
2016-12-21 12:48
@alexjipark can still watch logs of peer or chaincode containers

bfuentes
2016-12-21 12:49
Also can mock the blockchain network for debugging your chaincode locally

weeds
2016-12-21 13:21
@alexjipark They are trying to improve some of the logging content in January on Fabric. I suggest going over to fabric-dev channel though as I know the teams are watching this channel that work on Hyperledger-fabric.

weeds
2016-12-21 13:22
@mike_dirc have you tried looking here for docker images: https://hub.docker.com/u/ibmblockchain/

weeds
2016-12-21 13:23
@mike_dircz ^^

weeds
2016-12-21 13:24
These are free images on the 0.6 base and also have some pretty good instructions beyond what is in Hyperledger that might help you

shohokh
2016-12-21 13:24
has joined #general

benlewis
2016-12-21 13:33
Does anyone have rough performance figures for fabric?

benlewis
2016-12-21 13:38
I seem to be getting ~1000 restful invokes per second with a golang client, but was wondering if that's got scope for improvement

rasmus
2016-12-21 13:51
has joined #general

yuryandreev
2016-12-21 14:20
Somebody get following error on OS X? Step 3 : ADD payload/goshim.tar.bz2 $GOPATH/src/ Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/ccenv/.dummy-x86_64-0.7.0-snapshot-f9b68d4] Error 1

silliman
2016-12-21 14:26
@yuryandreev I think you have run into this common problem for OSX users...checkout the discussion leading up to @garisingh post yesterday on #fabric-dev

mtiutin
2016-12-21 14:28
has joined #general


rasmus
2016-12-21 14:36
Der er bland andet et link til hyperledger slack channel

ruslan
2016-12-21 15:08
Hello guys, I’m faced with a problem, how to connect fabric-cop and just fabric-network (orderer + peers). What config params I should use?

ruslan
2016-12-21 15:09
or If its impossible, how fabric cop operates with fabric network?

garisingh
2016-12-21 15:39
in V1 the peer and orderer don't ever connect to fabric-cop

qqlizhifeng
2016-12-21 15:50
has joined #general

joshhus
2016-12-21 16:49
The lower right corner here (http://hyperledger-fabric.readthedocs.io/en/latest/) lets readers choose the version of doc ... note that "latest" is v1.0, but is in progress / being updated / fluid. Contributors to updating doc for latest/v1.0 are always welcome ...

tzipih
2016-12-21 16:55
has joined #general

atom
2016-12-21 17:43
has joined #general

atom
2016-12-21 18:01
Well, I just had a nice adventure getting hfc to build on Windows 10... :disappointed:

jonathanlevi
2016-12-21 19:24
@atom: Can you share more details? (say in #fabric-dev or #fabric ?) How was it? :wink:

mister_fisc
2016-12-21 19:40
has joined #general

mike_dircz
2016-12-21 20:45
Thanks weeds, I will check out the v.06 docker documentation.

nickygencs
2016-12-21 20:55
has joined #general

nickygencs
2016-12-21 20:57
hey everyone I'm interested in setting up an instance of hyper ledger fabric for a small POC to use. I want to use JSON RPC can some recommend a good tutorial

shrike
2016-12-21 21:21
has joined #general

shrike
2016-12-21 21:24
Hi! Can someone tell me where can I create a bug/PR for `hfc` npm package? I'd expect https://github.com/hyperledger/fabric-sdk-node but it's clearly outdated - v0.0.2 while published package is v0.6.5

shrike
2016-12-21 21:26
`package.json` for `hfc` npm-package contains incorrect `typings` value, it should be ` "typings": "./lib/hfc.d.ts"` instead of `"typings": "hfc.d.ts"`.

tmartin
2016-12-21 21:34
has joined #general

viktor.nikolenko
2016-12-21 21:59
@shrike last commit to gerrit was 92 minutes ago, so repo is not outdated, it is rather question of versioning

eaokiwebb
2016-12-21 22:00
has joined #general

shrike
2016-12-21 22:02
ok, where is npm package publishing from? the `package.json` in gerrit doesn't have `typings` field at all. it's not the package that is on npmjs.org...

ymichael
2016-12-21 22:06
has joined #general

iceman3181
2016-12-21 22:49
has joined #general

yasu
2016-12-22 02:33
has joined #general

shakespeare
2016-12-22 02:38
has joined #general

shakespeare
2016-12-22 02:51
Hello, everyone, I'm a new comer in this group.

shakespeare
2016-12-22 02:52
Is there a channel only for fabric ? Thanks a million in advance.

shakespeare
2016-12-22 02:52
I wanna discuss or ask some questions about fabric.

harrijk
2016-12-22 03:10
@shakespeare, hello there, and welcome. you can try the #fabric channel

shakespeare
2016-12-22 03:11
@harrijk thanks so much , I have joined.

shakespeare
2016-12-22 03:13
@harrijk By the way, how to change my head portrait, the default one is ugly and not vivid. I wanna change my photos more handsome.

harrijk
2016-12-22 03:30
@shakespeare start here...


harrijk
2016-12-22 03:31
then...


harrijk
2016-12-22 03:31
and finally...


shakespeare
2016-12-22 04:45
@harrijk due to your help ,I have updated, thanks

shonj
2016-12-22 05:19
has joined #general

saqib
2016-12-22 05:19
has joined #general

joeyliu
2016-12-22 05:46
has joined #general

7sigma
2016-12-22 05:57
src/build-chaincode/asset_management.go:26:2: cannot find package "http://github.com/op/go-logging" in any of: vp0_1 | /opt/go/src/github.com/op/go-logging (from $GOROOT) vp0_1 | /opt/gopath/src/github.com/op/go-logging (from $GOPATH) [11:22] Pl let me know how can I fix the issue

zainx01
2016-12-22 07:18
hi guys

zainx01
2016-12-22 07:19
i'm having some trouble setting up a hyperledger peer network on dedicated machines on the same network. Is there a guide i can follow?

zainx01
2016-12-22 07:19
best


ibmamnt
2016-12-22 07:45
and this one too.


ibmamnt
2016-12-22 07:45
I guess Docker setup is most easy ones.

zainx01
2016-12-22 08:16
@ibmamnt these are for setting up a network using docker containers on the same machine, is there a similar guide for dedicated machines which can ping each other over the network?

ibmamnt
2016-12-22 08:26
@zainx01 Looks like there is no guide in the doc. You might want to ask #fabric channel what kind of issues are there to obtain assistance (though it is Christmas season, most are taking off).

sesselens
2016-12-22 08:53
has joined #general

zainx01
2016-12-22 09:00
okay thanks @ibmamnt

cosmicocean
2016-12-22 09:49
has joined #general

uber.twin
2016-12-22 09:51
has joined #general

haixu
2016-12-22 09:53
has joined #general

abhinav.garg
2016-12-22 10:17
i need steps to install hyperledger instaalation for windows,and what other softwares required?

111ibm111
2016-12-22 10:49
When confidentiality is turned on, the payload of block is encrypted. How can I decrypt this transaction payload when confidentiality is turned on ? Which API can i invoke?

111ibm111
2016-12-22 11:05
I know i should use the key of TCert. But, Which api is it?

petercur
2016-12-22 11:10
has joined #general

vinshu
2016-12-22 11:10
has joined #general

vinshu
2016-12-22 11:16
Hi

vinshu
2016-12-22 11:16
I am trying to a simple chaincode working with Window based Docker installation,

vinshu
2016-12-22 11:17
The issue is after building go chaincode

vinshu
2016-12-22 11:18
When I try to call the chaincode API from chrome postman plugin, it doesn't work.

vinshu
2016-12-22 11:18
http://<PEER_HOST>:<PEER_PORT>/chaincode

vinshu
2016-12-22 11:18
I have tried putting peer container ip and running port here

vinshu
2016-12-22 11:19
Am I doing something wrong??

vinshu
2016-12-22 11:19
This is the documentation I am following:-


benlewis
2016-12-22 11:25
@vinshu Have you forwarded the ports to your host?

vinshu
2016-12-22 11:26
as far as I know, I am using the docker images peer and membersrvc published on dockerhub,

vinshu
2016-12-22 11:26
Also I am not running Any app as such

jens
2016-12-22 11:26
has joined #general

vinshu
2016-12-22 11:26
just did a docker-compose up

benlewis
2016-12-22 11:26
I had the issue when I was missing the port forwarding options in the dockerfile

vinshu
2016-12-22 11:27
Do you have the copy of the commands you used

vinshu
2016-12-22 11:27
Just want to make sure if I am doing the right thing

benlewis
2016-12-22 11:27
ports: - "7050:7050"

benlewis
2016-12-22 11:28
I added that to my docker-compose file

benlewis
2016-12-22 11:28
below the links section

vinshu
2016-12-22 11:30
Ok let me tr

vinshu
2016-12-22 11:30
try that

benlewis
2016-12-22 11:45
@vinshu Did that work?

cosmicocean
2016-12-22 12:09
do we only have the “#general” topic?

vinshu
2016-12-22 12:44
Not really

vinshu
2016-12-22 12:46
@benlewis Error below for reference:-

vinshu
2016-12-22 12:46
PS D:\HyperledgerSetup> docker-compose up Removing starter membersrvc is up-to-date Starting peer Starting fde4b42b38e0_starter ERROR: for starter Cannot start service starter: Cannot link to a non running container: /e91bd9ac3341_peer AS /starter/peer ERROR: Encountered errors while bringing up the project.

zhoupeiyuan
2016-12-22 12:56
Does anyone have an experience in deploying fabric0.6 in multihost using docker?When in one computer,is success,but when I expand it to 4 computers,It fails.I would be appreciate if anyone could help.

wjq
2016-12-22 13:00
has joined #general

cecile
2016-12-22 13:03
has joined #general

bardhan.sanjay
2016-12-22 13:25
I am using HFC node sdk and deployment of chaincode returns incorrect chaincode so that query fails. Using latest HFC module v0.6.5. There was an issue

gkushnir
2016-12-22 13:37
has joined #general

weeds
2016-12-22 15:24
@bardhan.sanjay I suggest going to fabric-sdk-dev or fabric-sdk-node-dev to ask your questions. I know certain levels align to certain levels of fabric.

weeds
2016-12-22 15:24
@zhoupeiyuan There have definitely been deployments using multihosts in docker. I would suggest going to fabric- dev and asking your questions there.

weeds
2016-12-22 15:26
@comicocean I don't know which Hyperledger projects you are utilizing- but for fabric there are many channels. The general one for fabric is fabric-dev. Then they break down from there with experts int he different areas- all channels start with fabric,.. and there is a consensus-dev, crypto, gossip-dev, ledger-dev, sdk channels (again all starting with fabric-).

weeds
2016-12-22 15:27
@cosmicocean see above

series0ne
2016-12-22 16:12
has joined #general

markparz
2016-12-22 16:29
If you are not subscribed to the hyperledger fabric channel on youtube already please go out and do so to receive automatic notifications…. Otherwise you might have missed another great video showing how to upgrade chaincode, thank you @yaoguo!! https://youtu.be/hlJmRKo8HXE

caue
2016-12-22 16:37
has joined #general

vijayr24
2016-12-22 16:59
Hi all, I am building the fabric from scratch and getting the following error when I run the command make unit-test. Any pointers on how to fix this error? _Starting peer..DONE! Running tests... ? http://github.com/hyperledger/fabric/bddtests/chaincode/go/table [no test files] ok http://github.com/hyperledger/fabric/bddtests/syschaincode/noop 0.015s coverage: 71.0% of statements ? http://github.com/hyperledger/fabric/build/docker/gotools/obj/gopath/src/github.com/AlekSi/gocov-xml [no test files] ok http://github.com/hyperledger/fabric/build/docker/gotools/obj/gopath/src/github.com/axw/gocov 0.001s coverage: 100.0% of statements package http://github.com/hyperledger/fabric/build/docker/gotools/obj/gopath/src/github.com/axw/gocov/gocov imports http://github.com/axw/gocov/gocov/internal/testflag: use of internal package not allowed error: exit status 1 panic: EOF goroutine 1 [running]: panic(0x4daca0, 0xc42000a140) /usr/local/go/src/runtime/panic.go:500 +0x1a1 main.main() /home/ledger/hyperledger/gocode/src/github.com/AlekSi/gocov-xml/gocov-xml.go:60 +0x15fd Stopping peer.. make: *** [unit-test] Error 2


jaredpalmer
2016-12-22 19:41
has joined #general

roderik
2016-12-22 20:03
Has anyone made a comparison of hyperledger vs quorum? In theory they should match up, but the devil is in the details :slightly_smiling_face:

dennisflad
2016-12-22 20:58
has joined #general

vr
2016-12-22 21:43
has joined #general

michaeldedrick
2016-12-22 22:45
has joined #general

yuwei
2016-12-23 00:59
Hello Everyone. I can't find the fabric v0.6.2 in github. Could someone kindly give me a right url for fabric 0.62?

david.acton
2016-12-23 01:26
Hello @yuwei Try changing to the v0.6 branch. https://github.com/hyperledger/fabric/tree/v0.6

yuwei
2016-12-23 01:29
@david.acton: thanks

yls
2016-12-23 02:43
Why does the table column in chaincode have no float type?

daniellee
2016-12-23 03:18
Hi everyone, are there any instructions on connection between Hyperledger Fabric 1.0 and Fabric-COP? I try to setup environment for Fabric 1.0. However, the Hyperledger Documentation is not updated yet: http://hyperledger-fabric.readthedocs.io/en/latest/Setup/ca-setup/

allenzhang
2016-12-23 04:53
has joined #general

milkeg
2016-12-23 06:18
Hey everyone, is there a comparison between Hyperledger and Corda available ?

111ibm111
2016-12-23 06:19
When confidentiality is turned on, the payload of block is encrypted. How can I decrypt this transaction payload? Which API can i invoke?

swliu
2016-12-23 06:34
has joined #general

abhinav.garg
2016-12-23 06:54
what is the block size in hyperledger and can it is mandatory to keep database public in blockchain, n Please let me know a better documentation basics from scratch for hyperledger,as I read docs but unable to understand from where to start.Which software is neede foe execution,GIT bash,or windows cmd...

cca
2016-12-23 07:00
Anyone interested in learning aboug the cryptography behind blockchain and cryptocurrencies? Consider this winter school on Cryptocurrency and Blockchain Technologies in Shanghai, China, Jan 15- 17, 2017. http://blockchain.sjtu.edu.cn/ The lectures in the school will be given by world leading researchers in this area.

111ibm111
2016-12-23 07:10
¥5000?It is free in the United States.

luoll
2016-12-23 08:35
has joined #general

lignyxg
2016-12-23 10:29
has joined #general

mind7think
2016-12-23 10:42
has joined #general

benlewis
2016-12-23 10:55
I'm trying to run IBM's car lease demo on my local machine with docker, however the deployment fails with the following error: Error starting container: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage

weeds
2016-12-23 12:13
@ant2221 Ant any way you can help @benlewis possibly with car lease demo? Not sure if you are still around for holidays.

benlewis
2016-12-23 12:13
If not, don't worry, I can get the starter pack working so can develop based on that

weeds
2016-12-23 12:16
@abhinav.garg i think it would be much easier to start with the docker images that you can find here to start doing some experimentation: https://hub.docker.com/u/ibmblockchain/ . Because I wasn't clear on your question in terms of block size nor do I know what all companies are doing, i do know that with the version 0.6 version, there are companies that at minimum have 250,000 blocks with 1000 transactions per block running in production.

weeds
2016-12-23 12:18
@milkeg I do not know of a formal comparison between Hyperledger-fabric and Corda. There also is version 0.6 and version 1.0 of Hyerpledger-fabric. For Corda, they have published a whitepaper on line you could google. For the version 1.0 for Hyperledger-fabric, you could look at the following: https://wiki.hyperledger.org/community/fabric-design-docs.

weeds
2016-12-23 12:20
@111ibm111 I would suggest reaching out on the fabric-crypto channel to ask questions about confidentiality and encryption.

weeds
2016-12-23 12:22
@daniellee You could try the fabric-crypto channel for connection of fabric 1.0 and cop, but I suspect most people are traveling for holidays at this point.

mherdlei
2016-12-23 13:36
has joined #general

ant2221
2016-12-23 14:52
@benlewis I had the same issue when starting it up, specifying which build you are looking to use, it defaults to :latest if not but they have not got a complete :latest docker yet.

dayanand
2016-12-23 15:51
has joined #general

sibelius
2016-12-23 17:35
is there a channel to ask beginner questions?

sibelius
2016-12-23 17:36
I would like to register a list of users in the blockchain

sibelius
2016-12-23 17:36
and a list of companies

michael.w.klein
2016-12-23 20:22
has joined #general

janaka-steph
2016-12-23 21:21
has joined #general

rafael.turk
2016-12-23 22:09
Hi All

rafael.turk
2016-12-23 22:10
Who do you manage `user` rights and privileges when *creating*, *updating*, managing tokens?

sibelius
2016-12-23 23:11
Is there any example of unit testing chaincode using GO?

dourada
2016-12-24 00:56
has joined #general

hal_oishi
2016-12-24 02:11
has joined #general

bobquest33
2016-12-24 07:17
has joined #general

sajid
2016-12-24 08:26
has joined #general

foobarometer
2016-12-24 09:37
has joined #general

thuemmler
2016-12-24 11:03
has joined #general

yuryandreev
2016-12-24 12:15
who know how startup fabric with fabric-cop v1? This "get started" isn’t work for me http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/

sibelius
2016-12-24 13:26
@yuryandreev: try hyperledger docker-compose files https://github.com/yeasy/docker-compose-files

phil_sr
2016-12-24 16:25
has joined #general

mikem
2016-12-24 17:16
has joined #general

babary
2016-12-24 22:17
has joined #general

akira
2016-12-24 23:24
has joined #general

sanconnect
2016-12-25 08:28
has joined #general

serinth
2016-12-25 10:12
has joined #general

nargok
2016-12-25 11:58
has joined #general

vgu
2016-12-25 15:18
has joined #general

agiledeveloper
2016-12-25 23:42
has joined #general

mutanov
2016-12-26 02:56
has joined #general

bain
2016-12-26 04:39
@benlewis @ant2221 please tag the image for your machine manually. For example: `docker tag hyperledger/fabric-baseimage:x86_64-0.2.0 hyperledger/fabric-baseimage:latest`

mauricio
2016-12-26 06:38
has joined #general

lightningli
2016-12-26 06:43
has joined #general

rockman75
2016-12-26 07:11
has joined #general

dallai
2016-12-26 08:02
has joined #general

gokulamurthy
2016-12-26 09:43
Does any one can solve this issue on my local deployment: https://github.com/IBM-Blockchain/fabric-boilerplate/issues/22

vivek.raut
2016-12-26 10:31
I am always getting the below error when running the helloblockchain.js to try the HFC SDK against the bluemix blockchain service. Any pointers?

vivek.raut
2016-12-26 10:32
events.js:160 throw er; // Unhandled 'error' event ^ Error at ClientDuplexStream._emitStatusIfDone (/home/vagrant/workspace/SDK-Demo/node_modules/grpc/src/node/src/client.js:189:19) at ClientDuplexStream._readsDone (/home/vagrant/workspace/SDK-Demo/node_modules/grpc/src/node/src/client.js:158:8) at readCallback (/home/vagrant/workspace/SDK-Demo/node_modules/grpc/src/node/src/client.js:217:12) E1225 14:27:09.956789064 2065 handshake.c:128] Security handshake failed: {"created":"@1482676029.956737128","description":"Handshake read failed","file":"../src/core/lib/security/transport/handshake.c","file_line":237,"referenced_errors":[{"created":"@1482676029.956677376","description":"FD shutdown","file":"../src/core/lib/iomgr/ev_epoll_linux.c","file_line":948}]}

leonyan
2016-12-26 11:04
has joined #general

ranjan008
2016-12-26 11:14
when i am trying to deploy a chaincode in pbft consensus mode the view change goes in a loop why is this happening i am getting these logs continuously and the height of the blockchain is not increasing

ranjan008
2016-12-26 11:14

ranjan008
2016-12-26 11:16
where am i going wrong ?

vinshu
2016-12-26 11:24
Hi, So I built my go chaincode successfully and pushed the changes to github

vinshu
2016-12-26 11:25
I then go on to register the chaincode

vinshu
2016-12-26 11:25
Now when I try to deploy my chaincode I get an error

vinshu
2016-12-26 11:25

vinshu
2016-12-26 11:26
@vinshu uploaded a file: https://hyperledgerproject.slack.com/files/vinshu/F3JQCQK18/pasted_image_at_2016_12_26_04_56_pm.png and commented: This is the response I get. Have someone got this error??

ranjan008
2016-12-26 11:32
you fabric is running in development mode and in development mode you have to specify the name of the chaincode instead of the path

vinshu
2016-12-26 11:38
When you say name of the chaincode, should I put that in path param in chaincodeID??

vinshu
2016-12-26 11:38
Can you give me an example

vinshu
2016-12-26 11:38
{ "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID": { "path": "https://github.com/Vinshu/learn-chaincode/start" }, "ctorMsg": { "function": "init", "args": [ "Blockchains" ] }, "secureContext": "test_user0" }, "id": 1 }

vinshu
2016-12-26 11:39
This is my request

vinshu
2016-12-26 11:39
and chaincode_example2.go is the name of the file

vinshu
2016-12-26 11:39
@ranjan008 FYI

ranjan008
2016-12-26 11:40
no i dev mode first you have to run the chaincode in another console assigning a name for it and that name u have to use in name parameter in place of path


ranjan008
2016-12-26 11:40
go through the link they have mentioned how to run a chaincode in dev mode

satyam_agl
2016-12-26 11:44
error in installing the hfc module

satyam_agl
2016-12-26 11:44
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformTo olsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 w as not found. Install the required version of Windows SDK or change the SDK ver sion in the project property pages or by right-clicking the solution and select ing "Retarget solution". [C:\Users\satyam.agrawal\AppData\Roaming\npm\node_modu les\hfc\node_modules\sleep\build\node_sleep.vcxproj]

vinshu
2016-12-26 11:45
@ranjan008 hey ranjan,

vinshu
2016-12-26 11:46
@vinshu uploaded a file: https://hyperledgerproject.slack.com/files/vinshu/F3J3PJ4UQ/pasted_image_at_2016_12_26_05_16_pm.png and commented: I tried the steps listed here.

vinshu
2016-12-26 11:47
The chaincode compiles successfully

vinshu
2016-12-26 11:47
but when I tried to registed it using inline command

vinshu
2016-12-26 11:47
root@865ce7a7329e:/opt/gopath/src/github.com/Vinshu/learn-chaincode/start# CORE_CHAINCODE_ID_NAME=vinshu_cc C ORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_start

vinshu
2016-12-26 11:47
It gives me syntax errors

ranjan008
2016-12-26 11:48
can you post the errors you are getting

vinshu
2016-12-26 11:50
@ranjan008 Below is error trace

vinshu
2016-12-26 11:50
root@865ce7a7329e:/opt/gopath/src/github.com/Vinshu/learn-chaincode/start# CORE_CHAINCODE_ID_NAME=vinshu_cc C ORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_start.go ./chaincode_start.go: line 2: package: command not found ./chaincode_start.go: line 4: syntax error near unexpected token `newline' ./chaincode_start.go: line 4: `import ('

vinshu
2016-12-26 11:50
It seems some sort of syntax error but the chaincode build is successful

ranjan008
2016-12-26 11:54
when you are doing go build you are not getting any error ?

vinshu
2016-12-26 11:54
no

vinshu
2016-12-26 11:54
root@865ce7a7329e:/opt/gopath/src/github.com/Vinshu/learn-chaincode/start# go build ./ root@865ce7a7329e:/opt/gopath/src/github.com/Vinshu/learn-chaincode/start#

vinshu
2016-12-26 11:55
No errors.

vinshu
2016-12-26 11:55
Any suggestions??

ranjan008
2016-12-26 11:57
will have to see the chaincode

vinshu
2016-12-26 11:57
Would you like to coordinate offline

vinshu
2016-12-26 11:58
?

ranjan008
2016-12-26 11:58
or else you can check the other chaincodes and match whether some syntax conflict is there

ranjan008
2016-12-26 11:58
offline in the sense ?

vinshu
2016-12-26 11:58
Over email or skype

ranjan008
2016-12-26 11:58
k

ranjan008
2016-12-26 11:59
my email is

vinshu
2016-12-26 12:00
dropped you a mail

ranjan008
2016-12-26 12:03
i will test it in my system and will mail u back

vinshu
2016-12-26 12:12
Thanks Ranjan

ranjan008
2016-12-26 12:21
@vinshu you chaincode is good man its running fine in my system

ranjan008
2016-12-26 12:37
i think u might have missed mentioning package me in your file by mistake

abhijith
2016-12-26 13:05
has joined #general

kfioktistov
2016-12-26 13:15
has joined #general

shawny
2016-12-26 14:17
has joined #general

timehacker
2016-12-26 15:05
has joined #general

corentin
2016-12-26 15:12
Hi ! Is there a special chan for newbie questions ?

sibelius
2016-12-26 15:41
@corentin let’s create one, like #help

sibelius
2016-12-26 15:41
or something

corentin
2016-12-26 15:47
good idea :slightly_smiling_face:

corentin
2016-12-26 15:53
@sibelius I therefore created #help and asked for the first question, if you have any idea !

sibelius
2016-12-26 16:32
everytime I deploy a new chaincode it generates a new chaincode id?

sibelius
2016-12-26 16:32
can I deploy a chaincode that is not inside GOPATH?


kipharris
2016-12-26 19:44
has joined #general

muralisr
2016-12-26 19:53
@sibelius that an interface specification for chaincodes to be used by chaintool (information on this on https://github.com/hyperledger/fabric-chaintool)

muralisr
2016-12-26 19:54
the fabric-chaintool channel is a good place for questions regarding chaintool

muralisr
2016-12-26 19:54
or @ghaskins

sibelius
2016-12-26 19:54
tks

sibelius
2016-12-26 19:54
does it works on fabric 0.6?

muralisr
2016-12-26 19:55
I believe it does but do check on fabric-chaintool please

abhinav.garg
2016-12-27 04:22
Is it possible to make external service calls from chaincode? For example, if I need to lookup the current exchange rate or today's temperature using a public API how can I make that call from the chaincode? If external calls are allowed then there is a chance of each node providing a different output (non-deterministic behavior). So how will consensus be reached?

abhinav.garg
2016-12-27 04:29
Could anyone explain car lease demo in brief ,as from where API being called and from where web services being assigning for fetching

umasuthan
2016-12-27 04:38
@abhinav.garg, Theoretically speaking, external service calls are possible to make from chain code. However, that is definitely not recommended as it may render the hyper ledger inconsistent. One of the promises of hyperledger is replicability, i.e., given a world state, if we re-execure all txns in the same order, we should arrive at the same end state of the ledger. If we use external service, and if the service calls fail, or if the service calls returns different values at different point of time, we will end up rendering the shared ledger inconsistent and eventually there will not be any consensus among the peers (as each peers’ ledger copy is in different state). This is my understanding.

zhenbing
2016-12-27 06:08
has joined #general

vinshu
2016-12-27 06:35
@ranjan008 I tried with the dev documentation using below command and deployment worked

vinshu
2016-12-27 06:35
CORE_CHAINCODE_ID_NAME=mycc2 CORE_PEER_ADDRESS=172.17.0.3:7051 ./start Although I had to modify the IPs and names to make it work thanks for the help :+1:

bobshi
2016-12-27 08:30
has joined #general

vinshu
2016-12-27 08:57
Hi Team,

rick_reesen
2016-12-27 09:50
has joined #general

vinshu
2016-12-27 10:01
I am new to chaincode development. i have previously worked on Ethereum based dapps with contracts coded in solidity

vinshu
2016-12-27 10:02
From what I see in examples, there are Getstate and Putstate functions that we can use to write/read key value pairs to Ledger

vinshu
2016-12-27 10:03
Now if I need to save complex structured and objects, how can I do that???

vinshu
2016-12-27 10:03
Also is there any official API reference containing all chain code functions that I can refer??

umasuthan
2016-12-27 10:07
@vinshu, you can. Shim provides API through which you can create tables, insert, update and delete data. They are not relational tables, but more like object store.

vinshu
2016-12-27 10:08
Do you have

vinshu
2016-12-27 10:09
@umasuthan Do you have the link to the documentation??

vinshu
2016-12-27 10:09
And Is updation possible on ledger. I thought it's immutable

umasuthan
2016-12-27 10:16
You can refer to the samples. If you have cloned the fabric project, you can refer to the sample at /github.com/hyperledger/fabric/examples/chaincode/go/largerowsiter That has table operations. I was given to understand that under covers it uses Getstate and Putstate functions Coming to the immutability part, updating data is possible. However, the trail of transactions is immutable. Again that is how I have understood. May be someone can correct me.

sibelius
2016-12-27 10:25
@umasuthan I can’t find `largerowsiter` on fabric repo on github

umasuthan
2016-12-27 10:28
@sibelius & @vinshu, Sorry. My bad. This sample is available in V0.6 repo https://github.com/hyperledger/fabric/tree/v0.6/examples/chaincode/go/largerowsiter

sibelius
2016-12-27 10:29
tks, a Table is like a sql table or a mongodb collection?

umasuthan
2016-12-27 10:30
More like a collection. It is not a relational (SQL based) DB

umasuthan
2016-12-27 10:42
@vinshu & @sibelius , Some code snippet for your reference func TableOperations (stub shim.ChaincodeStubInterface) { err := stub.CreateTable(“TableName”, []*shim.ColumnDefinition{ &shim.ColumnDefinition{Name: “KeyColumnName”, Type: shim.ColumnDefinition_STRING, Key: true}, &shim.ColumnDefinition{Name: "ColumnName2", Type: shim.ColumnDefinition_STRING, Key: false}, &shim.ColumnDefinition{Name: "ColumnName3", Type: shim.ColumnDefinition_STRING, Key: false}, }) success, err := stub.InsertRow("TableName", shim.Row{ Columns: []*shim.Column{ &shim.Column{Value: &shim.Column_String_{String_: Val1}}, &shim.Column{Value: &shim.Column_String_{String_: Val2}}, &shim.Column{Value: &shim.Column_String_{String_: Val3}}, }, }) success, err := stub.ReplaceRow("TableName", shim.Row{ Columns: []*shim.Column{ &shim.Column{Value: &shim.Column_String_{String_: Val1}}, &shim.Column{Value: &shim.Column_String_{String_: Val2}}, &shim.Column{Value: &shim.Column_String_{String_: Val3}}, }, }) var columns []shim.Column keyColumn := shim.Column{Value: &shim.Column_String_{String_: KeyColumnName}} columns = append(columns, keyColumn) row, err := stub.GetRow("TableName", columns) }

sibelius
2016-12-27 10:43
tks for the help

umasuthan
2016-12-27 10:43
welcome

sibelius
2016-12-27 10:48
what about representing a relationship between 2 tables?

vinshu
2016-12-27 10:52
Thanks @umasuthan

goms143
2016-12-27 11:32
is it possible to create our own membersrvc image

goms143
2016-12-27 11:32
else customize the existing one

herelab
2016-12-27 13:16
has joined #general

pieterhaasnoot
2016-12-27 13:21
has joined #general

kpow
2016-12-27 13:32
has joined #general

kpow
2016-12-27 13:40
#general hello all I joined this slack because I am working on an ecoblockchain Hyperledger Bitcoin project for the AngelHack UAE global hackathon- anyone else here working on a project for that specific hackathon?

hananah
2016-12-27 13:49
has joined #general

umasuthan
2016-12-27 13:49
@sibelius, I think we have have the key of one table as a column in the other table to represent relationships. However, i don’t think we have impose referential integrity constraints. Those are to be handled through code.

juanjo
2016-12-27 14:50
has joined #general

ruslan
2016-12-27 14:57
what kind of communication type between cop and peer is being planned to implement? grpc?

ruslan
2016-12-27 15:00
I’ve found GetLocalMspConfig function, which gets sample security config from local dir, and I wanna try to implement something like GetRemoteMspConfig for myself

suranap
2016-12-27 16:07
Can a Fabric Peer host many Personas? For example, a shipping company deals with many truckers as contractors. Must every trucker run their own peer, or can a single peer handle many truckers _as if_ they were independent peers?

muralisr
2016-12-27 16:10
@ruslan you might want to take a look at the cop interactions in SDKs (say node sdk)

muralisr
2016-12-27 16:17
@suranap that’s really a decision of how you envision membership on the chain. e.g, if the chains “supplychain” with supplier, banks, ports, exchanges etc… you can imagine the trucker as a user on a “supplier” peer. On the other hand if the chain is a “monitor truck” chain (stretching a bit here to make a point :slightly_smiling_face: ) you can imagine truckers running their own peer

muralisr
2016-12-27 16:18
^^^ basically begs the question “what is my chain’s purpose ?"

suranap
2016-12-27 16:22
If a trucker is a user on a “supplier” peer, can they still sign transactions with their own keys, keep their data confidential from other truckers, etc? Or is it all mixed in under the supplier’s credentials?

sabaset
2016-12-27 16:28
has joined #general

muralisr
2016-12-27 16:31
@suranap to state it simply a wide variety of possibilities (but what you ask would be possible). Details on how this can be managed depends upon the application (client side and chaincode). fabric-crypto would be the channel for details (although I expect it’ll be quiet for a few more days)

mikkelpetersen
2016-12-27 16:36
has joined #general

mikkelpetersen
2016-12-27 16:37
Hey, quick question here, is there a faster way to retrieve all the blocks and get a list of it all for an auditor? Right now I'm doing it by sending a request from 0-xxxxxxx but it takes forever

eric_gieseke
2016-12-27 17:29
has joined #general

eric.gieseke
2016-12-27 17:33
has joined #general

kaikun213
2016-12-27 19:45
has joined #general

kris
2016-12-27 20:12
has joined #general

bean
2016-12-27 21:01
has joined #general

tjleach
2016-12-27 21:05
has joined #general

healthcr
2016-12-27 21:26
has joined #general

bcthinking
2016-12-27 21:33
has joined #general

venugopv
2016-12-28 03:36
has joined #general

kiuki
2016-12-28 04:15
has joined #general

huilixiang
2016-12-28 07:18
what is difference between discovery_root_node and vp?

hoyeongyun
2016-12-28 08:36
has joined #general

bardhan.sanjay
2016-12-28 09:39
Hi I need to apply confidentiality for a deploy transaction. Could you please tell me how to achieve this in hyperledger chaincode deployment

elton
2016-12-28 09:44
has joined #general

mpravatranjan
2016-12-28 11:29
has joined #general

mpravatranjan
2016-12-28 11:32
hi everyone .. i am completely new to hyperledger fabric and going to start it from scratch.. Any reference? Thanks in advance


sibelius
2016-12-28 12:01

sibelius
2016-12-28 12:01
I’ve tried to run a chaincode example

sibelius
2016-12-28 12:01
and I received this

sibelius
2016-12-28 12:02
does hyperledger chaincode changed?

sunil.r
2016-12-28 12:22
has joined #general

umasuthan
2016-12-28 13:49
@sibelius, The code snippet you have posted follows the latest method signatures (post V 0.6). I guess you are trying this code on Hyperledger V0.6

sibelius
2016-12-28 13:49
I’ve tried to run here


sibelius
2016-12-28 13:50
I’ve used govend to get dependencies for my chaincode deps

sibelius
2016-12-28 13:50
I guess that Go got the latest/master version instead

sibelius
2016-12-28 13:50
no version on Go is really a problem

umasuthan
2016-12-28 13:50
What is your fabric version?

sibelius
2016-12-28 13:52
I’m using Fabric 0.6

umasuthan
2016-12-28 13:53
But the Chaincode interface you are trying is not that of 0.6

umasuthan
2016-12-28 13:56

sibelius
2016-12-28 13:59

sibelius
2016-12-28 14:02
I’m implementing the right interface

sibelius
2016-12-28 14:03
with Init, Invoke and Query

sibelius
2016-12-28 14:03
I think this has changed on latest version of hyperledger fabric

sibelius
2016-12-28 14:03
to only include Init and Query

mpravatranjan
2016-12-28 14:10
in hyperledger official site I got two developer's guide 1. application developer's guide 2. fabric developer's guide. Which one to follow?

makimaki18
2016-12-28 14:16
has joined #general

umasuthan
2016-12-28 14:27
@sibelius, I checked the error message you posted, ISorry, got confused. You are compiling a V0.6 compliant chaincode with V1.0 fabric library. The signature of the Init method is as below for V 0.6 Init(stub ChaincodeStubInterface, function string, args []string) ([]byte, error) If you fabric is V1.0, the it will be as below: Init(stub ChaincodeStubInterface, function string, args []string) ([]byte, error) Check what is the Init signature you have in your code.

sibelius
2016-12-28 14:30
@umasuthan tks for the help, the problem was with govend

sibelius
2016-12-28 14:30
that got v1.0 instead of v0.6

mpravatranjan
2016-12-28 14:31
in hyperledger official site I got two developer's guide 1. application developer's guide 2. fabric developer's guide. Which one to follow?

umasuthan
2016-12-28 14:34
@mpravatranjan, My understanding is that, if you are planning to implement applications that runs on/using fabric follow 1. If you are planning to contribute to fabric project itself you need to follow 2

sibelius
2016-12-28 14:34
I’m trying to implement an application

sibelius
2016-12-28 14:34
I’ll keep with 0.6 for now

mpravatranjan
2016-12-28 14:49
@umasuthan in application developer's guide under "writing building chain code" it is asking to follow "development environment setup" , which is same in fabric developer guide also. are those the same??? in fabric network setup there is option for docker images pull request and gerrit pull. which pulling should i use? for the record, I am using ubuntu and don't want to use vagrant.

umasuthan
2016-12-28 14:58
@mpravatranjan, If you are planning to develop chaincode, you can follow the steps to set up you development environment using Docker images for deploying/testing code. If you are planning to contribute to fabric project then you can follow the steps to set up the Vagrant environment.

sibelius
2016-12-28 16:06
@umasuthan how can I print all the rows inside a Table

sibelius
2016-12-28 16:06
?

nickygencs
2016-12-28 17:18
can someone please explain what the "enrollSecret" is?

sibelius
2016-12-28 17:22
it is like a password

nickygencs
2016-12-28 17:24
one time however, correct?

nickygencs
2016-12-28 17:25
but when i try to register users for my POC i get

nickygencs
2016-12-28 17:25
{ "Error": "rpc error: code = 2 desc = Identity lookup error: sql: no rows in result set" }

sibelius
2016-12-28 17:26
try to create a new peer and membersrv

sibelius
2016-12-28 17:26
to see if it works

nickygencs
2016-12-28 17:26
where is membersrv.yaml located?

sscrogin
2016-12-28 19:05
has joined #general

rrapant
2016-12-28 19:28
has joined #general

jz
2016-12-28 20:22
quick question: how come a system chaincode cannnot be triggered on adding a new node? I am using v0.6. thanks!

bianca
2016-12-28 22:17
has joined #general

mikeward
2016-12-29 00:25
Hi all, for those in Sydney we have set a date for our second Corda User Group session - Feb 7th. We’ll be running a technical session to develop your first CorDapp. Register on meetup and come join a group of finance technology professionals. https://www.meetup.com/Sydney-Corda-Meetup/

kumargaurav
2016-12-29 03:02
has joined #general

trevoro
2016-12-29 04:51
has joined #general

madhava
2016-12-29 05:08
Hi All, am new to hyperledger project and trying to install v0.6 on to Ubuntu server, so far have installed go and then did the clone of fabric using "git clone -b v0.6 http://gerrit.hyperledger.org/r/fabric" cmd

madhava
2016-12-29 05:09
please suggets what cmds need to run to complete fabric installation,

madhava
2016-12-29 05:10
do i need to pull peer and memberservice images separately

madhava
2016-12-29 05:12
please help me with next step cmds

umasuthan
2016-12-29 05:38
@madhava, You may want to follow these instructions to set up your dev environment: http://hyperledger-fabric.readthedocs.io/en/v0.6/starter/fabric-starter-kit/

umasuthan
2016-12-29 05:39
Once you have the environment set up, you can follow the below instructions to get your first chaincode running on it http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#running-the-chaincode

madhava
2016-12-29 05:40
thank u @umasuthan let me follow these two doc's

umasuthan
2016-12-29 05:41
Welcome

passkit
2016-12-29 06:54
Hi All - new to the project but have a basic question regarding data persistence, security, recovery etc. that I cannot see in the documentation. Where/how is the chain and certificate data stored and what precautions need to be taken to to ensure it's persistence? What would happen for example if the membersrvc node crashed and was irrecoverable?

gaotong
2016-12-29 08:05
has joined #general

yongxinq
2016-12-29 08:35
has joined #general

garisingh
2016-12-29 09:23
@passkit - I'll give the shortest version of the answer for now (as we continue with the v1.0 release additional operational documentation will be added as we implement the v1.0 architecture / design). I'm not going to answer in the context of v0.6 as that version is based on a prior architecture and we are adding any new capabilities there nor will running that version in production actually be supported moving forward. Here's the v1.0 "highlights" *chain data* each *endorsing/committing peer* basically "stores" the following: 1. *file-based ledger* - we store the _blocks_ (each block contains transactions which create/update _keys_ in the system) using a file-based structure persisted on each peer's local file system. You can of course "back" this file up but there is also the ability for a peer to "recover" the ledger by communicating with other peers and/or ordering nodes to retrieve the entire ledger as well 2. *state store* - the state store holds the latest _value_ for each _key_ . The default state store is LevelDB (goLevelDB to be precise). We are also working on an optional CouchDB-based state store as well. Of course you can back this up as well, but think of the state store as more of a cache which can be rebuilt from the file-based ledger 3. *identity* - cryptographic material used by each peer to identify itself (typically be signing messages which flow through the system). The default provider is X509-based so you would typically need to minimally backup the private key (or store it in an HSM). You would also back up the X509 public key although technically you could generate a new certificate request using the private key *ordering nodes* The default ordering service for v1.0 is crash fault tolerant and based on Kafka so we can leverage best practices for deploying a CFT cluster of Kafka nodes. Additionally, there are _shim_ nodes which provide the external interface(s) for the ordering service and each of them maintains a file-based ledger of "blocks" as well. This is basically the same thing as the file-based ledger above for the peers *certificate data* in the v1.0 architecture, we have removed the "dependency" between peer nodes and fabric-cop (which takes the place of membersrvcs). fabric-cop supports fault tolerant deployments (e.g. multiple nodes) but again you'd need to minimally back up things like the certificate signing pair, revocation lists and if you use transaction certificates there are certain pieces of info which need to be backed up. The good news is that the storage for this info is actually a database (e.g. MySQL, Postgres) so you would simply follow standard procedures there. There is also a bunch of crypto material which is actually distributed via the blockchain itself to all of the peer nodes (e.g. channel membership, trusted toot authorities, etc) so all of that information persisted to the chains themselves More to come, but hopefully this gives you the basic idea

prabhatsharma
2016-12-29 09:35
has joined #general

utzenstorf
2016-12-29 10:08
has joined #general

abhijeet.jaswal
2016-12-29 10:42
has joined #general

mpravatranjan
2016-12-29 10:47
Hi, when i was trying to run "go build" command inside the chaincode_example02 i got the following error

mpravatranjan
2016-12-29 10:48
./chaincode_example02.go:37: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:74: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:91: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:148: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:165: undefined: shim.ChaincodeStubInterface

passkit
2016-12-29 10:48
@garisingh Thanks so much for taking the time to explain. I have tried to build the latest V1 images, but I’m having some trouble and multiple tests are failing. Are there any pre-built docker images like with the v0.6?

garisingh
2016-12-29 10:57
@passkit - unfortunately that is a work in progress - hopefully we'll start publishing soon. There's a lot of active development and many changes going on prior to the holiday so timing was not quite right in terms of publishing images. But it should be much easier to build images. BTW - can we move this chat over to the #fabric and/or #fabric-dev channel since this is a general channel for all of Hyperledger?

mpravatranjan
2016-12-29 11:07
when i was trying to run "go build" command inside the chaincode_example02 i got the following error ./chaincode_example02.go:37: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:74: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:91: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:148: undefined: shim.ChaincodeStubInterface ./chaincode_example02.go:165: undefined: shim.ChaincodeStubInterface

mpravatranjan
2016-12-29 11:10
please help me with the above error. And also inside my "fabric" folder (I pulled this from gerrit) there is no "build" folder created.

umasuthan
2016-12-29 11:38
Go is not able to resolve the dependencies. How does your folder structure look?

mpravatranjan
2016-12-29 11:59
@umasuthan .. "/$GOPATH/src/github.com/chaincode_example02"

umasuthan
2016-12-29 12:00
And do you have the hyperledger/fabric folder under /$GOPATH/src/github.com?

umasuthan
2016-12-29 12:01
in otherwords chaincode_example02 folder and hyperledger folder should be at the same level

dhimrich
2016-12-29 12:05
has joined #general

mpravatranjan
2016-12-29 12:10
@umasuthan yes I have "hyperledger/fabric" & "chaincode_example02" folders are in the same folder path. But after pulling "fabric" from gerrit I am unable to run "go build" and also there is no "build" folder inside fabric by default.

umasuthan
2016-12-29 12:15
I don’t think you will see a build folder inside fabric folder. The errors you posted are because of the package resolution failures. Did you make any changes to the example code?

mpravatranjan
2016-12-29 12:47
@umasuthan I just deleted fabric and chaincode_example02 and pulled those two again. mkdir -p $GOPATH/src/github.com/chaincode_example02/ cd $GOPATH/src/github.com/chaincode_example02 curl --request GET https://raw.githubusercontent.com/hyperledger/fabric/master/examples/chaincode/go/chaincode_example02/chaincode_example02.go > chaincode_example02.go mkdir -p $GOPATH/src/github.com/hyperledger cd $GOPATH/src/github.com/hyperledger git clone http://gerrit.hyperledger.org/r/fabric cd $GOPATH/src/github.com/chaincode_example02 go build Surprisingly it came up with a new error for "go build" . previous errors didn't come up ../hyperledger/fabric/core/util/utils.go:28:2: cannot find package "http://github.com/hyperledger/fabric/metadata" in any of: /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric/metadata (vendor tree) /opt/go/src/github.com/hyperledger/fabric/metadata (from $GOROOT) /opt/gopath/src/github.com/hyperledger/fabric/metadata (from $GOPATH)

umasuthan
2016-12-29 13:44
can you navigate to chaincode_example02 and run the command : go build ./

mpravatranjan
2016-12-29 14:09
@umasuthan go: unknown subcommand "build./" Run 'go help' for usage.

umasuthan
2016-12-29 14:20
there should be a space between build and ./

mpravatranjan
2016-12-29 14:24
@umasuthan .. same issue with "go build ./" .. can't i add missing package from somewhere?

yuanzhao
2016-12-29 14:55
has joined #general

raji
2016-12-29 15:01
has joined #general

madhava
2016-12-29 15:56
All the peer is running for some time and stopping with "ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running? If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. " this error, any idea what would be the issue

fabian_hinsenkamp
2016-12-29 16:13
has joined #general

madhava
2016-12-29 16:33
i ran docker-compose --debug up cmd to see the more logs and i found "docker.auth.auth.load_config: File doesn't exist"

madhava
2016-12-29 16:34
can some one please help me to resolve the issue i tried many things but still its not resloved

lynchjw
2016-12-29 18:28
has joined #general

amedesai
2016-12-29 18:33
has joined #general

tvojamama
2016-12-29 18:58
has joined #general

mohanv
2016-12-29 19:02
@umasuthan not sure which version of the fabric you are running. However, in either case 0.6 or 1.0, I was able to build the example02.go that comes by default. In the version you have curled, you have some issues ...stub.GetFunctionAndParameters undefined (type shim.ChaincodeStubInterface has no field or method GetFunctionAndParameters)

mohanv
2016-12-29 19:03
@umasuthan .. can you try and build the default example02 under the #fabric/examples directory

ratnakar
2016-12-29 19:34
@mpravatranjan, Not really sure why you had to delete the whole fabric folder. To build chaincode_example02 you would need all the depndent libs which are available in fabric. Instead of building the chaincode from this folder `$GOPATH/src/github.com/chaincode_example02`, can you try building from this folder `$GOPATH/src/github.com/fabric/examples/chaincode/go/chaincode_example02`

dragan
2016-12-29 20:12
has joined #general

sanyaade
2016-12-29 21:41
has joined #general

tab
2016-12-29 23:12
has joined #general

liujinlong
2016-12-30 02:24
has joined #general

forestjqg
2016-12-30 03:05
Hell everyone: I start 4 vp for a test enviroment for hyperledger/fabric and deploy one chaincode. I called randdom function in the invoke function to produce a random number in the chaincode.The code is as following: I tried to run them in the 4 VP test enviroment. I found the random result is different on each of VP, but the 4 vp test enviroment did not report any error and let chaincode run My quesiton is: 1. Why consencus In hyperledger can reach agreement to let chaincode to run successfully although the chaincode the random value is different on different VP? 2. What is concrete transanction process? Who can help to answer it? Thanks jia qinggang ... func GetRandomInt(len int) (int, error) { rnd, err := http://rand.Int(rand.Reader, big.NewInt(100)) if err != nil { fmt.Printf("http://rand.Int() error : %v \\n", err) } fmt.Printf("http://rand.Int() : %v \\n", rnd) return int(rnd.Int64()), nil } func (t *HelloWorldChaincode) Invoke(stub shim.ChaincodeStubInterface, function string, args []string) ([]byte, error) { fmt.Printf("HelloWorld - Invoke called with function %s!\n", function) if args[0] == "randInt" { rdInt, _ := GetRandomInt(0) stub.PutState("randInt", []byte(strconv.Itoa(rdInt))) helloLogger.Debug("get random int=" + strconv.Itoa(rdInt)) fmt.Printf("get random int=" + strconv.Itoa(rdInt)) return nil, nil } return nil, nil } .....

umasuthan
2016-12-30 03:45
@mohanv, Thanks for the post. I am able to run. It is @mpravatranjan who ran into issues. Hope he saw your message.

shaggy_kp
2016-12-30 04:06
I am trying to deploy my chaincode within a service I created in the IBM Bluemix Blockchain. It seems to take a very long time before my node.js app times out waiting for the chaincode to deploy. Thus, failing to delpoy the chaincode and getting back a chaincode ID. I created a service a few days ago trying to do the same thing and it worked instantly. Have other's experienced similar issues when deploying to Bluemix IBM Blockchain?

abhinav.garg
2016-12-30 04:10
Hi, I saw sample on youtube relates with Hyperledger for art auction. I want to deploy to my local machine.Please provide me a proper installation guide for it. I tried github sample but i am much confused related what additional softwares like vagrant,node .js installation for ubuntu. please took a king consideration.

babedev
2016-12-30 04:18
has joined #general

sengloong
2016-12-30 04:46
hello people

sengloong
2016-12-30 04:47
I found out that Certificate Authority (CA) server which the membersrvc was not available?

sengloong
2016-12-30 04:48
I cannot execute "make membersrvc"

madhava
2016-12-30 05:53
Hello All, when ran go build for example02 am getting "./chaincode_example02.go:38: stub.GetFunctionAndParameters undefined (type shim.ChaincodeStubInterface has no field or method GetFunctionAndParameters) ./chaincode_example02.go:75: stub.GetFunctionAndParameters undefined (type shim.ChaincodeStubInterface has no field or method GetFunctionAndParameters) ./chaincode_example02.go:193: cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start: *SimpleChaincode does not implement shim.Chaincode (wrong type for Init method) have Init(shim.ChaincodeStubInterface) ([]byte, error) want Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error) " this error

madhava
2016-12-30 05:54
i see both peer and member containers are running

madhava
2016-12-30 05:54

madhava
2016-12-30 05:56
please help me to reslove the issue

mpravatranjan
2016-12-30 05:58
@mohanv @ratnakar @umasuthan .. i tried $GOPATH/src/github.com/fabric/examples/chaincode/go/chaincode_example02 .. same issue

paultwa2006
2016-12-30 06:01
has joined #general

paultwa2006
2016-12-30 06:19
hi

abhinav.garg
2016-12-30 06:21
hi @paultwa2006

madhava
2016-12-30 08:19
Hi All when i try to run peer cmd am getting peer not found error could some one please provide a solution i pulled v0.6 fabric only

madhava
2016-12-30 08:19
No command 'peer' found, did you mean: Command 'beer' from package 'gerstensaft' (universe) Command 'pee' from package 'moreutils' (universe) Command 'pear' from package 'php-pear' (main) Command 'peet' from package 'pipexec' (universe) peer: command not found

mpravatranjan
2016-12-30 09:01
@umasuthan .. i succeeded in " go build " .. for that i had to remove the docker images .. when i re-pulled the peer and membersrvc again, the "go build" for chaincode_example02 issue was not there and it created "chaincode_example02" executable file. Now I am facing the same issue as @madhava (in the above comment).. when i googled about it everyone is talking about the "$GOPATH/src/github.com/hyperledger/fabric/build/bin/" ,.. but there is no build folder inside fabric folder.. any help on that?

akogun
2016-12-30 09:06
has joined #general

yanncarlier
2016-12-30 09:43
has joined #general

tonykent
2016-12-30 09:44
Hi. Please take a look at my article here about Hyperledger vs Corda (pt.1) - https://medium.com/chain-cloud-company-blog/hyperledger-vs-corda-pt-1-3723c4fa5028

mpravatranjan
2016-12-30 12:07
When i am trying to run "make peer" command inside fabric folder it's giving an error "core/committer/txvalidator/validator.go:20:2: cannot find package "context" in any of: /opt/gopath/src/github.com/hyperledger/fabric/vendor/context (vendor tree) /opt/go/src/context (from $GOROOT) /opt/gopath/src/context (from $GOPATH) make: *** [build/bin/peer] Error 1 "

madhava
2016-12-30 15:22
Hi All, when i try to run the chaincode "ubuntu@ip-20-0-4-206:~/work/src/github.com/hyperledger/fabric/build/bin$ ./peer chaincode deploy -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}' 2016/12/30 15:20:55 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 2016/12/30 15:20:56 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} Error: Error building chaincode: Error trying to connect to local peer: grpc: timed out when dialing

madhava
2016-12-30 15:22
am getting conn rest error

leinike
2016-12-30 19:13
has joined #general

onlinebaba
2016-12-30 20:43
has joined #general

kippi
2016-12-31 01:10
has joined #general

abueesp
2016-12-31 02:16
has joined #general

pdavis
2016-12-31 03:03
has joined #general

rahulhegde
2016-12-31 03:44
v1.0 compiled peer binary doesn't have network login command, how should fabric peer authentication be performed/protocoled? Can REST approach can still be used to launch the chaincode as shown in documentation for chaincode example02?

mathina
2016-12-31 07:14
has joined #general

paoi
2016-12-31 08:22
has joined #general

dannysun
2016-12-31 10:09
has joined #general

weizard
2016-12-31 15:13
has joined #general

benoitclerget
2016-12-31 16:25
has joined #general

olu
2016-12-31 18:29
has joined #general

ellab
2016-12-31 19:57
has joined #general

aberwag
2016-12-31 22:45
has joined #general

peterkaminski
2017-01-01 00:55
has joined #general

sengloong
2017-01-01 06:23
Happy new year

tooraj.musk
2017-01-01 10:44
has joined #general

conradjohnson
2017-01-01 21:44
has joined #general

marikkannan
2017-01-02 02:21
has joined #general

madhava
2017-01-02 04:13
Happy New Year all

sankar2389
2017-01-02 05:45
has joined #general

manojsherkhane
2017-01-02 06:22
has joined #general

locusf
2017-01-02 07:16
has joined #general

gmuecke
2017-01-02 08:01
has joined #general

manugo
2017-01-02 11:11
has joined #general

aymon
2017-01-02 12:45
has joined #general

ybiniam
2017-01-02 12:46
has joined #general

thojest
2017-01-02 12:59
happy new year

karthikimg
2017-01-02 14:06
has joined #general

vikas1
2017-01-02 14:09
has joined #general

li3145
2017-01-02 14:47
has joined #general

supercat
2017-01-02 14:48
has joined #general

iyawat
2017-01-02 15:31
I am trying to setup my Hyperledger docker container to join with my node on Bluemix. Could you please help enlight on how to do such that ?

spiro
2017-01-02 15:36
Is there a data model available describing hyperledger/blockchain?

sibelius
2017-01-02 15:38
@iyawat u can use addPeer method of hfc to add your node to your fabric network

madhava
2017-01-02 17:01
Hi All, am trying to run car lease demo on Ubuntu, when i ran ./start.sh am getting below error

madhava
2017-01-02 17:01
docker-compose -f $DIR/docker-compose.yml kill; ERROR: In file '/home/ubuntu/cardemo/car-lease-demo/docker-compose.yml' service 'version' doesn't have any configuration options. All top level keys in your docker-compose.yml must map to a dictionary of configuration options.

madhava
2017-01-02 17:02
could you please help on this issue

thojest
2017-01-02 17:04
@madhava would be helpful to see your compose file

pvsuresh
2017-01-02 17:10
has joined #general

madhava
2017-01-02 17:17
@thojest here is the file

madhava
2017-01-02 17:17

madhava
2017-01-02 17:20
when i commented version am getting different error "# Clean up old docker containers docker-compose -f $DIR/docker-compose.yml kill; ERROR: Validation failed in file '/home/ubuntu/cardemo/car-lease-demo/docker-compose.yml', reason(s): Unsupported config option for 'services' service: 'car-lease-demo'"

madhava
2017-01-02 17:21

fdinis
2017-01-02 17:24
has joined #general

i.tchangalov
2017-01-02 19:01
has joined #general

sibelius
2017-01-02 19:06
@madhava try this boilerplate


spiro
2017-01-02 21:29
I'm new to chaincode, I find setup of the hyperledger a non consistent process. I repeat the steps of registering the chaincode with peer (the code is ready & built) but CORE_CHAINCODE_ID_NAME=mycc is not recognized... I assume I'm executing this command within the code directory, which is within the gopath/src folder?!

ivan.j.cabral.flores
2017-01-02 21:36
has joined #general

spiro
2017-01-02 21:37
Also to run CLI command I need vagrant up, but I get the error: Command: ["startvm", "22cb8a5e-99ac-4586-a498-b95a55743fb4", "--type", "headless"] what does this mean?

simers
2017-01-02 22:41
has joined #general

spiro
2017-01-02 22:54
So it was successful once. After a PC restart hours later (docker-compose up once more), I have REST interface, but I can not rerun the CORE_chaincode_ID_NAME AGAIN. So its already linked. So I would have to take every thing down first?!

garisingh
2017-01-02 23:27
@spiro - a bit unclear what you are actually trying to do / doing?

spiro
2017-01-02 23:39

spiro
2017-01-03 00:07
Garishingh, how would you do the setup, after the docker-compose is up?

ricjhill
2017-01-03 00:21
Is this repo deprecated? I expected to find more open issues https://github.com/hyperledger/fabric/labels

ricjhill
2017-01-03 00:27

garisingh
2017-01-03 00:33
@ricjhill - Github is now just a mirror - we use Gerrit now -https://gerrit.hyperledger.org/r/#/admin/projects/fabric,branches

ricjhill
2017-01-03 00:44

ricjhill
2017-01-03 00:44
the open issues are in gerrit now?

ricjhill
2017-01-03 00:46
these are all assigned https://gerrit.hyperledger.org/r/#/q/status:open , im issing something basic here :slightly_smiling_face:

garisingh
2017-01-03 00:57
oops - sorry - we use JIRA for requirements - https://jira.hyperledger.org/projects/FAB/summary

ricjhill
2017-01-03 01:08
thanks im reading it now

liuwei19751021
2017-01-03 01:32
has joined #general

wangmzdl
2017-01-03 02:52
As more time on hyperledge, it's really brilliant idea, a game changer compare to the traditional Apps.

wangmzdl
2017-01-03 02:52
Thanks you guys to bring it into real world~

wangmzdl
2017-01-03 02:54
Just curious, Could chaincodeinvoke chaincode automatically inside Peer? I haven't gain enough knowledge to understand it so far.

muralisr
2017-01-03 03:19
@wangmzdl chaincode interfas has an API to invoke another chaincode in the fabric

muralisr
2017-01-03 03:19
hope that answers the question ?

wangjie
2017-01-03 03:21
hello everyone , what is the meaning of the epoch ? It is the block or the time?

umasuthan
2017-01-03 04:21
@muralisr, Can you point me to the interface that needs to be implemented for invoking another chaincode in the fabric? Thanks

muralisr
2017-01-03 04:26
@umasuthan can you take a look at chaincode_example05 or chaincode_example04

umasuthan
2017-01-03 04:27
Thanks Murali, for the pointer. This is very helpful as we want to tryout in one of the PoCs

muralisr
2017-01-03 04:28
sure thing

jimme
2017-01-03 04:55
has joined #general

jayphillips
2017-01-03 05:43
has joined #general

wangmzdl
2017-01-03 06:39
thank you very much, found it, I was thinking it's only for the one created :blush:

wangmzdl
2017-01-03 06:39
Another question, it kill me much time, I still didn't figure out

wangmzdl
2017-01-03 06:44
@wangmzdl uploaded a file: https://hyperledgerproject.slack.com/files/wangmzdl/F3KUABPCZ/pasted_image_at_2017_01_03_02_42_pm.png and commented: I want to find how Hyperledge serialize "cc", then Stream send the message during deployment of Chaincode, pls kindly advise where it is in the sourcde

wangmzdl
2017-01-03 06:44
source code

wangmzdl
2017-01-03 07:13
or did hyperledge serialize "cc" and send it to Peer grpc server? got confused

nagasrid
2017-01-03 07:26
has joined #general

ziyuan
2017-01-03 08:00
Happy new year

saikondaveeti
2017-01-03 08:28
has joined #general

jochen_k
2017-01-03 08:58
has joined #general

mtnieto
2017-01-03 09:05
has joined #general

mtnieto
2017-01-03 09:06
Hi, I'm trying to connect two or more nodes of Hyperledger Fabric but I can't find the documentation, is there anyone with a tutorial? Thanks

mpovel
2017-01-03 09:14
has joined #general

saikondaveeti
2017-01-03 09:55
@mtnieto : you can check hyperledger/fabric/bddtests folder where multiple Docker-compose files exist with various configurations. I am also beginner..hope it helps

saikondaveeti
2017-01-03 09:59
Can anybody please explain the significance or meaning of In single peer scenario vp0 ports: -"7050:7050" And in multiple peer scenario vp1: ports: -"8050:7050"

mtnieto
2017-01-03 10:02
@saikondaveeti thanks! I hope it will helps me, I have tried to connect two nodes like in the hyperledger documentation ( https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Network-setup/#setting-up-a-network ) but the peers doesn't connect each other

priscilaestrela
2017-01-03 10:05
has joined #general

harsha544
2017-01-03 10:06
@mtnieto @saikondaveeti Try this https://github.com/IBM-Blockchain/fabric-images , it has 4X1 and 1X1 Blockchain Network setup captured in docker-compose. Might give you an idea !!

julianroca
2017-01-03 10:11
has joined #general

priscilaestrela
2017-01-03 10:14
Hi. A have a doubt about the chaincode storage. Where are storage the chaincode data? When I deploy the chaincode it will live in the blockchain and the data input through the invoke will compose the chaincode?

priscilaestrela
2017-01-03 10:15
Or not?

danirumpi
2017-01-03 10:19
has joined #general

abhishekseth
2017-01-03 11:08
hey all, Could anyone please tell where is the dockerfile inside fabric which contains command `go get` which is used at the time of chaincode deployment?

samsmith
2017-01-03 11:28
has joined #general

abhijit_singh
2017-01-03 11:30
has joined #general

garisingh
2017-01-03 11:45
@abhishekseth - if you are using the NodeSDK for v0.6, the content of the Dockerfile used for chaincode images is actually hard-coded: https://github.com/hyperledger/fabric/blob/v0.6/sdk/node/src/hfc.ts#L1759 I believe the same holds true for the Java SDK as well If you are still using the REST API, the base content for Dockerfile content is defined in `core.yaml` here: https://github.com/hyperledger/fabric/blob/v0.6/peer/core.yaml#L272 and then chaincode specific info is added in the peer code - for example for Go-based chaincode see here: https://github.com/hyperledger/fabric/blob/v0.6/core/chaincode/platforms/golang/package.go#L62 Note: Golang chaincode does not actually use `go get` - it uses `go install` . The only place where `go get` is used is prior to creating the chaincode container when you deploy chaincode via the REST API using the "path" parameter and include "http/https" in the path: https://github.com/hyperledger/fabric/blob/v0.6/core/chaincode/platforms/golang/hash.go#L118

ariks
2017-01-03 11:45
has joined #general

dgorman
2017-01-03 12:11
Hi @tonykent Nice article :slightly_smiling_face: In the Basic Features Table of comparisons, it says Fabric doesn’t have blocks which I’m not sure is 100% accurate.

qingdu
2017-01-03 12:18
has joined #general

thojest
2017-01-03 13:32
hey guys i have checked out marbles from ibm and would like to create a similar app. can i find instructions anywhere on how to build up the website and especially the communication between chaincode and browser?

b.desmond
2017-01-03 14:17
has joined #general

dgorman
2017-01-03 16:47
Hi @thojest , There’s a few examples of node.js apps using the HFC SDK here: https://github.com/IBM-Blockchain. This might be useful too: https://github.com/angrbrd/hyperledger-fabric-basics

mwes
2017-01-03 16:51
has joined #general

sibelius
2017-01-03 16:54

mwes
2017-01-03 16:56
is this the right place for sawtooth lake questions

boydjohnson
2017-01-03 16:57
@mwes Try the #sawtooth channel.

richcobrien
2017-01-03 18:21
has joined #general

hinoue
2017-01-03 18:56
has joined #general

jburgam
2017-01-03 19:13
has joined #general

sukrit
2017-01-03 20:53
has joined #general

samcregg
2017-01-03 20:53
has joined #general

markparz
2017-01-03 20:55
Thanks @jzhang New SDK Video posted on youtube, including how build outside of vagrant! https://www.youtube.com/watch?v=t7PcpkIoGAc

fdpoeta
2017-01-03 21:01
has joined #general

iggyig
2017-01-03 21:42
has joined #general

priscilaestrela
2017-01-04 00:17
Why I need used vagrant for run in security way?

kylej762
2017-01-04 00:47
has joined #general

jzhang
2017-01-04 04:12
Please note that at around 15:06 the screenshot showed that the resulting block from “step2” has [0] transactions, meaning the failure from VSCC is actually valid (despite what I said in the video). This is due to a bug that will be fixed by @yuki.k in https://gerrit.hyperledger.org/r/#/c/3569

rguy88
2017-01-04 04:22
has joined #general

spiro
2017-01-04 04:56
I have been practicing the chain code registration methods, first, (1/4 peer) examples then from hyperledger fabric example. So for development purposes for running my own code (chain-code operations within "init") what is the most effective method in environment setup. Should I setup with a admin-user, to all retesting as needed? Is Windows able to fully run the Hyperledger server correctly?

vinshu
2017-01-04 05:02
Is there any way to write a go structure to the ledger(say in write function) and then retrieve a particular member of that structure using read?

vinshu
2017-01-04 05:03
I have tried writing the structure(say Asset) using Putstate stub.PutState but I am getting a lot of errors while building my chaincode

vinshu
2017-01-04 05:04
Is there any best practice for it??

spiro
2017-01-04 05:08
For a local setup, how can I best register my local hyperledger chaincode_ID? This part I can't get to work consistantly, even though dock-compose is UP, with address 0.0.0.0:7051 set, let alone my chain_code? Anyone, @anya, @garisingh

abhishekseth
2017-01-04 05:15
@garisingh, okay.. Let me tell u my problem actually. Assume I am using REST API to deploy chaincode. I want to give the private git repo path as chaincodepath. But I am getting errors in that. Can you tell me how do I achieve that?

humblealex
2017-01-04 05:27
@forestjqg Yes, I have encountered the same issue. I guess you are running v0.6. In v0.6, the chaincode is ran after the consensus has reached agreement, which means the consensus part does not check what result of the chaincode being executed. That is why the random number can be put into the worldstate. It has been indicated that in v1.0, this problem will be solved, for the chaincode reslult will be attained first, and then goes to consensus.

vinshu
2017-01-04 05:38
@abhishekseth Are you deploying in prod or dev? If you are using dev mode you need to deploy the chaincode with inline command :-

xinziy
2017-01-04 05:38
has joined #general

vinshu
2017-01-04 05:38
CORE_CHAINCODE_ID_NAME=<any name> CORE_PEER_ADDRESS=<Peer Ip and path>

abhishekseth
2017-01-04 05:39
@vinshu, I am running in non-dev mode.

vinshu
2017-01-04 05:40
@spiro Same as I told Abhishek, Also you need to expose the REST listening port to a host port for calling outside the docker(from say a browser)

vinshu
2017-01-04 05:41
Is the code on your repo syntatically correct? Have you tried building the go code and then pushing it to Git?

shhasamn
2017-01-04 06:10
has joined #general

conroydave
2017-01-04 06:32
has joined #general

fiona
2017-01-04 06:46
has joined #general

hustonlam
2017-01-04 07:03
has joined #general

akryczka
2017-01-04 07:06
has joined #general

kai
2017-01-04 08:17
has joined #general

thojest
2017-01-04 08:58
@sibelius @dgorman thx a lot

thojest
2017-01-04 09:02
is there any other website one needs to check out on a daily basis apart from this slack?

thojest
2017-01-04 09:03
like some active reddit or another important news site to keep me up-to-date about hyperledger

dylenfu
2017-01-04 10:07
has joined #general

lursun914013
2017-01-04 10:09
has joined #general

cgf
2017-01-04 10:10
has joined #general

arthuro
2017-01-04 10:10
has joined #general

juanjo
2017-01-04 10:20
Hi everybody! I`m modifying the chaincode_example02 aswell as his helloblockchain.js , but i`m running into a problem. I`m modifying the chaincode but nothing happens :disappointed: I`m even reduce my init to: if len(args) != 1 { return nil, errors.New("Incorrect number of arguments. Expecting 1") } and i`m passing 4 parameters and error is not getting triggered :confused: so i don`t know what can be happening

oiakovlev
2017-01-04 10:22
Hi, just curious if it might make sense to add http://slackarchive.io/ support to the hyperledger slack? Or any restrictions we might have for this? If no restrictions - who is an admin of this hyperledgerproject slack to ping?))

tero.keski-valkama
2017-01-04 10:40
has joined #general

tero.keski-valkama
2017-01-04 10:44
Hello! I have a question about the consensus algorithm in Hyperledger Fabric! http://hyperledger-fabric.readthedocs.io/en/latest/FAQ/consensus_FAQ/ The link mentions that there are three choices, but lists only really one choice (excluding the no-op, why would you have no-op?) How does Batch Practical Byzantine Fault Tolerance algorithm handle untrusted miners/validators? I'm under the impression that it can only be used for centrally managed blockchain systems. What prevents an arbitrary system from adding lots of blocks to the chain, causing a denial of service? The documentation does not mention any schedules either. Is it the case that Hyperledger Fabric is only applicable for blockchain applications without distributed management / distributed cryptocurrencies? Am I correct in assuming that the Hyperledger Fabric is meant for "consortium blockchains" which require the users to trust the provider of the blockchain and to suffer potential infrastructure risks if the provider goes out of business for example?

mpravatranjan
2017-01-04 10:46
First I activated the security Command : CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true ./peer node start --peer-chaincodedev Result (No error found): 15:15:53.567 [nodeCmd] serve -> INFO 001 Running in chaincode development mode 15:15:53.567 [nodeCmd] serve -> INFO 002 Set consensus to NOOPS and user starts chaincode 15:15:53.567 [nodeCmd] serve -> INFO 003 Disable loading validity system chaincode 15:15:53.569 [nodeCmd] serve -> INFO 004 Security enabled status: true 15:15:53.569 [nodeCmd] serve -> INFO 005 Privacy enabled status: true 15:15:53.570 [eventhub_producer] start -> INFO 006 event processor started 15:15:53.570 [db] open -> INFO 007 Setting rocksdb maxLogFileSize to 10485760 15:15:53.570 [db] open -> INFO 008 Setting rocksdb keepLogFileNum to 10 15:15:53.688 [crypto] RegisterValidator -> INFO 009 Registering validator [vp] with name [vp]... 15:15:53.692 [crypto] RegisterValidator -> INFO 00a Registering validator [vp] with name [vp]...done! 15:15:53.692 [crypto] InitValidator -> INFO 00b Initializing validator [vp]... 15:15:53.722 [crypto] InitValidator -> INFO 00c Initializing validator [vp]...done! 15:15:53.723 [chaincode] NewChaincodeSupport -> INFO 00d Chaincode support using peerAddress: 0.0.0.0:7051 15:15:53.723 [sysccapi] RegisterSysCC -> WARN 00e Currently system chaincode does support security(noop,http://github.com/hyperledger/fabric/bddtests/syschaincode/noop) 15:15:53.723 [state] loadConfig -> INFO 00f Loading configurations... 15:15:53.723 [state] loadConfig -> INFO 010 Configurations loaded. stateImplName=[buckettree], stateImplConfigs=map[numBuckets:%!s(int=1000003) maxGroupingAtEachLevel:%!s(int=5) bucketCacheSize:%!s(int=100)], deltaHistorySize=[500] 15:15:53.723 [state] NewState -> INFO 011 Initializing state implementation [buckettree] 15:15:53.723 [buckettree] initConfig -> INFO 012 configs passed during initialization = map[string]interface {}{"numBuckets":1000003, "maxGroupingAtEachLevel":5, "bucketCacheSize":100} 15:15:53.723 [buckettree] initConfig -> INFO 013 Initializing bucket tree state implemetation with configurations &{maxGroupingAtEachLevel:5 lowestLevel:9 levelToNumBucketsMap:map[5:1601 7:40001 6:8001 3:65 1:3 9:1000003 2:13 0:1 8:200001 4:321] hashFunc:0xab2590} 15:15:53.723 [buckettree] newBucketCache -> INFO 014 Constructing bucket-cache with max bucket cache size = [100] MBs 15:15:53.724 [buckettree] loadAllBucketNodesFromDB -> INFO 015 Loaded buckets data in cache. Total buckets in DB = [32]. Total cache size:=4800 15:15:53.724 [consensus/controller] NewConsenter -> INFO 016 Creating default consensus plugin (noops) 15:15:53.725 [consensus/noops] newNoops -> INFO 017 NOOPS consensus type = *noops.Noops 15:15:53.725 [consensus/noops] newNoops -> INFO 018 NOOPS block size = 500 15:15:53.725 [consensus/noops] newNoops -> INFO 019 NOOPS block wait = 1s 15:15:53.725 [nodeCmd] serve -> INFO 01a Starting peer with ID=name:"jdoe" , network ID=dev, address=0.0.0.0:7051, rootnodes=, validator=true 15:15:53.725 [consensus/statetransfer] blockThread -> INFO 01b Validated blockchain to the genesis block

mpravatranjan
2017-01-04 10:46
Then after starting the chaincode (chaincodeexample02) with no errors, I logged in as "jim" (No error found) and run the below code to deploy the chaincode Command : CORE_SECURITY_ENABLED=true CORE_SECURITY_PRIVACY=true ./peer chaincode deploy -u jim -n mycc -c '{"Args": ["init", "a","100", "b", "200"]}' Result (No error found) : Deploy chaincode: mycc But with this the secuirity terminal gets below errors 15:46:38.323 [crypto] InitClient -> INFO 01d Initializing client [jim]... 15:46:38.461 [crypto] InitClient -> INFO 01e Initializing client [jim]...done! 15:46:38.462 [crypto] closeClientInternal -> INFO 01f Closing client [jim]... 15:46:39.463 [crypto] Errorf -> ERRO 020 [validator.vp] Failed decrypting message to validators [04 92 d3 87 e3 ea 77 75 85 da 5a 0d 48 e4 01 c9 dd dd 78 fc 47 32 21 ea 03 3c a2 77 be 97 36 08 60 46 88 87 12 4d 82 4e 20 5f f6 cf 09 0d 03 f3 18 c6 4d f8 8c e0 d2 42 91 f0 72 dc 24 f9 7f 20 84 ac c2 83 cd 43 55 18 d6 03 eb 00 04 70 d8 a1 8e e1 11 01 4f ea a3 1f d4 77 ee 5f 15 c8 4c 5f 56 25 45 f3 af 14 f9 06 92 5e 9e 1e be 90 be 20 d4 42 8a 0d ee 1d 90 1f 27 0b 92 63 e6 6b 07 2a 67 f7 b9 38 57 9b c4 c4 2b ae d7 5b b5 a7 39 89 1e 0c 0a 11 90 84 ef 75 6c af 24 99 c7 34 8f 1c 4e 90 35 99 5f c1 44 c9 8a 3c f4 ed a1 0c 86 6d b2 5b 1a 20 8b 09 1f 9b ef 9c f5 13 f6 6a c1 bf b6 c5 75 a3 36 f1 07 11 06 5a f2 9c 0a ab 00 d4 fa 0a 16 04 54 9c 1b 28 0b 4a 66 fd a2 2f f9 fa 07 df 66 72 a7 ad ab d0 1c c0 08 34 c1 db c5 5f 18 6f 49 c5 8e f0 2b e9 2e 64 38 b6 99 47 18 13 fa 1b e8 01 c0 83 4f 76 3d 25 aa a8 bc 7d 10 bc 79]: [Tag check failed]. 15:46:39.463 [crypto] Errorf -> ERRO 021 [validator.vp] Failed decrypting [Tag check failed]. N.B. : The mebersrvc process, chaincode, security and query has different terminals

conroydave
2017-01-04 10:51
i am having trouble deploying to blue mix

conroydave
2017-01-04 10:51
is it true that they are running fabric .5

garisingh
2017-01-04 10:56
@conroydave - any new instances of the Bluemix blockchain service are running Fabric V0.6

conroydave
2017-01-04 10:58
thanks

conroydave
2017-01-04 10:58
im running .6 locally, and am able to build some sample code no problem

conroydave
2017-01-04 10:59
when deploying to bluemix, i am getting the following error


thojest
2017-01-04 11:01
hey everyone. im currently inspecting the communication of browser to chaincode via hfc sdk. is there any tutorial on this? i couldnt find a simple example how you effectively can communicate to a peer for an invoke or a query using hfc sdk

conroydave
2017-01-04 11:07
i figured it out

conroydave
2017-01-04 11:07
it was because i had master/tree in the url

conroydave
2017-01-04 11:07
which while valid in browser, not for curl

saikondaveeti
2017-01-04 11:11
Hi!! I am trying to run the marbles examples locally.. I have setup network.. Deployed the chain code and I get the 'websocket up' message.. Now I should be able to access localhost:3000, but couldn't.. Is it because that local host refers to the Docker-compose container?

conroydave
2017-01-04 11:11
what os are you running

conroydave
2017-01-04 11:11
i find it is always safer to use the IP address of the docker container

saikondaveeti
2017-01-04 11:21
@conroydave : thanks when I gave the IP of the node through which it was deployed instead of localhost it works as expected

benlewis
2017-01-04 11:23
Should the peer cli echo transaction responses, e.g a return from a query or invoke statement?

conroydave
2017-01-04 11:23
cool

benlewis
2017-01-04 11:24
@thojest there are some node sdk examples in the git repository. There's also the IBM car lease demo which may be helpful https://github.com/IBM-Blockchain/car-lease-demo

conroydave
2017-01-04 11:26
anyone else find it a bit odd there are only 5 projects published on the hyper ledger site

serinth
2017-01-04 11:29
@conroydave If you launch a hyperledger project in production I'd be keen to hear about your experiences.

conroydave
2017-01-04 11:29
majority of my interest is in the research side. but with such a game changing tech and massive corporate backers

conroydave
2017-01-04 11:30
they are very few practical real life solutions yet

conroydave
2017-01-04 11:30
i dunno , perhaps i am just impatient

conroydave
2017-01-04 11:33
grpc

conroydave
2017-01-04 11:33
whoops wrong window

conroydave
2017-01-04 11:34
also, was signing up for bluemix tonight for the first time tonight - is IBM Really charging 10k a month for 4 nodes on a private chain

praveennagpal
2017-01-04 11:36
i have used ethereum quite a lot over the past year for a number of PoC’s and have written smart contracts on solidity. I know hyperledger is more oriented towards an enterprise level permissioned private networks. But wanted to know if anybody with experience on using both, how does the development capability match up?

conroydave
2017-01-04 11:36
i have spent a few weeks looking at both

serinth
2017-01-04 11:36
Not sure if i would put anything on Bluemix. I'm more inclined to use AWS.

conroydave
2017-01-04 11:36
i felt ethereum was a bit ahead

conroydave
2017-01-04 11:37
that being said, i was able to get hyper ledger chain code running locally and in the cloud in a few hours tonight

praveennagpal
2017-01-04 11:37
yeah..thats what i feel as well but i have only started looking at hyperledger..so my assessment may not be correct

praveennagpal
2017-01-04 11:37
ok

praveennagpal
2017-01-04 11:37
dud you write chaincode in golang?

praveennagpal
2017-01-04 11:37
*did

conroydave
2017-01-04 11:37
yeah, adapted their tutorials

praveennagpal
2017-01-04 11:37
ok

conroydave
2017-01-04 11:37
no prior experience

serinth
2017-01-04 11:37
wouldn't ethereum contracts be more restrictive? They have their own contract programming language right. Whereas you could just use Go with this.

conroydave
2017-01-04 11:38
i feel like the language is one of the smaller hurdles in the bigger picture

serinth
2017-01-04 11:38
plus you'd have to mine for ether which is a global resource?

praveennagpal
2017-01-04 11:39
yes..thats true..there is nothing like gas in hyperledger

conroydave
2017-01-04 11:39
and instead you pay your web hosts

serinth
2017-01-04 11:39
so if your business depended on ether you'd have to find a way to get a lot of gas.

praveennagpal
2017-01-04 11:39
but i found web3 libraries quite useful for transacting with smart contracts from our dapps

conroydave
2017-01-04 11:39
the gas actually promotes efficient code and resource usage

praveennagpal
2017-01-04 11:39
i know there is hfc node js client sdk

benlewis
2017-01-04 11:39
Isn't the ideology behind fabric vs ethereum different too? Gas is needed because Ethereum is public

praveennagpal
2017-01-04 11:40
yes

serinth
2017-01-04 11:40
yeah, though i do know Jetstar is using ethereum for managing their flight bookings with travel agencies

praveennagpal
2017-01-04 11:40
that is one of the reasons..it the economic fuel for proof of work in ethereum

conroydave
2017-01-04 11:40
i just feel that if you are going to blockchain for your business need it is because you are trying to get away from centralized services

conroydave
2017-01-04 11:41
yes they are both open source but the implementation costs are not negligible

praveennagpal
2017-01-04 11:42
architecturally..i like the concepts in hyperledger for a private network blockchain but i think the fabric dev tooling is still in its infancy compared to ethereum

conroydave
2017-01-04 11:43
depends on your needs for privacy

conroydave
2017-01-04 11:43
you can control who has access to smart contracts

serinth
2017-01-04 11:43
i'm still trying to figure out a use case for it and how to justify it

conroydave
2017-01-04 11:43
you can black list, freeze assets

conroydave
2017-01-04 11:43
encrypt

praveennagpal
2017-01-04 11:43
yes

conroydave
2017-01-04 11:44
the rest api is nice tho

conroydave
2017-01-04 11:44
cause i got a few poc’s working in ethereum and im not sure how to take the next step with hookin up to webservices

praveennagpal
2017-01-04 11:44
thats true,..excepts in stratos blockapps.. you don’t get the rest api in core ethereum

conroydave
2017-01-04 11:44
i probably need to just look into it more, but rest out of the box is great

conroydave
2017-01-04 11:45
with rest i was talkin bout hyper

conroydave
2017-01-04 11:45
ok, nearly 6am i better go to bed before the sun comes up

praveennagpal
2017-01-04 11:45
cool..

serinth
2017-01-04 11:46
might as well stay awake for the sunrise

conroydave
2017-01-04 11:47
leave for CES in about7 hours

foam
2017-01-04 11:56
has joined #general

thojest
2017-01-04 12:03
@benlewis from my point of view hyperledger and ethereum are different in that hyperledger aims at providing business solutions based on a private chain and ethereum offers a public permissionless blockchain for smart contracts

thojest
2017-01-04 12:04
however you can also run your private ethereum blockchain

benlewis
2017-01-04 12:10
Proof-of-work seems like it's redundant in a private network though. I've seen Credits speak before at an open data conference, and they highlighted the fact that you already have a degree of trust between businesses, but blockchain can minimise that, but not eliminate it whilst giving the other benefits in terms of auditability, and resilience

thojest
2017-01-04 12:23
so am i basically right that you use nodejs to build a website and then include the hfc sdk to communicate to the peers for invoking commands on the blockchain ?

benlewis
2017-01-04 12:26
@thojest as far as I understand it, yes

sneha
2017-01-04 12:34
has joined #general

rahulhegde
2017-01-04 12:43
using v1.0 architecture, I am having problem to deploy a custom 'learn-chaincode' using CLI Step followed" 1. Run peer node (used the connenct-a-thon peer image) in the DEV ('peer node start --peer-chaincodedev'). 2. Use CLI to deploy the chaincode ' peer chaincode deploy -n mycc -c '{"Function": "init", "Args": ["100K"]}' -p https://github.com/rahulhegde/learn-chaincode/start' I can see 'go get' successful performed on '-p' however i receive following log trace on peer '12:39:26.774 [golang/hash] getCodeFromHTTP -> DEBU 010 getCodeFromHTTP http://github.com/rahulhegde/learn-chaincode/start 12:39:26.774 [golang/hash] getCodeFromHTTP -> DEBU 011 go get http://github.com/rahulhegde/learn-chaincode/start 12:39:34.962 [golang/hash] hashFilesInDir -> DEBU 012 hashFiles /opt/gopath/_usercode_/963812584/src/github.com/rahulhegde/learn-chaincode/start 12:39:35.920 [container] WriteGopathSrc -> INFO 013 rootDirectory = /opt/gopath/src 12:39:35.920 [container] WriteFolderToTarPackage -> INFO 014 rootDirectory = /opt/gopath/src 12:39:35.922 [msp] GetManager -> INFO 015 Returning MSP manager %!p(msp.peerMspManagerImpl={map[DEFAULT:0xc4201dc600] PeerMSPManager true}) 12:39:35.922 [msp] GetSigningIdentity -> INFO 016 Looking up MSP with ID {DEFAULT} 12:39:35.922 [msp] GetSigningIdentity -> INFO 017 Obtaining signing identity for &{{DEFAULT} PEER} 12:39:35.929 [msp] Sign -> INFO 018 Signing message Error: Error endorsing chaincode: rpc error: code = 2 desc = Failed to init chaincode(handler not found for chaincode mycc)'

thojest
2017-01-04 12:45
@rahulhegde does it work when leaving out `--peer-chaincodedev`

juanjo
2017-01-04 12:46
Hi everybody! I`m modifying the chaincode_example02 aswell as his helloblockchain.js , but i`m running into a problem. I`m modifying the chaincode but nothing happens :disappointed: I even reduced my init to: if len(args) != 1 { return nil, errors.New("Incorrect number of arguments. Expecting 1") } and i`m passing 4 parameters and error is not getting triggered :confused: so i don`t know what can be happening

oxygengj
2017-01-04 12:47
has joined #general

rahulhegde
2017-01-04 12:52
@thojest it doesnt work in non-DEV mode, had received a segmentation fault and hence went with simplest mode. 12:49:38.080 [golang/hash] getCodeFromHTTP -> DEBU 010 getCodeFromHTTP http://github.com/rahulhegde/learn-chaincode/start 12:49:38.080 [golang/hash] getCodeFromHTTP -> DEBU 011 go get http://github.com/rahulhegde/learn-chaincode/start 12:49:46.591 [golang/hash] hashFilesInDir -> DEBU 012 hashFiles /opt/gopath/_usercode_/011513129/src/github.com/rahulhegde/learn-chaincode/start 12:49:47.546 [container] WriteGopathSrc -> INFO 013 rootDirectory = /opt/gopath/src 12:49:47.546 [container] WriteFolderToTarPackage -> INFO 014 rootDirectory = /opt/gopath/src panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x89f694] goroutine 1 [running]: panic(0xa83500, 0xc420016070) /opt/go/src/runtime/panic.go:500 +0x1a1 http://github.com/hyperledger/fabric/core/container/util.WriteFolderToTarPackage.func1(0xc4210892f0, 0xf, 0x0, 0x0, 0x109ec20, 0xc4210754d0, 0xc421075401, 0xc4210754a0) /opt/gopath/src/github.com/hyperledger/fabric/core/container/util/writer.go:65 +0xa4 path/filepath.Walk(0xc4210892f0, 0xf, 0xc4210754a0, 0xb41d07, 0x1) /opt/go/src/path/filepath/path.go:396 +0x8b http://github.com/hyperledger/fabric/core/container/util.WriteFolderToTarPackage(0xc4201e3200, 0xc4210892f0, 0xf, 0xc421075470, 0x2c, 0xc42018acf0, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/container/util/writer.go:96 +0x1b2 http://github.com/hyperledger/fabric/core/container/util.WriteGopathSrc(0xc4201e3200, 0x7fffc77f2cf6, 0x2b, 0x120, 0x108) /opt/gopath/src/github.com/hyperledger/fabric/core/container/util/writer.go:112 +0x1de http://github.com/hyperledger/fabric/core/chaincode/platforms/golang.writeChaincodePackage(0xc4201e9b20, 0xc4201e3200, 0xc420096300, 0x80) /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/platforms/golang/package.go:79 +0x7ab http://github.com/hyperledger/fabric/core/chaincode/platforms/golang.(*Platform).WritePackage(0x10df9d8, 0xc4201e9b20, 0xc4201e3200, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/platforms/golang/platform.go:84 +0x60 http://github.com/hyperledger/fabric/core/container.GetChaincodePackageBytes(0xc4201e9b20, 0x0, 0x0, 0xc420292350, 0x1, 0x1) /opt/gopath/src/github.com/hyperledger/fabric/core/container/vm.go:97 +0x1be http://github.com/hyperledger/fabric/core.GetChaincodeBytes(0x7f475c9a17c0, 0xc420016228, 0xc4201e9b20, 0x7f475c9a17c0, 0xc420016228, 0x539d9a) /opt/gopath/src/github.com/hyperledger/fabric/core/devops.go:132 +0x10b http://github.com/hyperledger/fabric/peer/chaincode.deploy(0x1094400, 0xb47300, 0xc420161b20, 0x4b1616) /opt/gopath/src/github.com/hyperledger/fabric/peer/chaincode/deploy.go:55 +0xba http://github.com/hyperledger/fabric/peer/chaincode.chaincodeDeploy(0x1094400, 0xc4201e6a20, 0x0, 0x6, 0x0, 0x9) /opt/gopath/src/github.com/hyperledger/fabric/peer/chaincode/deploy.go:105 +0x2b http://github.com/hyperledger/fabric/peer/chaincode.glob..func1(0x1094400, 0xc4201e6a20, 0x0, 0x6, 0x0, 0x0) /opt/gopath/src/github.com/hyperledger/fabric/peer/chaincode/deploy.go:42 +0x49 http://github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute(0x1094400, 0xc4201e6960, 0x6, 0x6, 0x1094400, 0xc4201e6960) /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:599 +0x234 http://github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x10961c0, 0x7, 0xc4201e45a0, 0x2c) /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689 +0x367 http://github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute(0x10961c0, 0xc4201e45a0, 0x2c) /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648 +0x2b main.main() /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:139 +0x692

cbf
2017-01-04 13:07
@rahulhegde suggest you post your question/issue to #fabric where it is likely to get more attention;-)

asalem
2017-01-04 13:25
has joined #general

asalem
2017-01-04 13:31
:slightly_smiling_face:

lege
2017-01-04 13:51
has joined #general

david87
2017-01-04 15:15
has joined #general

dillontownsel
2017-01-04 16:27
has joined #general

enw
2017-01-04 16:56
has joined #general

shsedghi
2017-01-04 17:05
I am playing with Java SDK and I can deploy and invoke in Dev mode well. However in query I get : Error starting Simple chaincode: Error handling message: [mycc]Chaincode handler FSM cannot handle message (ERROR) with payload size (18) while in state: ready11:49:50.995 [shim] DEBU : [mycc]Received message QUERY from shim Chain code also gets: 11:49:50.995 [shim] DEBU : [mycc]Received message ERROR from shim 11:49:50.995 [shim] DEBU : [mycc]Handling ChaincodeMessage of type: ERROR(state:ready) and breaks

eduardo.j.peixoto
2017-01-04 17:06
has joined #general

republic82
2017-01-04 17:27
has joined #general

fbenhamo
2017-01-04 18:57
has joined #general

xhe
2017-01-04 19:04
has joined #general

silliman
2017-01-04 19:10
@shsedghi I've seen this where v0.6 code and v1.0 code are getting tangled together.. That is, where people have used the v0.6 code and while following the documentation, they are then getting code from the master branch which is v1.0 code. This happens because at the time the v0.6 documentation was written, the master branch was v0.6 code. But now, the master branch is pointing to v1.0 code. E.g. in this section of v0.6 documentation http://hyperledger-fabric.readthedocs.io/en/v0.6/Setup/Chaincode-setup/#running-the-chaincode there is a curl command to get the chaincode and a git command to clone the fabric code.... these will currently pull from the master (v1.0) branch....e.g. if you've downloaded v0.6 docker images and are following that section or doing something similar, it can cause symptoms similar to what you are seeing. *Note:* this may or may not be what you're running into- I've never used the Java SDK and you don't mention your exact environment and which code you're using, but it's at least something to investigate

mbrichman
2017-01-04 19:51
has joined #general

dkemann
2017-01-04 19:55
has joined #general

shsedghi
2017-01-04 19:57
@silliman, apparently it is not the case, I have built my environment, (no Docker no Vagrant), and it works with REST interface properly. I assume this is the GRPC call from Java that screws up somthing

xhe
2017-01-04 21:15
Hi team, We already setup two peers. Is there a easy way to manually verify that the two peers are in a workable state?

xhe
2017-01-04 21:15
:slightly_smiling_face:

vishwas.chouhan
2017-01-04 21:15
has joined #general

chainsaw
2017-01-04 21:53
Does anyone know what happened to https://www.hyperledger.org? I am experiencing a failure to establish a secure connection due to a certificate that belongs to: http://n.ssl.fastly.net Did www subdomain get hacked? The other subdomains are fine, like: https://wiki.hyperledger.org is Ok.

fabriziov
2017-01-04 22:34
has joined #general

atian15
2017-01-05 01:26
has joined #general

suxianyin
2017-01-05 01:37
has joined #general

xiaohuo
2017-01-05 01:57
has joined #general

xiaohuo
2017-01-05 02:40
hi everyone

sachinsurvase
2017-01-05 05:02
@chainsaw Even though CN is http://n.ssl.fastly.net .... in Certificate Subject Alternative Name there is entry for DNS Name: http://www.hyperledger.org .... So certificate is valid and https should work fine

newdev2524
2017-01-05 08:08
Hi, I'm trying v0.6 and having question about NVP node. Does NVP node maintain the ledger? It seems I cannot query any transactions or see increasing blocks on NVP node.

david87
2017-01-05 08:39
Hi, I already posted that issue in the #dockerimages channel but maybe somebody else here has an idea about it - it happens when I want to deploy chaincode on a hyperledger 1.0.0-prevew peer - not sure if the docker container it should be looking for is the x86_64-0.6.1-preview which is the only one available on dockerhub right now '''- 017-01-04 14:10:29.838 UTC [dockercontroller] deployImage -> ERRO 464 Error building images: Tag x86_64-1.0.0-preview not found in repository http://docker.io/hyperledger/fabric-ccenv 2017-01-04 14:10:29.838 UTC [dockercontroller] deployImage -> ERRO 465 Image Output: ******************** Step 1 : FROM hyperledger/fabric-ccenv:x86_64-1.0.0-preview Pulling repository http://docker.io/hyperledger/fabric-ccenv ********************'''

abhinav.garg
2017-01-05 08:51
hey everyone I'm interested in setting up an instance of hyper ledger fabric for a small POC to use.

abhinav.garg
2017-01-05 08:51
pl let me know,if anyone have

cblucky
2017-01-05 08:55
has joined #general

laurens55
2017-01-05 09:06
has joined #general

riteshguptacmsd
2017-01-05 10:48
has joined #general

conroydave
2017-01-05 11:24
most of us here have, i would guess

conroydave
2017-01-05 11:25
it takes about 2-4 hours to get the containers and sample code running

conroydave
2017-01-05 11:25
maybe a little less using bluemix

benlewis
2017-01-05 11:25
if developing locally, you can get the vagrant environment running with v0.6 without too much difficulty

conroydave
2017-01-05 11:27
im running mac os and was up and running with docker very quickly.

conroydave
2017-01-05 11:27
spent more times in the docs than the environment setup

conroydave
2017-01-05 11:28
ideal

thojest
2017-01-05 12:42
general n00b question: using blockchains like ethereum or hyperledger. am i correct that most part happens off-chain like running smart contracts and most internal variables. so to say only important results which need the security aspect of the blockchain are then stored on-chain ?

thojest
2017-01-05 12:45
well i think in ethereum the smart contract code is stored on the blockchain isnt it?

thojest
2017-01-05 12:49
what my question is aiming at, im trying to get an overall picture of the architecture. and the question which always comes to my mind is whats happening on the blockchain and what is off-chain

thojest
2017-01-05 12:50
for example the go-chaincode is afaik running in a docker container. so that would be off-chain and via the shim interface it is writing sensitive information into a new block of the blockchain

thojest
2017-01-05 12:52
comments appreciated very much :slightly_smiling_face:

thojest
2017-01-05 12:52
with hyperledger i mean faric. sry for that

thojest
2017-01-05 12:52
*fabric

mailbox
2017-01-05 13:06
has joined #general

bfuentes
2017-01-05 13:39
@thojest the container containing the smartcontract is running on the peer

bfuentes
2017-01-05 13:40
the hash of it has been recorded on a block

bfuentes
2017-01-05 13:40
so what do you call “on-chain” ? the blocks , the world State or the peer itself ?

cburgdorfer
2017-01-05 14:02
Hi, does anybody have an idea where a good place is to get statistics about blockchain technology in general? ...

greg_not_so
2017-01-05 14:11
what's the best place to clone v1.0?

jjohnst
2017-01-05 14:15
has joined #general

tbenzies
2017-01-05 14:49
San Francisco Hackfest (February 1-2), right after Coindesk Construct. https://www.regonline.com/hyperledgerfebruary2017 Please register now.

conorfennell
2017-01-05 14:51
has joined #general

thojest
2017-01-05 14:51
@bfuentes with on-chain i mean the data which are written into a block of the blockchain

thojest
2017-01-05 14:52
could you please elaborate on world-state. what is it?

thojest
2017-01-05 14:52
so you mean the docker container is running on the peer???

bfuentes
2017-01-05 15:24
@thojest I think you should read the documentation. Yes the docker container is running on each peer. The worlState is the stateful part of the blockchain. Blocks are stateless and purely declarative. Having a block does not mean the smart contract has change anything on the world state (error, no valid, etc ....)

niqdev
2017-01-05 15:34
has joined #general

thojest
2017-01-05 15:40
@bfuentes thanks, i will do that soon

madhava
2017-01-05 15:52
general question: am referring the auction use case ( bcoz am planning to implement similar usecase on fabric ), in auction use case the items are moving from one person to other person when we query its shows only the current worldstate of the chain so question is 1) if i want to see complete audit trail for a item how can i query in fabric 2) when a record get stored in block it will have hash for that block, so when show the complete audit trail for a item i believe i should show the records with corresponding block hash, is my understanding is correct? 3) is it possible to get complete audit trail for an item by query block chain any time or do i need to store transaction in external db's by getting hash from block chain when write into blockchain 4) for same use case is it possible to store the image in block chain ( consider my image size will be more than 20MB ) and get a hash for it and refer same hash in actual transaction comments appreciated very much :slightly_smiling_face:

priscilaestrela
2017-01-05 16:03
How I can get the transaction attributes? For example how start the transaction or the data?

jmcneill
2017-01-05 16:03
has joined #general

kevin.beauchamps
2017-01-05 17:10
has joined #general

andrewm2
2017-01-05 17:48
has joined #general

sbond
2017-01-05 20:18
has joined #general

acdaunis
2017-01-05 21:00
has joined #general

hobertbush
2017-01-05 21:28
has joined #general

fenglian
2017-01-05 23:08
has joined #general

zmaro
2017-01-06 00:27
has joined #general

shadwdfx
2017-01-06 02:02
has joined #general

ug93tad
2017-01-06 02:39
has joined #general

tsluthra
2017-01-06 03:49
has joined #general

urgsurez
2017-01-06 04:12
has joined #general

praveenkakumanu
2017-01-06 04:29
has joined #general

caotou
2017-01-06 04:51
has joined #general

indira.kalagara
2017-01-06 06:06
has joined #general

sakon
2017-01-06 08:09
has joined #general

saikondaveeti
2017-01-06 11:57
Hi!! I have set up four peer network locally as decribed in "https://github.com/IBM-Blockchain/fabric-images" and tried the marbles and asset management examples. I am currently trying to run the asset management02 application described in "https://github.com/hyperledger/fabric/tree/master/examples/chaincode/go/asset_management02". I have replaced localhost with membersrvc and 0.0.0.0 with vp0 in asset.yml file and tried 'go test'. I get the following error : Wait for some secs for OBCCA 11:46:58.109 [ca] NewCA -> INFO 001 Fresh start; creating databases, key pairs, and certificates. open socket... open socket...done 11:47:00.044 [aca] Start -> INFO 002 Staring ACA services... 11:47:00.044 [aca] startACAP -> INFO 003 ACA PUBLIC gRPC API server started 11:47:00.044 [aca] Start -> INFO 004 ACA services started 11:47:00.044 [eca] Start -> INFO 005 Starting ECA... 11:47:00.044 [eca] startECAP -> INFO 006 ECA PUBLIC gRPC API server started 11:47:00.044 [eca] startECAA -> INFO 007 ECA ADMIN gRPC API server started 11:47:00.044 [eca] Start -> INFO 008 ECA started. 11:47:00.044 [tca] Start -> INFO 009 Staring TCA services... 11:47:00.044 [tca] startTCAP -> INFO 00a TCA PUBLIC gRPC API server started 11:47:00.044 [tca] startTCAA -> INFO 00b TCA ADMIN gRPC API server started 11:47:00.044 [tca] Start -> INFO 00c TCA started. 11:47:00.044 [tlsca] Start -> INFO 00d TLSCA started. start serving... Wait for some secs for VP 11:47:00.109 [crypto] RegisterValidator -> INFO 00e Registering validator [vp] with name [vp]... 11:47:00.403 [crypto] Errorf -> ERRO 00f [validator.vp] Failed invoking CreateCertficatePair [rpc error: code = 2 desc = Identity or token does not match.]. 11:47:00.403 [crypto] Errorf -> ERRO 010 [validator.vp] Failed getting enrollment certificate [id=vp]: [rpc error: code = 2 desc = Identity or token does not match.] 11:47:00.403 [crypto] Errorf -> ERRO 011 [validator.vp] Failed retrieving enrollment data [rpc error: code = 2 desc = Identity or token does not match.]. 11:47:00.403 [crypto] Errorf -> ERRO 012 [validator.vp] Failed registering node crypto engine [rpc error: code = 2 desc = Identity or token does not match.]. 11:47:00.403 [crypto] Errorf -> ERRO 013 [validator.vp] Failed registering peer [vp]: [rpc error: code = 2 desc = Identity or token does not match.] 11:47:00.403 [crypto] Errorf -> ERRO 014 [validator.vp] Failed registering [vp]: [rpc error: code = 2 desc = Identity or token does not match.] 11:47:00.403 [crypto] RegisterValidator -> ERRO 015 Failed registering validator [vp] with name [vp] [rpc error: code = 2 desc = Identity or token does not match.]. panic: rpc error: code = 2 desc = Identity or token does not match. goroutine 24 [running]: panic(0xcb4700, 0xc8204019a0) /opt/go/src/runtime/panic.go:464 +0x3e6 http://github.com/hyperledger/fabric/examples/chaincode/go/asset_management02.initVP() /opt/gopath/src/github.com/hyperledger/fabric/examples/chaincode/go/asset_management02/asset_management02_test.go:608 +0x63e created by http://github.com/hyperledger/fabric/examples/chaincode/go/asset_management02.TestMain /opt/gopath/src/github.com/hyperledger/fabric/examples/chaincode/go/asset_management02/asset_management02_test.go:75 +0x149 exit status 2 FAIL http://github.com/hyperledger/fabric/examples/chaincode/go/asset_management02 2.308s Any help?

thojest
2017-01-06 12:06
@saikondaveeti i recently also had this token does not match error

thojest
2017-01-06 12:07
however i was trying something different

thojest
2017-01-06 12:07
in my case it helped to delete the content of the production folder

thojest
2017-01-06 12:08
`rm -rf /var/hyperledger/production/`

thojest
2017-01-06 12:08
warning! this recursively deletes all the content in that folder

thojest
2017-01-06 12:09
but if i understood correctly somewhere in this folder data for the enrollment is stored and it has to be cleaned because you cannot enroll twice.

thojest
2017-01-06 12:10
however it would be good to hear another opinion on that because im no expert and just got started, too

dannybuls
2017-01-06 12:20
has joined #general

saikondaveeti
2017-01-06 12:34
@thojest: thanks, in my case the peer was storing data in /tmp/hyperledger/production but removibg it didn't help

timothy_dunlevy
2017-01-06 14:26
has joined #general

rruiz
2017-01-06 15:03
has joined #general

ian_hancock
2017-01-06 15:50
has joined #general

corey.sonier
2017-01-06 16:35
has joined #general

ajspeelm
2017-01-06 16:59
has joined #general

praveennagpal
2017-01-06 18:14
hello everyone.. i am trying to do the chaincode or app developer set up on Mac as per the instructions on https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/

dandre.woodland
2017-01-06 18:14
has joined #general

praveennagpal
2017-01-06 18:15
till the time of starting and registering the chaincode.. it all seems ok.. but i am unable to do the CLI or REST login to the network

praveennagpal
2017-01-06 18:15
i am unable to locate membersrvc.yaml file

praveennagpal
2017-01-06 18:15
where is that typically located?

praveennagpal
2017-01-06 18:16
instruction says Register the user though the CLI, substituting for <username> appropriately: cd $GOPATH/src/github.com/hyperledger/fabric/peer peer network login <username>

praveennagpal
2017-01-06 18:17
but i don’t find a peer command in this directory

praveennagpal
2017-01-06 18:17
am i doing something silly here?

ashsriv6
2017-01-06 18:27
has joined #general

praveennagpal
2017-01-06 18:40
i have been to get this working using the REST API now using the jim id as is. However, still don’t know how to add my own custom users for enrollment

tkuhrt
2017-01-06 18:45
@praveennagpal : Users can be added in your membersrvc.yaml file. I believe that node.js has a programatic way to add users, as well. You cannot add users with the REST API (at least that I found).

stevethompson
2017-01-06 19:20
has joined #general

camacho1
2017-01-06 19:21
has joined #general

shaih
2017-01-06 19:45
has joined #general

dachyper
2017-01-06 20:16
has joined #general

jonathanlevi
2017-01-06 20:47
For those interested, the Hyperledger talk today at the Real World Crypto 2017 is just about to begin: http://www.totalwebcasting.com/view/?func=VOFF&id=columbia&date=2017-01-04&seq=1

lex
2017-01-06 20:53
has joined #general

tianalaurence
2017-01-06 23:33
has joined #general

hl.rose
2017-01-07 00:34
has joined #general

hl.rose
2017-01-07 00:43
has anyone succeeded in enrolling the WebAppAdmin while running the cp-web demo in a local network? I've followed the instructions at https://github.com/IBM-Blockchain/cp-web/blob/master/docs/use_local_hyperledger.md and am not having any luck. any help is appreciated

praveennagpal
2017-01-07 09:23
@tkuhrt thanks..do you know where is this file membersrvc.yaml located?

praveennagpal
2017-01-07 09:24
i could not find it in the docker image of member-svc on mac

praveennagpal
2017-01-07 11:00
ok..I got it. Its in /opt/gopath/src/github.com/hyperledger/fabric/membersrv

alacambra
2017-01-07 12:23
has joined #general

priscilaestrela
2017-01-07 12:25
Whow i can get the transaction sender in chaincode?

priscilaestrela
2017-01-07 12:51
Can anyone help me, please? Thanks.

123
2017-01-07 13:05
has joined #general

marcmanzano
2017-01-07 13:27
has joined #general

christopher
2017-01-07 14:57
has joined #general

silliman
2017-01-07 15:08
@hi.rose If your fabric code is not running in Docker containers, clear the contents of */var/hyperledger* before you run the *cp-web* nodeJS app. Similarly, if the cp-web app itself is not being run in a Docker container, clear the contents of the *keyValStore* directory within your *cp-web* directory. This is the first thing I'd try, and if this works, do this each time before you run the demo. If this doesn't work, I recommend you ask further questions in the #fabric channel

hl.rose
2017-01-07 15:19
@silliman i'm running the fabric code in Docker contains, but running the cp-web app in my mac. thank you very much for the tips.

miked
2017-01-07 15:24
has joined #general

silliman
2017-01-07 15:34
@hi.rose okay, in this case.... try clearing out your *keyValStore* directory before each run of the app, and using a new Docker container each time is a good strategy to use. This assumes that your new Docker container will start with a empty or non-existent /var/hyperledger.

silliman
2017-01-07 15:42
@hl.rose ^^ oops, a typo on your handle (mine is also dizzying to read with most fonts!)

anandv
2017-01-07 17:22
has joined #general

seanbohan
2017-01-07 18:01
has joined #general

rodneicouto
2017-01-07 20:52
Hi. I try to make a first chain code in Java, on macos using docker. I just find tutorial in vagrant... can help-me? I would like to use rest API

alexk
2017-01-07 21:04
has joined #general

srhmurth
2017-01-08 06:43
has joined #general

xiangchen
2017-01-08 08:43
has joined #general

nydiarra
2017-01-08 10:56
has joined #general

thakkarparth007
2017-01-08 13:22
has joined #general

bartek
2017-01-08 13:41
has joined #general

vip77
2017-01-08 13:50
has joined #general

wangheng
2017-01-08 14:27
has joined #general

erickan
2017-01-08 15:41
has joined #general

praveennagpal
2017-01-08 16:20
where is the keyValStore for the docker container set up on Mac?

praveennagpal
2017-01-08 16:21
also does somebody how is the user and account public information (not private keys) available to all the other peers on the network?

dave-ct
2017-01-08 16:27
has joined #general

herelab
2017-01-08 17:25
Hi everyone-- I know this channel is very developer-centric, and I don't want to be "off-topic," but here goes: We're an IoT org working to create a small scale micro-economy PoC using data-supported blockchain. Think "collective carbon micro-trading" as just one example. Any advice on like projects, partners or process? Thank you!

sazeez
2017-01-08 17:44
has joined #general

scottsutherland
2017-01-08 17:45
has joined #general

satyam_agl
2017-01-08 17:55
how do i know the peer_address and membersrvc_address for running the demo app.js

satyam_agl
2017-01-08 17:55
i am running the docker in the linux environment

stribomon
2017-01-08 19:06
has joined #general

tomy
2017-01-08 19:27
has joined #general

asurily
2017-01-09 02:08
has joined #general

rafael.turk
2017-01-09 02:54
Hi All we’ve created a distributed airline ticketing platform using HyperLedger for the #govtechioneers Hackathon. The project includes a fully functional HyperLedger that can handle complex Airline ticketing scenarios. Your feedback is much appreciated http://www.hackathon.io/block-ticket

rafael.turk
2017-01-09 02:54
Thanks for everyone in this community that helped us!

serinth
2017-01-09 03:09
@rafael.turk got any code?

yanncarlier
2017-01-09 03:34
cool, is it online?

usuik
2017-01-09 05:23
has joined #general

felixzhang
2017-01-09 07:38
has joined #general

stones
2017-01-09 08:18
has joined #general

ravindra
2017-01-09 08:37
has joined #general

ibmdannywong
2017-01-09 08:53
@rafael.turk nice one!

mariusherget
2017-01-09 09:23
has joined #general

fabianpo
2017-01-09 10:38
has joined #general

stevenberryman
2017-01-09 10:45
has joined #general

jude
2017-01-09 10:59
has joined #general

benlewis
2017-01-09 11:02
Has anyone got any views on the blockchain stuff Credits (credits.vision) are doing?

rafael.turk
2017-01-09 11:15
@serinth Yes.. We’ll release Code just need to cleanup..

rafael.turk
2017-01-09 11:16

rafael.turk
2017-01-09 11:16
Link to Support Material Google - Slides


clearyd
2017-01-09 11:54
has joined #general

rafael.turk
2017-01-09 12:22
@yanncarlier yes! Live at http://block.entria.com.br u: p: blockchain please note that still WIP so it may be offiline..

weihu
2017-01-09 13:43
has joined #general

stevenrparker
2017-01-09 14:07
has joined #general

latiolai93
2017-01-09 14:33
has joined #general

robflowers212
2017-01-09 14:37
has joined #general

gary
2017-01-09 15:20
has joined #general

paul.merriman
2017-01-09 15:59
has joined #general

ilkka_trybe
2017-01-09 16:10
has joined #general

bercinho
2017-01-09 17:12
Hello Gents, is there any official hyperledger support from IBM? A support service we would pay & utilize at Deutsche Bahn (Germany) on our Project? We need "better" support then the slack community provides, but not sure how to acquire? Anyone to connect in this respect?

aharbis
2017-01-09 17:13
If I had to guess, since it’s open source, probably not.

aharbis
2017-01-09 17:13
But I don’t know for sure*

ankogerlofs
2017-01-09 17:29
has joined #general

silliman
2017-01-09 17:41
Hello @bercinho IBM does offer some support options, that can vary depending on your topology, e.g. whether you are running on IBM's Bluemix or whether on-premises, which hardware platform (e.g. intel x86, power, or z Systems), etc. If you know a bit about your desired topology let me know here or in private message, and I'll try to get you pointed in the right direction.

mkillin
2017-01-09 17:42
has joined #general

tron
2017-01-09 17:49
has joined #general

etate
2017-01-09 18:12
has joined #general

johnz
2017-01-09 18:48
has joined #general

dicontas
2017-01-09 19:06
has joined #general

jtrayfield
2017-01-09 19:16
has joined #general

avrahamleff
2017-01-09 19:23
has joined #general

timmcgirr
2017-01-09 19:44
has joined #general

rkelly
2017-01-09 20:46
has joined #general

objective
2017-01-09 21:27
has joined #general

slash0818
2017-01-09 21:38
has joined #general

alpeshdoshi
2017-01-09 21:45
@bercinho We’re happy to see how we could help. What kind of support are you looking for?

alpeshdoshi
2017-01-09 21:46
What part of the Hyperledger project - or wider Blockchain ecosystem

christophe
2017-01-09 22:33
has joined #general

davidprovest
2017-01-09 23:52
has joined #general

myonlyzzy
2017-01-10 01:59
has joined #general

yanncarlier
2017-01-10 02:05
We ANX INTERNATIONAL, fintech blockchain company in Asia, can provide Hyperledger support, English and Chinese

xiaohuo
2017-01-10 02:13
@yanncarlier Beijing?

yanncarlier
2017-01-10 02:14
Hong Kong

michaelwang
2017-01-10 03:14
Beijing also has a support team.

k.kamakura
2017-01-10 06:07
has joined #general

pratimasethi
2017-01-10 06:15
has joined #general

tanzhiguo
2017-01-10 06:15
has joined #general

abhinav.garg
2017-01-10 06:41
@alpeshdoshi I need a simple POC sample on hyperledger,any sample could be reffered as I deployed all IBM samples,Please let me knoe under which database fetching and Web Services would be there.

chuankai
2017-01-10 06:42
has joined #general

gaurav
2017-01-10 07:17
When I use, docker images for hyperledger-peer, and start a peer node using it. The peer starts correctly, checked via REST api /chain. Later if I deploy a chaincode on it, chaincode_example02, i receieve the below error in peer process informing issues and cannot connect to docker endpoint: vp0_1 | 07:10:44.937 [rest] ProcessChaincode -> INFO 01b REST successfully deploy chaincode: {"jsonrpc":"2.0","result":{"status":"OK","message":"9e1c0dbc38d97746655b86e98fbee3aa65b742d6c9e0af0948c60de6eca41b509e798a431447728427a7ab68aede4a3d5dcc2e8ce0199e3dbc11a62a5f2afdfd"},"id":0} vp0_1 | 07:10:45.947 [dockercontroller] deployImage -> ERRO 01c Error building images: cannot connect to Docker endpoint vp0_1 | 07:10:45.948 [dockercontroller] deployImage -> ERRO 01d Image Output: vp0_1 | ******************** vp0_1 | vp0_1 | ******************** vp0_1 | 07:10:45.955 [dockercontroller] Start -> ERRO 01e start-could not recreate container cannot connect to Docker endpoint vp0_1 | 07:10:45.955 [chaincode] Launch -> ERRO 01f launchAndWaitForRegister failed Error starting container: cannot connect to Docker endpoint During start up of the peer node, I have used CORE_VM_ENDPOINT=http://172.17.0.1:2375, this is based on output of "ip add" as below: 3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default link/ether 02:42:60:b2:c9:1e brd ff:ff:ff:ff:ff:ff inet 172.17.0.1/16 scope global docker0 valid_lft forever preferred_lft forever inet6 fe80::42:60ff:feb2:c91e/64 scope link valid_lft forever preferred_lft forever

bain
2017-01-10 07:25
@gaurav You need config below volume setting in your docker-compose file: ` volumes: - /var/run/docker.sock:/var/run/docker.sock`

gaurav
2017-01-10 07:42
Thanks @bain, the volume settings seem to have resolved the docker endpoint issue. However, now I am getting this error: vp0_1 | 07:35:39.674 [dockercontroller] deployImage -> ERRO 01d Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage I am using hyperledger/fabric-peer:x86_64-0.6.0-preview

bain
2017-01-10 07:42
@gaurav are you running fabric in production mode?

gaurav
2017-01-10 07:43
Hi @bain. This is my docker-compose.yml

gaurav
2017-01-10 07:43
vp0: image: hyperledger/fabric-peer:x86_64-0.6.0-preview volumes: - ../chaincode_example02:/opt/gopath/src/github.com/hyperledger/chaincode_example02 - /var/run/docker.sock:/var/run/docker.sock ports: - "7050:7050" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock command: peer node start

bain
2017-01-10 07:44
this image is chaincode runtime docker image. there is no latest tag for this image. so you need download right tag for your machine, x86, or others.

bain
2017-01-10 07:45
docker pull hyperledger/fabric-baseimage:x86_64-0.2.0 docker tag hyperledger/fabric-baseimage:x86_64-0.2.0 hyperledger/fabric-baseimage:latest

gaurav
2017-01-10 07:45
ok, understood, let me try with this

bain
2017-01-10 07:46
maybe, this tag is not latest, you can refer http://hub.docker.com

gaurav
2017-01-10 07:54
Thanks @bain it worked

gaurav
2017-01-10 08:34
Anyone knows, why in peer logs(network of 4 peers, pbft) would be getting these messages(only for peer 2,3), however the chaincode processes corresponding to these peers are working fine: vp2_1 | 08:30:12.261 [peer] handleChat -> ERRO 142 Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created

bfuentes
2017-01-10 09:20
Hyperledger is an Open Source project. IBM is giving support if you use the Blockchain Bluemix service running Hyperledger (infrastructure), gives training sessions, can help developing a PoC via IBM Blockchain&Bluemix garages over the World. Some IBMers are part of Ecosystem & Developers and give workshops or conference at different events (Meetups,Devoxx,InterConnect,etc...)

enqvist
2017-01-10 09:30
has joined #general

bjoerntm
2017-01-10 09:41
has joined #general

stephane.martin
2017-01-10 10:12
has joined #general

edward_ciggaar
2017-01-10 10:13
has joined #general

bigbigbig
2017-01-10 13:18
has joined #general

egeek
2017-01-10 14:23
has joined #general

leob
2017-01-10 14:31
has joined #general

leob
2017-01-10 14:33
Hi there: simple question regarding the JS api: what should be used to connect to hyperledger fabric: hfc or ibm-blockchain-js?

benlewis
2017-01-10 15:48
@leob HFC as support for ibm-blockchain-js has been phased out with v1.0

leob
2017-01-10 15:58
@benlewis Ok thanks

leob
2017-01-10 16:17
Hi and I am under the assumption that this Hyperledger Fabric Client also is capable of connecting to the IBM Bluemix blockchain service. Is that correct?

wendell.silva
2017-01-10 16:31
has joined #general

kdj
2017-01-10 16:32
has joined #general

ahmedsajid
2017-01-10 18:12
has joined #general

hekkelmr
2017-01-10 18:37
has joined #general

gwringel
2017-01-10 19:16
has joined #general

silliman
2017-01-10 19:29
@leob yes, you should be able to do this. E.g. see this documentation on Bluemix https://console.ng.bluemix.net/docs/services/blockchain/etn_sdk.html

mariol100
2017-01-10 19:52
Hi, I deployed with docker-compose yeasy/0.6/pbft/4-peers-with-membersrvc-explorer.yml. It runs fine ... until I deploy a chain.. from the docker logs : I got the following errors :

mariol100
2017-01-10 19:53
19:52:45.352 [peer] ensureConnected -> WARN 241 Touch service indicates dropped connections, attempting to reconnect... 2017/01/10 19:52:45 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 172.22.0.5:7051: getsockopt: connection refused"; Reconnecting to {"172.22.0.5:7051" <nil>} 2017/01/10 19:52:46 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 172.22.0.5:7051: getsockopt: connection refused"; Reconnecting to {"172.22.0.5:7051" <nil>} 2017/01/10 19:52:46 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 172.22.0.5:7051: getsockopt: connection refused"; Reconnecting to {"172.22.0.5:7051" <nil>} 19:52:47.470 [peer] handleChat -> ERRO 242 Error handling message: Peer FSM cannot handle message (DISC_GET_PEERS) with payload size (0) while in state: created 2017/01/10 19:52:47 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 172.22.0.5:7051: getsockopt: connection refused"; Reconnecting to {"172.22.0.5:7051" <nil>} 2017/01/10 19:52:48 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 172.22.0.5:7051: getsockopt: connection refused"; Reconnecting to {"172.22.0.5:7051" <nil>} 19:52:48.353 [peer] chatWithPeer -> ERRO 243 Error creating connection to peer address 172.22.0.5:7051: grpc: timed out when dia

mariol100
2017-01-10 19:55
does anyone know about this problem?

mariol100
2017-01-10 20:03

mariol100
2017-01-10 20:06
I have the same issues describe in Issue#879

silliman
2017-01-10 20:41
Is the general public able to join the public Slack channels here, that is, can you register from an e-mail account that isn't from a domain owned by a Hyperledger Project consortium member? I think the answer is yes, just hoping someone could confirm or deny this.

mcoblenz
2017-01-10 20:43
I believe so, myself being a member of the general public.

nandini.parimi
2017-01-10 21:44
Hello Everyone, i heard there is a blockchain hackfest in the first week of feb. Can someone please share the information

chrisloza
2017-01-10 21:46
Hello. Is there a way to determine the actual version of the fabric code I'm running ?

test_2020
2017-01-10 22:03
has joined #general

gondola731
2017-01-10 22:26
has joined #general

juliocabviana
2017-01-11 00:28
has joined #general

nocturnien
2017-01-11 02:08
has joined #general

alfsaw
2017-01-11 02:52
has joined #general

alfsaw
2017-01-11 03:00
Hi, I have a problem setting up my vagrant environment. It fails at ./build_ubuntu_deps.sh with an error ==> default: removing 'pybitcointools-1.1.15' (and everything under it) ==> default: error: [Errno 1] Operation not permitted ==> default: + exit 1

wjq
2017-01-11 06:16
Hello. Does anyone know in fabric 0.6, how tcert and ecert are related? for example, how the auditors know one tcert is owned by the ecert?

abhinav.garg
2017-01-11 06:21
In car lease demo, I want to know where the API's being kept and how from Go or node.js being they are fetching.

ryanwen
2017-01-11 06:46
has joined #general

kt.navin1
2017-01-11 06:48
has joined #general

coolsvap
2017-01-11 08:37
has joined #general

abhinav.garg
2017-01-11 09:04
I deployed car lease demo. [2:34] But I want to know where are the API's and how they are being called in there in chaincode.Pl let me know the specific one,so I can see how they are working

forestjqg
2017-01-11 09:37
Hi all: I have a question for chaincode deploy on hyplerledger When deploy a chaincode on hyperledger with 4 VP The chaincode should be deployed on each vp of the 4 vps. But I checked the code for deploy, only find the chaincode is deployed on one VP. Who know how the chaincode is deployed on other VPs?Where can I find the related code for deploy chaincode on other vp in hyperledger/fabric project? Thanks

vltech
2017-01-11 09:44

vltech
2017-01-11 09:45
basically if chaincode is not propagated to other nodes it may mean there is an issue with connectivity between nodes/VPs

billieluxu
2017-01-11 10:08
has joined #general

subax
2017-01-11 10:17
Hi, For hyperledger 0.6 version other than MAC OS and windows any other OS are supported. Is Ubuntu supported?

benlewis
2017-01-11 10:19
@subax There is a vagrant development environment based on Ubuntu

goms143
2017-01-11 10:23
Hello, how to create filelogging in chaincode ?

subax
2017-01-11 10:27
@benlewis, according to my requirements, i want this to be running outside of vagrant only. As u might know, it works on MAC OSX outside of vagrant. Can you suggest similar for Ubuntu or any other OS. Basically I want to create 2/3 VMs to maintain different environments

pd93
2017-01-11 10:35
@subax you can run it on Ubuntu just fine. Vagrant is not needed

subax
2017-01-11 10:56
ok thanks. Just a latest version of Ubuntu will do?

pd93
2017-01-11 11:00
I'm using the latest Debian. I'm pretty sure any new version of Ubuntu will do fine too.

travin
2017-01-11 11:10
has joined #general

subax
2017-01-11 11:21
ok thanks

kelvin
2017-01-11 12:13
has joined #general

subselvaraj
2017-01-11 12:17
has joined #general

mikeward
2017-01-11 12:35
Hello everyone. For those based in Seoul please join us for a meetup session where we will introduce Corda. We’ll be doing an overview of the architecture that you can follow even if you are non-technical followed by a few demos. For those that are technical we’ll try and help you get started on the development setup also. https://www.meetup.com/Seoul-Corda-Meetup/

bur
2017-01-11 12:37
has joined #general

manimadhukar
2017-01-11 13:08
has joined #general

goms143
2017-01-11 13:13
hello, is there any way to save the autogenerated json log files of container inside the container. the genrated log file is getting stored in /var/lib/docker/containers/f53790850ee6fe357c9f68d6900ecc0a5a90b50e51627b54b4d579b245be6019/f53790850ee6fe357c9f68d6900ecc0a5a90b50e51627b54b4d579b245be6019-json.log can i store this log in a different folder

averevkin
2017-01-11 13:25
has joined #general

terril
2017-01-11 13:33
has joined #general

rachweb2
2017-01-11 13:47
has joined #general

rainede
2017-01-11 13:49
has joined #general

djp
2017-01-11 14:47
has joined #general

scottsam
2017-01-11 14:51
has joined #general

ejchet
2017-01-11 15:02
has joined #general

wjq
2017-01-11 15:13
@wjq uploaded a file: https://hyperledgerproject.slack.com/files/wjq/F3Q6W6YPP/how_to_set_tls_enabled.yaml and commented: Hello, in fabric 0.6, I tried to use with tls enabled. But I get " connection error: desc = "transport: x509: certificate signed by unknown authority"; Reconnecting to {"localhost:7054" <nil>" .Can anyone help me? how should I set the tls config?

2017-01-11 15:14
@wjq commented on @wjq’s file https://hyperledgerproject.slack.com/files/wjq/F3Q6W6YPP/how_to_set_tls_enabled.yaml: Hello, in fabric 0.6, I tried to use with tls enabled. But I get " connection error: desc = "transport: x509: certificate signed by unknown authority"; Reconnecting to {"localhost:7054" <nil>" .Can anyone help me? how should I set the tls config?

chaitanya
2017-01-11 15:34
When using v6.0, is it necessary to be using UserCerts for ABAC? Or could I just be using TCerts and still have the ABAC functionality?

sameert
2017-01-11 15:51
has joined #general

chamoute
2017-01-11 16:11
has joined #general

satyam_agl
2017-01-11 16:29
please anybody guide me about the CA requirement in the hyperledger

yacovm
2017-01-11 16:29
that's a question f or #fabric-cop or #fabric-crypto

satyam_agl
2017-01-11 16:30
fabric-cop

nicoj
2017-01-11 16:34
has joined #general

bgabbate
2017-01-11 17:00
has joined #general

tbenzies
2017-01-11 17:30

travin
2017-01-11 18:04
Hello everyone. I'm Travin Keith from the Nxt Foundation, an Associate Member of Hyperledger since August. I'm part of the Marketing Committee and some WGs, but I'll temporarily be attending the TSC stuff as well to avoid being out-of-the-loop until we find someone on the team to take the role. Looking forward to sitting-in on the discussions. :slightly_smiling_face:

hc105
2017-01-11 18:48
has joined #general

tgudger
2017-01-11 19:27
has joined #general

akilas
2017-01-11 19:29
has joined #general

nikhil.shah2
2017-01-11 20:14
has joined #general

shyamnagarajan
2017-01-11 20:17
has joined #general

chasebr
2017-01-11 20:17
has joined #general

chasebr
2017-01-11 20:22
Hi. I'm currently training on Hyperledger, and I'm trying to work through this tutorial http://hyperledger-fabric.readthedocs.io/en/v0.6/Setup/Chaincode-setup/#option-1-vagrant-development-environment I'm getting stuck on this command cd $GOPATH/src/github.com/hyperledger/fabric/peer peer network login <username> Has anyone run into this problem? I have a screenshot of the errors incoming

chasebr
2017-01-11 20:22

yefim_ibm
2017-01-11 20:22
has joined #general

chasebr
2017-01-11 20:27
I'm using version 0.6

jyero
2017-01-11 20:33
has joined #general

123
2017-01-11 20:58
The Bitfinex Scam for $5.5M+ http://pastebin.com/6tD8mfZY

silliman
2017-01-11 21:05

latricia
2017-01-11 21:05
has joined #general

kanelai
2017-01-12 00:22
@chasebr: peer isn't able to reach membersrvc. You see it says "connection refused" on port 7054.

hl.rose
2017-01-12 01:25
@chrisloza a way to determine the actual version of the fabric code that you're running is to check the value of BASE_VERSION in the Makefile

michaelharris
2017-01-12 02:40
has joined #general

ug1y
2017-01-12 03:21
has joined #general

ug1y
2017-01-12 03:50
I want know how long the peer generate a block to the ledger ?

taochanglian
2017-01-12 04:49
has joined #general

wengshuhan
2017-01-12 05:09
has joined #general

chenshuijin
2017-01-12 06:35
has joined #general

yacovm
2017-01-12 06:40
Peers sont generate blocks

yacovm
2017-01-12 06:40
They consume them. Unless you mean v0.6, then it depends on the batch size and duration from what I know

sumthota
2017-01-12 06:50
has joined #general

forestjqg
2017-01-12 07:49
Hello all: I have a question for hyperledger fabric I wrote a chaincode which will generate random in invoke function and put the random to ledger with putstate. In a 4 vp environment, if I invoke this chaincode to generate random, this operation will lead the state on each vp is different. According to the concensus theory, this operation should NOT be executed in the 4 VP enviroment . I tested it, but hyperledger fabric executed the chaincode successfully even though the random number is different on each vp. Who can tell me why this can happen? Thanks jia qinggang

lin
2017-01-12 08:23
did you use rest api ?

lin
2017-01-12 08:25
can you be more specific about how you confirmed that it succeed ?

forestjqg
2017-01-12 08:27
Hi, i checked all of the log on different vp, the log show the chaincode is executed and I use getstate to get the the generated random number, i can get the value also

forestjqg
2017-01-12 08:28
so it is succeeded

lin
2017-01-12 09:10
do you mean that you can get the different values on the same key ?

suporn
2017-01-12 09:22
has joined #general

forestjqg
2017-01-12 09:28
yes,i get different value on different vp with same key

marvsperez
2017-01-12 09:40
has joined #general

marvsperez
2017-01-12 10:39
Hi, are all transactions performed or executed from hyperledger will all transmitted to bitcore "MainNet" network or bitcore mainnet has nothing to do with it? Pardon for my newbie question. I'm literally new to blockchain technology more so to hyperledger.

pd93
2017-01-12 11:05
@marvsperez Welcome to the community. Just to clear things up.. Hyperledger has nothing to do with Bitcoin/Bitcore. It is completely unrelated except for the fact that they are both blockchains. Bitcoin is a single, public blockchain that is maintained by everyone who contributes to it. Hyperledger Fabric is a permissioned blockchain. This means that each Hyperledger Fabric blockchain can only be viewed by members who have permission. Each instance of a Hyperledger Fabric blockchain is independent from any other instance. They can each be configured in their own way and they do not interact with one another or any other blockchains (unless told to do so).

saifulislamsaaif
2017-01-12 11:12
has joined #general

marvsperez
2017-01-12 11:14
@pd93 Thank you for answering. It's my third day of reading about bitcoin/bitcore stuff so I guess I can leave it behind now and dedicated my time exploring on Hyperledger. I'm currently setting up the start-up kit to get a feel of the fabric chaincode.

marvsperez
2017-01-12 11:16
So does that mean I can setup the hyperledger in our own infrastructure?

pd93
2017-01-12 11:17
Absolutely. I run my development environment on a private Debian server. You can host it wherever you like

pd93
2017-01-12 11:18
I should probably also point out that Bitcoin is purely a cryptocurrency whereas Fabric is a much more general purpose. It can be used for anything from financial trading to supply chain management. The possibilities are quite endless. IBM also have a nice guide for their Bluemix service (which uses Hyperledger Fabric) http://www.ibm.com/developerworks/cloud/library/cl-ibm-blockchain-101-quick-start-guide-for-developers-bluemix-trs/index.html

marvsperez
2017-01-12 11:20
Awesome! It would be a fun to learn and explore. We're working on a new insurance/investment platform and we plan to use Microsoft Azure Service Fabric to build the system in microservices. However, we're heavily exploring to use blockchain if applicable. Lot's of thing to research on.

pd93
2017-01-12 11:22
Best of luck to you! Hyperledger-Fabric is definitely the place to be :wink:

marvsperez
2017-01-12 11:26
Looking forward to it.. but azure service fabric is definitely different from hyperledger fabric.. I could host the hyperledger in docker and deploy in azure service fabric. I just need to know what business logic in our microservice we could use blockchain. :thinking_face:

marvsperez
2017-01-12 11:27
Once I understand this hyperledger/blockchain works, I could see how I can use this in our project.

pd93
2017-01-12 11:31
I'm not familiar with Azure's Service Fabric, so I'm probably not much help. Hyperledger can definitely be hosted with Azure though

marvsperez
2017-01-12 11:34
:+1::muscle: time to read your 101 :slightly_smiling_face:

locusf
2017-01-12 12:17
is it possible to do the IBM Blockchain for developers on local hosting of hyperledger?

locusf
2017-01-12 12:17
not just bluemix


laetitia1917
2017-01-12 12:22
has joined #general

sureshgnair
2017-01-12 12:27
has joined #general

pd93
2017-01-12 12:38
@locusf IBM's Bluemix platform is based on Hyperledger Fabric (v0.6) so everything you can do on Bluemix, can be done outside of Bluemix too.

pd93
2017-01-12 12:39
It just takes a bit more setup and a slightly better understanding

locusf
2017-01-12 12:40
okay

spring
2017-01-12 13:58
has joined #general

locusf
2017-01-12 14:23
just made some llgo IR code from the fabric chaincode example https://gist.github.com/locusf/2fa7f5dc9b8f8c04c5b8f4d659b337c1


jimstroming
2017-01-12 14:52
has joined #general

sirisha.kanthi
2017-01-12 16:15
has joined #general

dmenghani
2017-01-12 17:27
has joined #general

ashishja
2017-01-12 18:09
has joined #general

kcoderider
2017-01-12 19:16
has joined #general

veluk
2017-01-12 19:49
has joined #general

styler
2017-01-12 20:06
has joined #general

scrisan
2017-01-12 20:09
has joined #general

jmanweiler
2017-01-12 21:41
has joined #general

hemalatha
2017-01-12 21:52
has joined #general

arnoldsimson
2017-01-12 23:56
has joined #general

noahthorp
2017-01-13 02:57
has joined #general

ibmdannywong
2017-01-13 03:31
ok

hightall
2017-01-13 04:49
has joined #general

manimadhukar
2017-01-13 04:56
@locusf you can host hyperledger on your own DC or local machine too

gauthampamu
2017-01-13 05:05
What is the recommended hardware for running Hyperledger docker images (v0.6) on Mac and Windows. I understand the answer could depend on the use case. Lets says, we are talking about development environment. What is the recommended configuration for Mac. I have checked system requirements for Docker, it says you will need Mac Book Pro newer than 2010 and minimum 4GB. We also know that you cannot Macbook pro with 4GB and most Macbook pro systems purchased have more than 8GB or 16GB.

valesco19
2017-01-13 05:12
has joined #general

goms143
2017-01-13 05:30
Hello, I would like to mount only my /var/lib/docker container file on my host in a directory (ex: ~/docker ) how can I do that with docker-composer membersrvc: image: hyperledger/fabric-membersrvc:x86_64-0.6.1-preview ports: - "7054:7054" environment: volumes: - ~/docker:/var/lib/docker/containers/ command: membersrvc i used the above docker compose file but it is not storing anything

johnb
2017-01-13 05:32
has joined #general

xiaohuo
2017-01-13 06:13
@goms143 maybe you should try ~/docker/container_file:/var/lib/docker/containers/container_file

sahilshah50
2017-01-13 06:29
has joined #general

wwwangcai
2017-01-13 06:46
hi all, is there any hyperledger community

zz
2017-01-13 06:47
has joined #general

ug1y
2017-01-13 07:01
yes

jmherrer
2017-01-13 07:09
Hello everyone, a team and I have been working on an elections app using hyperledger/HFC, and in the last week we have been getting this kind of error coming from GRPC. Has anyone else seen this, or know a workaround? Thanks. `Deploying chaincode ... E0112 23:49:13.499530000 4445990912 handshake.c:128] Security handshake failed: {"created":"@1484290153.499493000","description":"Handshake read failed","file":"../src/core/lib/security/transport/handshake.c","file_line":237,"referenced_errors":[{"created":"@1484290153.499482000","description":"FD shutdown","file":"../src/core/lib/iomgr/ev_poll_posix.c","file_line":427}]} `

lxktnt
2017-01-13 07:31
has joined #general

kelvin_zhong
2017-01-13 07:40
has joined #general

jmherrer
2017-01-13 07:41
It's worth saying that my above error appraise when using HFC 0.6.5...when I use the one that matches the one running on bluemix(0.6.1), I get the following error in the same part: E0113 00:37:05.578805000 4378333184 resolve_address_posix.c:126] getaddrinfo: nodename nor servname provided, or not known

liuzhudong
2017-01-13 07:47
has joined #general

kmornhinweg
2017-01-13 10:33
has joined #general

philippedeverge
2017-01-13 10:36
has joined #general

parsilva
2017-01-13 12:07
has joined #general

gws
2017-01-13 12:29
has joined #general

samarafin
2017-01-13 13:11
has joined #general

vi
2017-01-13 13:40
has joined #general

kojack
2017-01-13 14:53
has joined #general

praveennagpal
2017-01-13 14:55
is somebody aware of a tool which can convert smart contracts written in solidity to golang based chaincode or porting it manually is the only way out for the time being?

kdj
2017-01-13 16:22
If I'm not using vagrant -- what do I need to compile in order to get a command-line peer client running -- I've successfully set up the environment in CentOS 7 and was able to start and register the chaincode, ready for invocations--do I just build the code in src/github.com/hyperledger/fabric/peer or is more required?

samsuh
2017-01-13 18:12
has joined #general

evemary
2017-01-13 18:16
has joined #general

samsuh
2017-01-13 18:18
just wanted to say hello. i'm new to blockchain technology (and coding in general), but i look forward to building cool stuff and being part of the community.

alacambra
2017-01-13 20:20
Hi everyone

alacambra
2017-01-13 20:20
I am new in blockchain code

alacambra
2017-01-13 20:21
I am following the steps of http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup to deploy and invoke chain code

alacambra
2017-01-13 20:21
I have seen in the logs the following message: | 20:15:51.293 [chaincode] Launch -> ERRO b780 You are attempting to perform an action other than Deploy on Chaincode that is not ready and you are in developer mode. Did you forget to Deploy your chaincode?

alacambra
2017-01-13 20:22
The rest call return a 200 with a correct body :

alacambra
2017-01-13 20:22
{ "jsonrpc": "2.0", "result": { "status": "OK", "message": "9ea577c7-a311-44bd-8dbf-0e50773ffec5" }, "id": 1 }

alacambra
2017-01-13 20:23
and a query call return an error:

alacambra
2017-01-13 20:23
{ "jsonrpc": "2.0", "error": { "code": -32003, "message": "Query failure", "data": "Error when querying chaincode: Error:Failed to launch chaincode spec(Failed to init chaincode(handler not found for chaincode mycc))" }, "id": 1 }

alacambra
2017-01-13 20:24
does someone has any clue what is happening? I am using Docker

halie.ellis
2017-01-13 20:56
has joined #general

duanebeyer
2017-01-13 21:02
has joined #general

tkuhrt
2017-01-13 22:14
Have you deployed the chaincode, @alacambra? Before you can call the invoke or query, you need to deploy the chaincode. I have also noticed that invoke will return success even if the chaincode has not been deployed.

tkuhrt
2017-01-13 22:18
Something like: ``` curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d ‘ { "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID":{ "name": “mycc" }, "ctorMsg": { "function":"init", "args":[] }, "secureContext": "admin" }, "id": 1 }' ‘http://172.17.0.3:7050/chaincode’ ```

jessicac
2017-01-14 02:11
has joined #general

ruiping_li
2017-01-14 05:18
has joined #general

devendray
2017-01-14 10:30
has joined #general

alacambra
2017-01-14 10:35
hi @tkuhrt

alacambra
2017-01-14 10:35
yes, I have deployed

alacambra
2017-01-14 10:38
that is response after deploy

alacambra
2017-01-14 10:38
'’'

alacambra
2017-01-14 10:38
{ "jsonrpc": "2.0", "result": { "status": "OK", "message": "mycc" }, "id": 1 }

alacambra
2017-01-14 10:40
I also see quite often this message: vp0_1 | 10:38:35.694 [ledger] CommitTxBatch -> DEBU 50f There were some erroneous transactions. We need to send a 'TX rejected' message here.

alacambra
2017-01-14 10:40
however all the rest says it is all fine

garisingh
2017-01-14 11:20
@alacambra - the deploy call is basically asynchronous so as long as it is properly formatted it will be accepted. Reading above, it looks like you are running in dev mode. Did you actually compile and start your "mycc" chaincode?

jlaf
2017-01-14 11:20
has joined #general

varshitha
2017-01-14 11:30
has joined #general

alacambra
2017-01-14 12:54
@garisingh yes, I am on dev mode, and I have started mycc chaincode

alacambra
2017-01-14 13:26
here is a confirmation message: vp0_1 | 13:22:09.714 [rest] processChaincodeDeploy -> INFO 43a Successfully deployed chainCode: mycc

alacambra
2017-01-14 13:32
full logs a deploy, invoke and query are available here: https://drive.google.com/file/d/0B4kD0c_gZJoGOUNJOGZTcnBMMXM/view?usp=sharing


jeremiah
2017-01-14 15:30
has joined #general

caentist
2017-01-14 15:37
has joined #general

hongsen
2017-01-14 16:06
has joined #general

docallaghan
2017-01-14 18:37
has joined #general

ingcr3at1on
2017-01-14 21:31
has joined #general

kamlesh333
2017-01-14 21:33
has joined #general

ingcr3at1on
2017-01-14 21:34
I'm trying to follow the docker toolbox startup outlined here: http://hyperledger-fabric.readthedocs.io/en/latest/Setup/Chaincode-setup/#option-3-docker-toolbox I pulled the docker images and was able to start them both using docker-compose, cloned fabric and the chaincode using the shown commands but when I run ``` CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02 ``` I get the following ``` 21:30:04.551 [shim] INFO : Chaincode log level not provided; defaulting to: DEBUG 21:30:04.552 [shim] DEBU : Peer address: 0.0.0.0:7051 2017/01/14 21:30:05 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 2017/01/14 21:30:07 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 0.0.0.0:7051: getsockopt: connection refused"; Reconnecting to {"0.0.0.0:7051" <nil>} 21:30:07.552 [shim] ERRO : Error trying to connect to local peer: grpc: timed out when dialing ```

ingcr3at1on
2017-01-14 21:35
(time to change my slack settings so enter doesn't auto send when using ``` )

ingcr3at1on
2017-01-14 21:36
I confirmed the port was not in use but haven't attempted to debug the grpc issue any further than that

montge
2017-01-14 21:41
has joined #general

ingcr3at1on
2017-01-14 21:44
nvm

ingcr3at1on
2017-01-14 22:36
@ingcr3at1on uploaded a file: https://hyperledgerproject.slack.com/files/ingcr3at1on/F3R0DB42D/-.txt and commented: Just running the chaincode_example02 chaincode to fiddle around with rest a bit and getting this when attempting to register (the user has not been registered before).

ingcr3at1on
2017-01-14 22:38
I guess now that I think about it that's probably cause I need to do something to actually add user names...

ingcr3at1on
2017-01-14 22:40
guess I should have read the vagrant stuff, I think security is disabled anyway so the above doesn't matter lol

ingcr3at1on
2017-01-14 22:41
wonders why security setup is only in the vagrant walk through

timnechville
2017-01-14 23:34
has joined #general

henrique
2017-01-15 00:15
has joined #general

bhanuk31
2017-01-15 00:41
has joined #general

stuart
2017-01-15 03:37
has joined #general

nikeshgogia
2017-01-15 07:52
has joined #general

nikeshgogia
2017-01-15 07:54
Tried HFC and received this error

nikeshgogia
2017-01-15 07:54
root@nikesh-openstack:/mnt/nikeshvolume/hfc-nodesample# node app.js ERROR: failed to register Error: {"created":"@1484466418.274334554","description":"OS Error","errno":104,"file":"../src/core/lib/iomgr/tcp_posix.c","file_line":229,"grpc_status":14,"os_error":"Connection reset by peer","syscall":"recvmsg"}: %s

nikeshgogia
2017-01-15 07:54
Can anybody help ?

merlan
2017-01-15 11:24
has joined #general

jane.he
2017-01-15 13:08
has joined #general

satyajeet.tripathy
2017-01-15 13:20
has joined #general

satyajeet.tripathy
2017-01-15 13:22
is there any Bangalore channel?

jane.he
2017-01-15 13:24
hey, I started reading about blockchain and ethereum 3 weeks ago. Does hyperledger work with ethereum or an alternative? I have an experiment (a simple employee onboarding workflow) to gain some insight. Feel free to contact me directly.

buntegedanken
2017-01-15 15:19
has joined #general

didier.lefloch
2017-01-15 17:50
has joined #general

ingcr3at1on
2017-01-15 18:03
@jane.he I haven't been keeping up with ethereum from a dev perspective but I'm pretty sure it uses it's own bespoke blockchain implementation... as for employee onboarding I see no reason you couldn't use hyperledger if a blockchain meets your onboarding requirements

ingcr3at1on
2017-01-15 18:04
(personally I love blockchain tech but I do feel like some people want to use it in things that it doesn't really need to be used for)

ingcr3at1on
2017-01-15 18:06
I had someone trying to convince me that a chat service would be good over a blockchain which to me sounds like a completely terribad idea on account of everyone would have everyone's messages; you could of course encrypt them but that still seems like a bad idea from a forward security perspective

ingcr3at1on
2017-01-15 18:07
https://github.com/ethereum/go-ethereum definitely their own implementation of a blockchain

ingcr3at1on
2017-01-15 18:08
seems to me hyperledger is more agile in terms of what you can use it for

ingcr3at1on
2017-01-15 18:08
(without modifying the core code that is)

tblythe
2017-01-15 18:40
has joined #general

gajab
2017-01-15 19:58
has joined #general

montge
2017-01-15 20:36
I'm relatively new to Hyperledger and going through the tutorials, but ran into a question. I see that there is a certificate in the block when running the rest command. Is this a normal x509 certificate or something else? I ask because I was trying to copy and bracket it with the normal -----BEGIN CERTIFICATE-----/-----END CERTIFICATE-----, but was getting a "Expecting: TRUSTED CERTIFICATE" using openssl

avest
2017-01-15 22:46
has joined #general

amyss
2017-01-15 23:20
has joined #general

jane.he
2017-01-16 00:49
@ingcr3at1on: thanks. The hr onboarding is just the first test to have hands on experience with hyperledger. I agreed with you blockchain may not be necessary for everything. The traditional way may work better in many cases. My actual motivation is to find a proper platform for smart contract for enterprise solutions. Feel free to share with me your experiences.

jbiao
2017-01-16 01:08
has joined #general

zekzit
2017-01-16 03:16
has joined #general

jansony1
2017-01-16 05:52
has joined #general

chanmo
2017-01-16 06:09
has joined #general

raviarun
2017-01-16 07:02
has joined #general

ban
2017-01-16 09:04
has joined #general

userstring
2017-01-16 09:49
has joined #general

rakesh
2017-01-16 09:54
has joined #general

mattmorris
2017-01-16 10:08
has joined #general

vadim
2017-01-16 10:26
has joined #general

forestjqg
2017-01-16 10:41
Hi all: In the consencus of hyperledger, there are variable view in the pbftCore instance. Who does know where this variable is initialized and what is the initial value? Thanks jia qinggang

forestjqg
2017-01-16 10:43
this variable:instance.view

arnabkaycee
2017-01-16 12:13
HI ALL

arnabkaycee
2017-01-16 12:13
I am using Java SDK with Fabric

arnabkaycee
2017-01-16 12:14
I am invoking chaincode using Member.java

arnabkaycee
2017-01-16 12:14
passing request object as parameter

arnabkaycee
2017-01-16 12:14
I am unable to decode the message as String

arnabkaycee
2017-01-16 12:14
can anyone help me out?

swapnilgeek
2017-01-16 12:40
has joined #general

yuryandreev
2017-01-16 13:08
@arnabkaycee ask in channel #fabric-sdk-java

arnabkaycee
2017-01-16 14:09
thanks @yuryandreev

arnabkaycee
2017-01-16 14:09
i will do so

seafre
2017-01-16 14:34
has joined #general

tjcliffo-at-ibm
2017-01-16 14:37
has joined #general

steveatkin
2017-01-16 16:05
has joined #general

cgblack
2017-01-16 16:09
has joined #general

steveatkin
2017-01-16 16:10
I am seeing this issue as well though it seems to mostly happen when I run in the cloud. I don't seem to get this when I am running locally.

kenbodia
2017-01-16 16:16
has joined #general

steveatkin
2017-01-16 16:22
I am now seeing this error show up occasionally: Error: {"created":"@1484583370.786948912","description":"Secure read failed","file":"../src/core/lib/security/transport/secure_endpoint.c","file_line":157,"grpc_status":14,"referenced_errors":[{"created":"@1484583370.786926083","description":"OS Error","errno":104,"file":"../src/core/lib/iomgr/tcp_posix.c","file_line":229,"os_error":"Connection reset by peer","syscall":"recvmsg"}]}

carlos.davila.valdez
2017-01-16 18:11
has joined #general

rhpvangapalli
2017-01-16 18:31
has joined #general

marcusvcs
2017-01-16 18:57
has joined #general

hhaswell
2017-01-16 19:22
has joined #general

kbryan
2017-01-16 20:04
has joined #general

rcosta
2017-01-16 20:56
has joined #general

steven.k.colin
2017-01-16 23:08
has joined #general

hanford
2017-01-17 00:18
has joined #general

licecer
2017-01-17 04:38
has joined #general

sgoel219
2017-01-17 06:26
has joined #general

lu4t
2017-01-17 07:11
has joined #general

liuxx
2017-01-17 08:39
has joined #general

billykwok
2017-01-17 08:40
has joined #general

morice
2017-01-17 08:49
has joined #general

rampart
2017-01-17 09:01
has joined #general

samwalker
2017-01-17 09:11
has joined #general

maximus
2017-01-17 10:14
has joined #general

fcctoni
2017-01-17 10:31
has joined #general

arnabkaycee
2017-01-17 10:42
Hi, does fabric support concurrent read/write handling?

keithsmith
2017-01-17 14:38
Hi everyone, as most of you probably know, COP is v1's replacement for membership services in v0.6.

bercinho
2017-01-17 14:38
Dear All, does anyone know why I may not have Internet connectivity within my Docker Containers? (Note that with "nc" I am able to send text from the Container to the Host, but for some reason I can´t access anything via Port 80)

keithsmith
2017-01-17 14:38
Hi everyone, as most of you probably know, COP is v1's replacement for membership services in v0.6. There have been numerous concerns voiced about use of the name "COP", reasons including: * lack of clarity on what it really is, so constant explanations required; * negative connotation in some cultures. So we are looking to rename the repo, images, slack channel, and executable to "fabric-ca". The current COP is a CA (Certificate Authority), so the name "fabric-ca" will be meaningful. Comments are welcome.

kdj
2017-01-17 14:45
@bercinho check your docker-compose.yml file to make sure ports are mapped externally for the hosts

kdj
2017-01-17 14:45
eg. vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7052:7052"

bercinho
2017-01-17 14:52
Hi KDJ

bercinho
2017-01-17 14:52
it´s about port 80

bercinho
2017-01-17 14:52
outbound

bercinho
2017-01-17 14:52
I don´t want to promote any port to the host

bercinho
2017-01-17 14:52
well actually I do the above ones

kdj
2017-01-17 14:52
same thing works for port 80, just specify it for the host

kdj
2017-01-17 14:52
also check your firewall

bercinho
2017-01-17 14:53
its´not a firewall issue, from the host I can run "curl http://google.com" it works

bercinho
2017-01-17 14:53
from the container it will not

bercinho
2017-01-17 14:54
I do have the port mapping " ports: - "7050:7050" - "7051:7051" - "7053:7053"" in the config "docker-compose-nodes.yaml"

kdj
2017-01-17 14:55
so if you want to open up port 80, you have to do the same thing for it as you are above for those ports

bercinho
2017-01-17 14:55
I should not have 80:80 there, it´s the container going outbound to port 80

kdj
2017-01-17 14:55
oh

bercinho
2017-01-17 14:56
it´s outbound communication from the container

bercinho
2017-01-17 14:56
oh and the docker engines are in a overlay network, because I have a multi host setup

bercinho
2017-01-17 14:57
the "docker_gwbridge" is created automatically and seems to work for everything but port 80

o.o
2017-01-17 15:01
has joined #general

bercinho
2017-01-17 15:04
so there is a firewall on the host, and what I do is having a transparent proxy (redsocks) running on Port 12345, and having rules in the IPTABLES to route traffic from Port80 to Port 12345 (tcp dpt:80 redir ports 12345), where the transparent proxy will take care of routing it to the webproxy (http://webproxy.aws.db.de)

bercinho
2017-01-17 15:06
for some reason the container still tries to communicate directly with whatever webserver I define instead of having the tcp requested routed to the Redsocks transparent proxy

bercinho
2017-01-17 15:06
this is a request from the container (curl http://google.com):

bercinho
2017-01-17 15:06

bercinho
2017-01-17 15:07

bercinho
2017-01-17 15:08
and the response message from google to host below

bercinho
2017-01-17 15:08

bercinho
2017-01-17 15:08
Which is the appropriate channel to discuss such "Docker" matters?

shanecurcuru
2017-01-17 15:09
has joined #general

lagess
2017-01-17 16:38
has joined #general

aservin
2017-01-17 16:46
has joined #general

dhinson
2017-01-17 17:29
has joined #general

evgenyezhov
2017-01-17 18:17
has joined #general

elialee
2017-01-17 22:24
has joined #general

achoi
2017-01-17 23:44
has joined #general

abhkamath
2017-01-18 00:18
has joined #general

jerry10301
2017-01-18 01:26
has joined #general

jmherrer
2017-01-18 02:51
Hi There, I’m using the HFC sdk and been noticing that there is a difference in the way errors are returned in the chaincode between invoke() and query(). When I return an error like so: return nil, errors.New("generic error") the error is propagated properly only when the error came from a function called through query(). However, when called through invoke(), there is no apparent way to detect the error. When I try it from the Blockchain API portal, I simply get a 200 OK response... and through the HFC library it simply times out. Getting error signals back from the chaincode/smart contract is very important, so what is happening?

down-the-fall-line
2017-01-18 03:17
has joined #general

down-the-fall-line
2017-01-18 03:38
hi all, newbie from CO here

cnledger
2017-01-18 04:14
has joined #general

bain
2017-01-18 05:10
Hi all, I want to install 4 peers in different docker engines(4 peer dockers in 4 machines), do you know how to configure the parameter of "CORE_VM_ENDPOINT"? Help!!!

aditsharma
2017-01-18 05:18
has joined #general

gaurav
2017-01-18 05:34
Our organization has a private registry for docker images and the public docker hub registry is not accessible. Hence the images needed for hyperledger network setup and chaincode deployment are available in the private registry as below: 1. hyperledger/fabric-peer:x86_64-0.6.0-preview -> <REGISTRY_URL>/fabric-peer:x86_64-0.6.0-preview 2. hyperledger/fabric-baseimage:x86_64-0.2.0 -> <REGISTRY_URL>/fabric-baseimage:latest What is working: Fabric peer setup through "peer node start" is OK, as we can specify the full path of the image as: docker run --name peer -e CORE_VM_ENDPOINT=<DOCKER_HOST> -e CORE_PEER_ID=vp0 -e CORE_PEER_ADDRESSAUTODETECT=true -p 7050:7050 <REGISTRY_URL>/fabric-peer:x86_64-0.6.0-preview peer node start What is not working: However, when a chaincode is being deployed it needs the image "hyperledger/fabric-baseimage:latest" in the repository to be able to launch the chaincode container. Any idea, if we can fix this, that is how we may specify the specific docker image for chaincode during deploy of chaincode?

nikeshgogia
2017-01-18 05:43
Hi, My hyperledger works perfectly fine in NOOPS with 4 peers. Wanted to confirm. When I make any changes via ROOT NODE it is replicated to all peers and I can see messages or data posted in all the individual ledgers. But when I post any data via peer it only happens between peer and root node and no other peers are updated. Is this correct behaviour ?

jinbailiu
2017-01-18 05:58
has joined #general

moskovich
2017-01-18 06:09
has joined #general

nikeshgogia20
2017-01-18 06:29
has joined #general

dengjun
2017-01-18 06:58
has joined #general

ss6
2017-01-18 07:15
has joined #general

asethom
2017-01-18 08:43
has joined #general

mkuehl
2017-01-18 08:52
has joined #general

sumitks
2017-01-18 09:17
Hi I just wanted to know if there is any difference in size of traditional database vs a block chain database for same number of transactions??

sumitks
2017-01-18 09:17
@garisingh

maritere
2017-01-18 10:23
has joined #general

maritere
2017-01-18 10:29
Hello everyone, I have tried to do a production Hyperledger network, however I can not have more than four nodes. When I run, for example, five nodes, the nodes runs. However, when I deploy a chaincode, only four nodes has the copy of the chaincode, so I think that the fifth node does not see the others nodes. Could anyone to help me? Thx

bastienpino
2017-01-18 11:18
has joined #general

sushilsingh94
2017-01-18 12:31
has joined #general

sushilsingh94
2017-01-18 12:36
I have my hyperledger project sample code chaincode_example02 setup

sushilsingh94
2017-01-18 12:37
and able to to curl from docker machine but not able to access REST api from browser. can any one help what is wrong ?

jollen
2017-01-18 12:54
has joined #general

nikeshgogia
2017-01-18 13:18
what error you are getting /

nikeshgogia
2017-01-18 13:18
?

sushilsingh94
2017-01-18 13:34
by using peer chaincode query -u jim -l golang -n mycc -c '{"Args": ["query", "b"]}' command I am able to query the chaincode but same I am not able to query using REST api from browser

sushilsingh94
2017-01-18 13:35
it says address unreachable

sushilsingh94
2017-01-18 13:35
can you help me what IP and port i should be using to make REST call

leegardner
2017-01-18 14:02
has joined #general

faklempt
2017-01-18 14:23
has joined #general

vinay
2017-01-18 15:57
has joined #general

keithsmith
2017-01-18 16:13
COP

keithsmith
2017-01-18 16:13
sorry, wrong window :disappointed:

mcoblenz
2017-01-18 16:43
Does this document represent the current state of the consensus protocol? https://github.com/hyperledger-archives/fabric/wiki/Next-Consensus-Architecture-Proposal

mcoblenz
2017-01-18 16:43
Or is there something else I should read instead?

mcoblenz
2017-01-18 16:44
As a newcomer, I’m having a hard time figuring out what’s up to date :confused:

jonathanlevi
2017-01-18 17:16
That’s a good doc, but it also depends on what you are after...

jonathanlevi
2017-01-18 17:16
@mcoblenz (Michael)

mcoblenz
2017-01-18 17:18
I guess I’m looking for an overview of how the pluggable consensus mechanism works. For example, if a client submits a transaction, how does the client know when consensus has been achieved? And what if consensus is not achieved?

mcoblenz
2017-01-18 17:18
And is there a possibility of transaction rollback due to consensus failure or due to a blockchain fork?

handy
2017-01-18 17:20
has joined #general

miseenplace
2017-01-18 17:21
has joined #general

jonathanlevi
2017-01-18 17:22
In #fabric, you mean? Fabric does not “do” forks :wink: We can switch to that channel too.

mcoblenz
2017-01-18 17:22
Ah, didn’t realize there was a separate channel. OK, heading over there. Thanks!

452lab
2017-01-18 17:33
has joined #general

mariap
2017-01-18 17:36
has joined #general

pschnap
2017-01-18 17:55
is there a channel for getting help compiling the ledger natively?

tkuhrt
2017-01-18 17:58
@sushilsingh94 : Make sure that the port of your first peer node is available. I have used the following command to forward data coming in on port 7050 of my local machine to the docker image of my first peer node: ``` sudo iptables -t nat -A DOCKER -p tcp --dport 7050 -j DNAT --to-destination 172.17.0.3:7050 ```

tkuhrt
2017-01-18 17:59
As another option, you could just use the ports in your docker-compose YAML file: ``` vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7053:7053" … ```

pschnap
2017-01-18 18:03
I'm trying to compile v0.6 on ubuntu and am getting an error while the unit tests run, could someone help me or point me to the appropriate channel?

doughall
2017-01-18 18:05
has joined #general

lrawicz
2017-01-18 18:25
has joined #general

lluissabarich
2017-01-18 18:37
has joined #general

schaeff
2017-01-18 19:09
has joined #general

alacambra
2017-01-18 19:26
someone knows where I can find the original Dockerfiles of hyperledger/fabric??

kzhang
2017-01-18 19:40
has joined #general

jonathanlevi
2017-01-18 19:40

alacambra
2017-01-18 19:41
thanks @jonathanlevi. I am searching for Dockerfile itself, not the built image

jonathanlevi
2017-01-18 19:44


jonathanlevi
2017-01-18 19:44
(etc.)

alacambra
2017-01-18 19:50
exactly! thanks!

choas
2017-01-18 20:07
has joined #general

alacambra
2017-01-18 20:25
I am trying to deploy chaincode on dev mode. I have started a ValidationPeer using docker. When running the chaincode the following eerror appear on the validationPeer logs: initDeliver -> ERRO 0ab Cannot dial to 0.0.0.0:7050, because of grpc: timed out when dialing

alacambra
2017-01-18 20:26
I supose that it should deal to the code running on my local computer, so the address should be the one where the code is running (local computer). If that is correct, how can give it the correct address using a docker-compose file?

alacambra
2017-01-18 20:27
maybe is also from interest that the after starting the chaincode I receive a ready message: Received REGISTERED, ready for invocations

alacambra
2017-01-18 20:27
I am not sure to know what is exactly happening

falseprophet
2017-01-18 20:55
Hello everyone

sachinsachinde
2017-01-18 21:11
has joined #general

falseprophet
2017-01-18 21:14
How would you guys compare HyperLedger/Fabric to Ethereum and other open protocols?

falseprophet
2017-01-18 21:18
I see HL as a way that a company or a group of companies can create a blockchain for private/consortium use cases. Perhaps formalizing existing business logic/relationships in a closed blockchain system with a handful of participants who are somewhat trusted (ie have been allowed into the blockchain). It seems like HL/Fabric is still at the planning stage where the kinks are bing worked out

falseprophet
2017-01-18 21:25
I see Ethereum, and Bitcoin to a much lesser extent, as the radical public alternative, where there is one main public chain that powers smart contracts and tokens. There are entrepreneurs launching new products and sudo-companies that raise money by selling tokens (ICOs) that are pushing the tech, use cases and financial market boundaries. Meanwhile, you can also fork Ethereum to create your own private/consortium/enterprise blockchain (with potential changes to the blockchain to enhance security/speed etc - examples include companies like blockapps and multichain)

falseprophet
2017-01-18 21:28
Does that make sense ^^^ Am I missing something or mistaken? I am trying to understand this all at a high-level relative to the rest of the crypto/blockchain space.

gbolo
2017-01-18 21:31
hey all, any docs on how to get started with fabric 1.0?

jorgedr
2017-01-18 23:18
has joined #general

down-the-fall-line
2017-01-18 23:32
@falseprophet i see things much the same way from a positioning standpoint. Are you familiar with clay christensen, the prof and author?

falseprophet
2017-01-18 23:58
The Innovator's Dilemma guy?

down-the-fall-line
2017-01-18 23:59
yeah, thats correct. you get it.

down-the-fall-line
2017-01-18 23:59
lets use that as a framework for thinking.

down-the-fall-line
2017-01-19 00:04
A lot of the various "coin-tech" (at least thats what i call them in as much as their core tech derives more or less directly from the blockchain project) groups/companies/etc all position themselves as doing things in a totally disruptive way. The coin-tech companies believe that their line of thinking will totally disrupt existing value chains and economies. In the edge cases, there's a vibe of anarchy. Conversely, the HyperLedger is positioned as a sustaining technology, to take existing value chains to the next level of efficiency (and there's a number of ways to define that). This is not good vs bad, but two very different ways of thinking about how to bring the tech to the market and achieve adoption.

down-the-fall-line
2017-01-19 00:06
Tending toward the disruptive side, I see some very clear advantages in healthcare (my current focus area). There's a lot of inertia to overcome, but thinking in christensen-like ways, a small team with the right resources can crack that.

falseprophet
2017-01-19 00:24
I agree that Hyperledger is s way through which corporations can adoption blockchain technologies as a sustaining innovation versus disruptive. Christensen has a very specific definition of what is disruptive vs sustaining: He defines disruptive innovation as: “An innovation that is disruptive allows a whole new population of consumers at the bottom of a market access to a product or service that was historically only accessible to consumers with a lot of money or a lot of skill.” And sustaining innovation as: “making good products better in the eyes of an incumbent’s existing customers” When you look at the events and projects unfolding in the public blockchain space, they confirm to what Christension would define as disruptive. ICOs: new and cheaper way of raising money ie. don't need to go through the VC song and dance or pay the financial industry to IPO. Ethereum based projects like Augur, Gnosis, ICONOMI, Melon Port: Alternative financial services targeted at a new niche market of traders, speculators, investors within the crypto-market. Bitcoin - a new asset class that lives outside the traditional financial industry where trading is facilitated by niche crypto-exchanges with lower trading fees than traditional exchanges and capital markets. So, to conclude, we have a technology (BTC & ETH) that is able to provide cheaper and more accessible financial services to a small but growing early-adopter market (perhaps growing too slowly... there may be ~5M people who own BTC and maybe 200,000-500,000 that really care a lot about blockchain). If you ask me, Hyperledger does not prepare corporations against a being disrupted by the Ethereum and Bitcoin ecosystem. Hyperledger aims to reduce costs and improve existing products. Nothing wrong with that, but provides no hedge against being disrupted by an emerging crypto-market.

toadster
2017-01-19 00:25
has joined #general

down-the-fall-line
2017-01-19 00:46
@falseprophet ref your conclusion: i totally agree. Not the point i was trying to make, sorry if it was interpreted that way. I was merely positing that hyperledger itself is being positioned as a sustaining disruption within the corporate ecosystem. In short, HL makes your IT stuff better. It does nothing (if your nike selling lace up shoes) to prevent you from being disrupted by Marty McFly self tying shoes :slightly_smiling_face:. In my experience, countering disruption within a corporation's franchise market requires a very different way of corporate thinking and strategic planning--- has everything to do with corporate culture, and little to do with the tech that used. Different topic entirely. The question for this community is how do you make this HL stuff easy to use for the devs that are newbies. Think about the early days of amazon web services- a dev could with a few mouse clicks have their own server to play with. No corporate IT process. Heck, maybe not even anything to do with their day job at all. From what i'm seeing, that's the central challenge for the HL community.

gammavega
2017-01-19 00:48
has joined #general

falseprophet
2017-01-19 01:02
I hear you - HL could certainly be disruptive in corporate IT.

down-the-fall-line
2017-01-19 01:04
sustainingly (if thats a word), yes

falseprophet
2017-01-19 01:05
I just wonder if it gets bogged down by corporate innovation. As you alluded to, disruptive breakthroughs require an innovative corporate culture, but most innovation departments just want to do some HL stuff (with IBM realistically) check off the blockchain box and move on without really doing anything too innovative to hedge against the very real threat that blockchain poses.

down-the-fall-line
2017-01-19 01:07
I cant really comment on that... would have to know more about context of the corp, where their risks lie, introspective view of perceived opportunities, and how they view themselves (old school SWAT analytics)

down-the-fall-line
2017-01-19 01:10
question: is there a strategy channel in this team. this is a great topic (IMO), but may be disruptive to some of the other members who are trying to get things to work.

falseprophet
2017-01-19 01:11
I suppose HL could redefine how biz processes and biz relationships are created/managed - but that requires buy-in from a number of actors or a major obvious internal ROI opportunity (which again would be sustaining). I guess my point is that even if these ideas succeed - it just helps a corporation do what they are already doing. If Ethereum, Augur, Iconomi or a number of other radical ideas suceed (such as decentralized trading, predictions markets, sports betting and P2P payments)... the game has changed.

down-the-fall-line
2017-01-19 01:14
you got it! IMO, a SWAT style line of thinking will indicate how to best navigate these uncertain, yet end of the day Blue Ocean opportunities.

falseprophet
2017-01-19 01:16

falseprophet
2017-01-19 01:16
sorry - couldn't resist :wink:

falseprophet
2017-01-19 01:18
I will admit this is my only experience with SWAT - is that what you are referring to?

jr.yang
2017-01-19 01:36
has joined #general

mjkong
2017-01-19 04:13
has joined #general

mthies
2017-01-19 07:46
has joined #general

yuwei
2017-01-19 09:17
everyone I have a question can fabric run in a real machine instead of docker container? I mean docker is only used for chaincode. thanks

asmirnov
2017-01-19 09:18
has joined #general

gnietof
2017-01-19 09:18
has joined #general

andreyvalerevich
2017-01-19 09:20
has joined #general


gchattman
2017-01-19 09:39
has joined #general

andygraham
2017-01-19 10:38
has joined #general

eugenluft
2017-01-19 11:18
Hi, I´m looking for some help to run the cli on osx. Regarding the documentation it should be in ```cd /opt/gopath/src/github.com/hyperledger/fabric build/bin/peer``` but it´s not there :disappointed:

harini
2017-01-19 11:23
has joined #general

vadim
2017-01-19 11:36
have you built it?

vadim
2017-01-19 11:36
make peer

warb
2017-01-19 12:44
has joined #general

eugenluft
2017-01-19 12:54
@vadim No, but when i try to run ```make peer``` I get following error message ```Step 2 : ADD gopath.tar.bz2 $GOPATH/src/github.com/hyperledger/fabric Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/src/.dummy] Error 1 ```` ```brew install gnu-tar —with-default-names```doesn´t help :disappointed:

garisingh
2017-01-19 12:58
its likely that it's not yet in your path

garisingh
2017-01-19 12:58
as that definitely does work

garisingh
2017-01-19 12:59
what's the output of `tar --version`

eugenluft
2017-01-19 12:59
bsdtar 2.8.3 - libarchive 2.8.3

garisingh
2017-01-19 13:00
which is the stock OSX one

eugenluft
2017-01-19 13:00
10.12.2 (the latest version)

garisingh
2017-01-19 13:01
you may simply need to open a new terminal window

garisingh
2017-01-19 13:02
or make sure the `/usr/local/bin` is in your PATH ahead of `/usr/bin` or in the same terminal window: ``` export PATH=/usr/local/bin:$PATH which tar tar --version ```

eugenluft
2017-01-19 13:04
change the order helps to solve the problem :wink: Thanks @garisingh

garisingh
2017-01-19 13:06
np


eugenluft
2017-01-19 13:24
@garisingh Any idea?

garisingh
2017-01-19 13:27
what repo are you building from?

eugenluft
2017-01-19 13:29

yuki.a
2017-01-19 14:05
has joined #general

gabrielmacedo
2017-01-19 14:07
has joined #general

garisingh
2017-01-19 14:18
@eugenluft - did you clone this recently? master branch?

srilaya
2017-01-19 14:23
has joined #general

eugenluft
2017-01-19 14:23
@garisingh To make sure i did a new clone and run `make peer`. Result ``` mkdir -p build/image/ccenv/payload cp build/docker/gotools/bin/protoc-gen-go build/bin/chaintool build/goshim.tar.bz2 build/image/ccenv/payload cp: cannot stat 'build/docker/gotools/bin/protoc-gen-go': No such file or directory make: *** [build/image/ccenv/payload] Error 1 ```

bjorn
2017-01-19 14:33
has joined #general

garisingh
2017-01-19 14:36
try `make gotools && make peer`

eugenluft
2017-01-19 15:16
@garisingh Now I´m absolutely confused. I have tried `make gotools && make peer` , but i get the previous error ``` Step 3 : ADD payload/goshim.tar.bz2 $GOPATH/src/ Error processing tar file(bzip2 data invalid: bad magic value in continuation file): make: *** [build/image/ccenv/.dummy-x86_64-0.7.0-snapshot-00dde05] Error 1 ```

eugenluft
2017-01-19 15:16
tar version is still `tar (GNU tar) 1.29`

vadim
2017-01-19 15:19
try building it in vagrant, it usually works better

djarjoura
2017-01-19 15:20
has joined #general

eugenluft
2017-01-19 15:22
vagrant is working, but I would like to run the stuff native in docker containers.

vadim
2017-01-19 15:24
have you tried just “make"? It worked for me.

eugenluft
2017-01-19 15:25
same issue

vadim
2017-01-19 15:25
on macOS

vadim
2017-01-19 15:25
do you have rocksdb installed?

vadim
2017-01-19 15:26
also, I think you use macOS, so there chaincode containers cannot really communicate with peer process

vadim
2017-01-19 15:27
so I had to go back to using vagrant

eugenluft
2017-01-19 15:34
ok, but just to make sure: If i run `peer chaincode deploy ......` (after register the chaincode) does peer creates a docker container to run the chaincode?

dknochen
2017-01-19 15:34
has joined #general

vadim
2017-01-19 15:35
yes it does. However, docker container crashes with a message that it could not talk to the peer process

vadim
2017-01-19 15:36
so this happens because of this: https://github.com/docker/compose/issues/3800

eugenluft
2017-01-19 15:40
ok. it helps :slightly_smiling_face: And do you know why it´s not possible to stop this process after deployment? , eg CORE_CHAINCODE_ID_NAME=ccID CORE_PEER_ADDRESS=0.0.0.0:7051 ./mychaincode.

vadim
2017-01-19 15:42
not sure I understood correclty, but in dev mode all chaincode invoke/queries are handled by this process

vadim
2017-01-19 15:43
so if you stop it, you can’t invoke it anymore

eugenluft
2017-01-19 15:49
I trying to understand the different between register and deploy and all the running processes. If chaincode deploy -n ccID -c… is creating the docker container with the chaincode, why do i need the running register process?

vadim
2017-01-19 15:50
you need to run a process only in dev mode

vadim
2017-01-19 15:50
at least for v1, I did not work much with v0.6

eugenluft
2017-01-19 16:02
ok … and one more question :slightly_smiling_face: Is it possible to deploy more then one chaincode in one ledger? If yes, does the ledger starts one docker for all chaincodes or for each one docker container?

ikruiper
2017-01-19 16:13
@eugenluft 1. Yes, 2. (for v0.6 anyway) one docker container per chaincode for each of the validating peers (not sure though how that will work in v1 in terms of which type of peer will need to run all the chaincodes, or if a certain chaincode can be run on a subset of peers, etc.)

dchris
2017-01-19 16:24
has joined #general

jtrayfield
2017-01-19 16:46
vp0_1 | 16:27:23.446 [dockercontroller] deployImage -> ERRO 01d Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage

jtrayfield
2017-01-19 16:47
does fabric-baseimage still have a ‘latest’ tag?

maurocordioli
2017-01-19 17:30
has joined #general

jer979
2017-01-19 18:18
@falseprophet @down-the-fall-line you guys are fantastic. It's a pleasure to read your stuff and I think you are spot on as well

down-the-fall-line
2017-01-19 18:24
thanks jer! maybe we should have a strategy channel? not sure how to do that.

jer979
2017-01-19 19:00
@down-the-fall-line we could try this one: https://hyperledgerproject.slack.com/archives/strategy

thedawnbefore
2017-01-19 19:16
has joined #general

simo
2017-01-19 19:51
has joined #general

jtrayfield
2017-01-19 20:29
emdall:bales jtray$ docker pull hyperledger/fabric-baseimage:latest Pulling repository http://docker.io/hyperledger/fabric-baseimage Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage


cbf
2017-01-19 20:38
you probably want the one tagged x86_64-0.2.2

jtrayfield
2017-01-19 20:38
@cbf vp0_1 | 16:27:23.446 [dockercontroller] deployImage -> ERRO 01d Error building images: Tag latest not found in repository http://docker.io/hyperledger/fabric-baseimage

cbf
2017-01-19 20:38
the baseimages are architecture specific

jtrayfield
2017-01-19 20:39
this is the peer loading baseimage

cbf
2017-01-19 20:39
this is a bug then... supposed to have an explicit tag

jtrayfield
2017-01-19 20:39
as part of chaincode deployment

cbf
2017-01-19 20:40
workaround would be to docker pull hyperledger/fabric-baseimage:x86_64-0.2.2

cbf
2017-01-19 20:40
and then tag it latest

cbf
2017-01-19 20:41
this is v0.6?

jtrayfield
2017-01-19 20:41
yes, 0.6.x

cbf
2017-01-19 20:41
yeah, cuz I am pretty sure we have a different image now (hyperledger/fabric-cc)

jtrayfield
2017-01-19 20:42
I’ll try that, thanks

jtrayfield
2017-01-19 20:58
@cbf it worked! do you think the same bug could be affecting bluemix deployments?

cbf
2017-01-19 21:13
@jtrayfield I don't believe so

avrahamleff
2017-01-19 21:36
@cbf thanks for the tag-as-latest solution, worked!

jtrayfield
2017-01-19 22:08
I’m getting this log output from bluemix trying to deploy chaincode: OUT - 21:49:08.358 [dockercontroller] deployImage -> ERRO 04e Error building images: API error (500): Error response from daemon: Cannot locate specified Dockerfile: Dockerfile OUT - 21:49:08.358 [dockercontroller] deployImage -> ERRO 04f Image Output: OUT - ******************** OUT - OUT - ******************** OUT - 21:49:09.082 [dockercontroller] Start -> ERRO 050 start-could not recreate container API error (500): Error: image library/3eeecbe0ccd5442d90f7507b2acecbe8-vp0-mycc:latest not found OUT - 21:49:09.082 [chaincode] Launch -> ERRO 051 launchAndWaitForRegister failed Error starting container: API error (500): Error: image library/3eeecbe0ccd5442d90f7507b2acecbe8-vp0-mycc:latest not found

jtrayfield
2017-01-19 22:09
client side says: debug: blockchain.js::deployChaincode() [SDK] Going to deploy chaincode debug: blockchain.js::deployChaincode() [SDK], deploying { fcn: 'init', args: [ 'able', '1000', 'baker', '1000' ], chaincodePath: 'chaincode', certificatePath: '/certs/peer/cert.pem' } hfc Member.deploy +6ms hfc TransactionContext.deploy +1ms hfc Received deploy request: {"fcn":"init","args":["able","1000","baker","1000"],"chaincodePath":"chaincode","certificatePath":"/certs/peer/cert.pem"} +0ms hfc [TransactionContext] No TCert cached. Retrieving one. +0ms hfc Member.getNextTCert: key=null +0ms hfc Member.getNextTCert: key=null, creating new getter +0ms hfc shouldGetTCerts: yes, we have no tcerts +1ms hfc Failed getting a new TCert [Error] +2s error: blockchain.js::deployChaincode() [SDK] Failed to deploy chaincode error: blockchain.js::deployChaincode() [SDK] Deploy error: { error: { code: 14, metadata: { _internal_repr: {} } }, msg: 'Error' }

nandini.parimi
2017-01-19 22:11
I am having a lot of trouble get fabric up and running on my system. The tutorials and docs seem to be pretty raw. Can someone please point me in the right direction

tanushree
2017-01-20 01:30
has joined #general

tyzhaoqi
2017-01-20 02:13
has joined #general

tyzhaoqi
2017-01-20 02:17
how to check if worldstate is altered by hacker

sbhalla
2017-01-20 03:43
has joined #general

shobhitchittora
2017-01-20 04:46
Hi all. I'm trying block chain on ibm blue mix. How can I see the logs of the docker containers on the validating peers? In other words I'm trying to find the output of fmt Println in my chain code.

dangma
2017-01-20 04:50
has joined #general

zhong
2017-01-20 05:47
has joined #general

arunkoshi
2017-01-20 05:54
has joined #general

praveennagpal
2017-01-20 07:01
@eugenluft as per my understanding, the registration of chaincode is required only in dev mode as in the dev mode, it does not spawn a docker container per chaincode..in non-dev mode, only the deploy step should be enough as in that case, the docker container shall be initialised per chain code service

satyam_agl
2017-01-20 07:16
i need to store the documents on the hyperledger , what is the best datatype in which i convert them to get better result ? :slightly_smiling_face:

ramy
2017-01-20 07:17
has joined #general

satyam_agl
2017-01-20 07:17
@nandini.parimi what exactly problem you are facing pls be specific to help you out

vwan
2017-01-20 07:23
has joined #general

toro
2017-01-20 07:46
has joined #general

nikeshgogia
2017-01-20 08:09
Hi I am getting following error on root node when one of the peer tries to connect (2 different setups) vp3_1 | 07:39:53.256 [crypto] Errorf -> ERRO 0e9 [validator.test_vp0] Failed requesting read certificate [rpc error: code = 2 desc = sql: no rows in result set]. vp3_1 | 07:39:53.257 [crypto] Errorf -> ERRO 0ea [validator.test_vp0] Failed requesting enrollment certificate [rpc error: code = 2 desc = sql: no rows in result set]. vp3_1 | 07:39:53.257 [crypto] Errorf -> ERRO 0eb [validator.test_vp0] Failed getting enrollment certificate for [8sFtrhS4XAG/mb0YzUTVcqhZriDEOUVvY8MgGBPOKBA=]: [rpc error: code = 2 desc = sql: no rows in result set] vp3_1 | 07:39:53.257 [crypto] Errorf -> ERRO 0ec [validator.test_vp0] Failed getting enrollment cert for [f2 c1 6d ae 14 b8 5c 01 bf 99 bd 18 cd 44 d5 72 a8 59 ae 20 c4 39 45 6f 63 c3 20 18 13 ce 28 10]: [rpc error: code = 2 desc = sql: no rows in result set] vp3_1 | 07:39:53.257 [peer] handleChat -> ERRO 0ed Error handling message: Peer FSM failed while handling message (DISC_HELLO): current state: created, error: transition canceled with error: Erro

eugenluft
2017-01-20 08:53
@praveennagpal thanks :wink: Do you know how i can deploy the chaincode via CLI, like first step `./peer node start`, 2nd `?` … ? Because in the docu there is an example with `./peer chaincode deploy -n ccID -c {…}` What is ccID?

eugenluft
2017-01-20 09:30
If i trying to run the docker-compose file i see following error message: `ERROR: for vp0 Cannot start service vp0: driver failed programming external connectivity on endpoint fabric_vp0_1 (ee017fdbe1d00570e1a7fcf7c0da727cff50d43b6162190167707199a0b02557): Error starting userland proxy: Bind for 0.0.0.0:7051 failed: port is already allocated ERROR: Encountered errors while bringing up the project.`. This is my docker-compose: ``` vp0: image: hyperledger/fabric-peer ports: - "7050:7050" - "7051:7051" - "7052:7052" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG command: peer node start ``` I have restart the docker and checked twice whether the port is used by another process (netstat), but without success. Any ideas?

praveennagpal
2017-01-20 09:32
i have deployed it through REST interface only using the POSTMAN client

praveennagpal
2017-01-20 09:32
@eugenluft ccid is chaincode id

praveennagpal
2017-01-20 09:33
regarding port bind error.. have you checked 7051 on your native OS..where the docker container is deployed

eugenluft
2017-01-20 09:37
@praveennagpal yep, I have (lsof -Pn -i4 | grep 7050). but there is no other process using 7051.

praveennagpal
2017-01-20 09:38
@eugenluft can you try starting it in devmode

praveennagpal
2017-01-20 09:38
?

praveennagpal
2017-01-20 09:38
by using the "peer node start —peer-chaincodedev"

praveennagpal
2017-01-20 09:38
command

praveennagpal
2017-01-20 09:39
it seems on the non-dev mode it is trying to bind to another peer on port 7051

praveennagpal
2017-01-20 09:39
do you have another peer running?

eugenluft
2017-01-20 09:44
native osx: "peer node start —peer-chaincodedev” -> Works native osx: “peer node start” >Works both commands in docker using the example docker-compose files, it doesn´t work :disappointed:

eugenluft
2017-01-20 09:46
I´m using the docker-compose.yml from the documentation: https://hyperledger-fabric.readthedocs.io/en/latest/Setup/Network-setup/

eugenluft
2017-01-20 09:53
@praveennagpal Restart of OSX helps :wink:

praveennagpal
2017-01-20 09:54
ok

omar0117
2017-01-20 09:59
has joined #general

omar0117
2017-01-20 10:01
Hey everyone, I and a friend have started to do our master thesis based on Blockchains potential in customer data management. The motivation behind it was because of the new EU regulation General Data Protection Regulation for 25th may 2018. In the regulation, Organisations outside the EU are subject to this regulation when they collect data concerning any EU citizen. GDPR is designed to give individuals better control over their personal data held by organisations. Personal data is defined as any information relating to a person who can be identified directly or indirectly. This includes online identifiers, such as IP addresses and cookies, if they are capable of being linked back to the data subject. Indirect information might include physical, physiological, genetic, mental, economic, cultural or social identities that can be linked back to a specific individual. A key part of the regulation requires consent to be given by the individual whose data is held. Consent means “any freely given, specific, informed and unambiguous indication of his or her wishes by which the data subject, either by statement or by a clear affirmative action, signifies agreement to personal data relating to them being processed”. Most of the factors the Blockchain can work well with, however, consumers have the right to access, rectify or erase the data and the right to withdraw consent at any time. Is there a way to tackle the erasure of data at all?

ishanroy2005
2017-01-20 10:09
has joined #general

o.o
2017-01-20 10:20
@omar0117 I am new here, so don't actually know anything: But what data do you want to erase? Would it be enough to forget the link between the person and their identity in the system; instead of completely removing something on the blockchain? Then it would be a question regarding how the membeship services/registration authorities work; which someone who understands them might explain.

o.o
2017-01-20 10:20
(Is my (very uneducated) guess)

bear2107
2017-01-20 11:01
has joined #general

nikeshgogia
2017-01-20 11:04
Has anybody tried too implement inward remittance using Blockchain Hyperledger ?

eugenluft
2017-01-20 11:16
I´m a little confused about the used version and endorsing feature. I have fetched the latest fabric code and every time i´m trying to deploy the code i see an error message `Error: Error endorsing chaincode: rpc error: code = 12 desc = unknown service protos.Endorser`. Endorser is a 1.0 feature and the latest tagged version is 0.6, right?

cbf
2017-01-20 11:33
@eugenluft suggest you post this to #fabric

eugenluft
2017-01-20 12:30
@cbf done, thanks!

rajchowdhury
2017-01-20 14:14
has joined #general

clembac
2017-01-20 14:16
has joined #general

denisglotov
2017-01-20 14:28
has joined #general

pezzin
2017-01-20 15:06
has joined #general

silliman
2017-01-20 15:41
@omar0117 you and your friend may find this link of interest http://fortune.com/2016/09/20/accenture-blockchain/ and while Accenture is a premier member of the Hyperledger consortium, I am not sure whether or not this work on their part is being done within or outside of the rubric of the Hyperledger consortium.

davidpeyronnin
2017-01-20 15:53
has joined #general

bosco.lai
2017-01-20 15:55
has joined #general

alacambra
2017-01-20 16:38
do someone knows what does "handler not found for chaincode mycc” exactly means?

garisingh
2017-01-20 17:33
@alacambra - when running in "net" mode it means that your chaincode was not properly deployed / started when running in dev mode, pretty much the same thing - usually happens if you have not launched your chaincode executable

param3216
2017-01-20 17:46
has joined #general

jtrayfield
2017-01-20 17:48
I’m having this problem on bluemix blockchain:

jtrayfield
2017-01-20 17:48

jtrayfield
2017-01-20 17:49
looks like after a successful deployment: error: blockchain.js::invoke() [SDK] error on invoke: { error: { code: 13, metadata: { _internal_repr: {} } }, msg: 'Error: {"created":"@1484934361.225874000","description":"OS Error","errno":32,"file":"../src/core/lib/iomgr/tcp_posix.c","file_line":340,"os_error":"Broken pipe","syscall":"sendmsg"}' }

nandini.parimi
2017-01-20 18:06
@satyam_agl Thankyou for responding to my message. Here are the details. I am following this tutorial : http://hyperledger-fabric.readthedocs.io/en/v0.6/starter/fabric-starter-kit/ what happens after i run "node app"? I also looked at this tutorial : http://hyperledger-fabric.readthedocs.io/en/v0.6/Setup/Chaincode-setup/ Even though i was able to do all POST and GET requests, this documentation does not provide a good overview of what exactly is happening? Here are my questions : 1) What is the difference between ethereum and fabric? I have worked on ethereum a bit and i would like to know what does fabric have that ethereum doesnt? 2) How can i build a DAPP on fabric? 3) How do i mine using fabric? are there any commands that i can run in terminal?

htyagi90
2017-01-20 21:08
has joined #general

vi
2017-01-20 21:36
Hi I am trying to do a query using the example code 02 but I kept getting error "Chaincode handler FSM cannot handle message (RANGE_QUERY_STATE) with payload size (10) while in state: READY"

vi
2017-01-20 21:38
I saw there are some commit to remove query from example. How do we achieve the same thing? Should the documentation be updated? https://github.com/hyperledger/fabric/commit/6ddbefec0891b9d84fc0b5846d5c39f0c7b3e7b3

afarhan
2017-01-20 22:32
has joined #general

silliman
2017-01-20 23:41
@vi *If* you are using the Fabric v0.6 Docker images, this *could* be your problem: I've seen this where people are trying to use the v0.6 branch of the code and then are following the instructions in the v0.6 branch of the documentation, but....get twisted up because there are a couple spots in this doc where it has a wget (for the chaincode) and a git clone (for getting the fabric code available locally in order to build the chaincode) that refer to *master*. The problem is, that *master* is now v1.0 code. So, they are running Docker images with v0.6 code but when they build the chaincode locally, it incorporates v1.0 code in into it. The solution is, in the *wget* and the *git clone*, change *master* to *v0.6* in the path name. I am being purposely vague as to where this documentation is, because if I've guessed correctly, you know what I'm referring to, but if I've guessed wrong, it's something else and I don't want to lead you on a wild goose chase. I hope this helps.

zhengh
2017-01-21 01:29
has joined #general

pfernan
2017-01-21 03:20
has joined #general

hackfisher
2017-01-21 04:44
has joined #general

dagdeng
2017-01-21 08:32
has joined #general

olufotebig
2017-01-21 11:03
has joined #general

bbarnett
2017-01-21 16:42
has joined #general

mariogemoll
2017-01-21 17:31
has joined #general

miketwenty1
2017-01-21 18:35
has joined #general

miketwenty1
2017-01-21 18:57
how would you differentiate hyper ledger and fabric? and which one is using a blockchain?

alacambra
2017-01-21 19:39
@garisingh thanks for the answer.

alacambra
2017-01-21 19:39
On dev mode I am seeing the message vp0_1 | 19:38:34.665 [ledger] CommitTxBatch -> DEBU 2f8 There were some erroneous transactions. We need to send a 'TX rejected' message here.

alacambra
2017-01-21 19:40
after deploying and quering.

alacambra
2017-01-21 19:41
However all seems ok. Someone knows what it means? It is possible to know what hass been exactly “erroneous”? I am on dev mode.

alacambra
2017-01-21 19:41
With one VP

bcq
2017-01-21 19:44
has joined #general

silliman
2017-01-21 22:06
@miketwenty1 Blockchain is a technology- first popularized with Bitcoin. Hyperledger is a consortium based on enabling blockchain technology for business (my words, go to https://www.hyperledger.org for "offiicial" verbiage). Multiple projects have been submitted to the Hyperledger consortium. Fabric is one of them. Fabric is built on top of blockchain technology. The fundamental difference between, say, Fabric and Bitcoin is that Bitcoin uses an anonymous, permissionless model where consensus on transactions is achieved through Proof of Work, while Fabric is based on a permissioned, authenticated model- users are typically not anonymous and thus consensus for transactions can be achieved more efficiently as compared to Proof of Work.

miketwenty1
2017-01-21 22:10
@silliman so does that mean fabric is using blocks?

silliman
2017-01-21 22:14
@miketwenty1 yes, Fabric has the same concept of blocks that can contain multiple transactions, and blocks are hashed, and linked together such that immutability is achieved- achieved in the sense that if a bad actor were to tamper with a block's contents, the good guys can catch that through verifying the chain

scott_simons
2017-01-21 22:14
has joined #general

miketwenty1
2017-01-21 22:15
@silliman how are the block size and block times determined?

silliman
2017-01-21 22:18
@miketwenty1 At a high level, block size and frequency are controlled by configuration variables- details differ between v0.6 and v1.0 of Fabric- but for both, you can say that a block is cut when a maximum of *X* transactions are ready to block, or after an elapsed time, even if the max of *X* transactions isn't ready.

miketwenty1
2017-01-21 22:22
arbitrary parameters? I guess what I'm wondering is.. in a normal permission based system using something like a message broker or database I would like transactions to be near instant, what advantages are achieved through grouping data in blocks.

silliman
2017-01-21 22:27
user-configurable, not sure the min and max values, not sure if the elapsed time is in seconds or milliseconds. "Near instant" is in the eye of the beholder, for instance there is a lot of work going on under the covers, a lot of cryptography, and most consensus algorithms require some work- if you're used to millions of transactions a second, e.g., you're just not going to get that at this point with Fabric.....the stated performance goal is 100,000 txns/sec and we're not there yet. It's a different paradigm.

silliman
2017-01-21 22:27
@miketwenty1 ^^

miketwenty1
2017-01-21 22:28
so was doing a little research.. fabric is using couchdb?

silliman
2017-01-21 22:31
@miketwenty1 For v0.6 the chain itself and the state are both in RocksDB. For v1.0 the chain has moved to goLevelDB and that's hard-coded, but the state is pluggable- it defaults also to goLevelDB, but a couchdb implementation is being (or has been, not sure if the coding for it is complete) developed for the state.

miketwenty1
2017-01-21 22:36
@silliman seems like a cool system, but still confused on why the need for blocks.

silliman
2017-01-21 22:39
@miketwenty1 the hashing that provides the links is done at the block level, not at the transaction level, so the immutability that is a salient feature of blockchain needs this concept of blocks.

miketwenty1
2017-01-21 22:43
since no proof of work is being done.. I would imagine no nonce is needed.. no miners.. so the hash link is just using data from the previous block and agreed upon by trusted nodes/actors?

silliman
2017-01-21 22:50
@miketwenty1 no miners are needed....you're getting into the implementation details and pushing up against the boundaries of my current level of knowledge, I think nonces may still be used in places to help prevent replay attacks and stuff like that... each block contains a hash of the previous block... the agreement among multiple nodes is done by consensus. In v0.6 there is "noop" which is essentially for testing purposes with a single node, and then there is PBFT (Practical Byzantine Fault Tolerance) which requires a minimum of 4 nodes to work right, because the algorithm says you need *3f + 1* nodes if you are willing to tolerate *f* bad actors. I think in v1.0 the consensus algorithms are 'Solo' which is similar to noop in that it's really just meant for 1 node and testing purposes, and then a consensus called Kafka has been implemented. A variant of PBFT called SBFT (for Simplified Practical Byzantine Fault Tolerance) is under development for Fabric v1.0 but I think that one may not be fully baked when v1.0 is first released. If you need more details #fabric-consensus-dev is a good channel to drill down deeper, maybe #fabric-crypto for questions on nonces. If you're ever unsure where to ask start at #fabric and if someone thinks you should ask elsewhere, they'll point you in the right direction.

miketwenty1
2017-01-21 22:53
wow thanks a lot I'll move over to the other channels for some more questions.. thanks for getting me started

jcmldev
2017-01-22 01:13
has joined #general

vfxness
2017-01-22 09:32
has joined #general

lxnx
2017-01-22 10:35
has joined #general

chaitanya
2017-01-22 11:15
When using REST I could see even my println() statements from the chaincode in docker logs, while I can't see them anymore, now that I'm using the NodeSDK API. Are there any additional flags that I need to plug in?

linuxmalaysia
2017-01-22 12:57
has joined #general

simers
2017-01-22 15:44
Is there any recommendation/guidance for hardware specs to run a 4 node setup in production on Linux

wellenreiter
2017-01-22 19:24
has joined #general

wellenreiter
2017-01-22 19:27
Hello together. I want to give a small presentation to some colleagues about blockchain. I want to do a small demo somehow. Would it make sense to run hyperledger on some EC2 Container Service Instances? Or even some docker images on my local machine. Is this feasable?

willy
2017-01-22 19:34
has joined #general

garisingh
2017-01-22 19:47
@wellenreiter - you can get up and running with Docker locally. It's pretty easy actually. There are sample docker-compose files in the repo but you'll want to use the v0.6 branch. If you want, you can check this out: https://hub.docker.com/r/ibmblockchain/fabric-peer/

garisingh
2017-01-22 19:48
makes it pretty easy to get up and running with 4 peers and a membersrvc node using Docker and docker-compose

wellenreiter
2017-01-22 19:48
@garisingh thanks, ill have a look. I am about to run this: https://github.com/IBM-Blockchain/fabric-boilerplate but a run into some error every 5mins

wellenreiter
2017-01-22 19:49
Latest error: warn: Error:Failed to launch chaincode spec(Could not get deployment transaction for 511eed69fb9b2b3d1e3fbede2685c4873fc053800d16b9623f6e867f79adf311 - LedgerError - ResourceNotFound: ledger: resource not found)

garisingh
2017-01-22 19:49
that error means that your chaincode did not deploy correctly

wellenreiter
2017-01-22 19:50
I see

wellenreiter
2017-01-22 19:50
vp0_1 | src/build-chaincode/utils/utils.go:5:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: vp0_1 | /opt/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) vp0_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH)


garisingh
2017-01-22 19:54
(ironically I posted an answer to similarly issue yesterday) :wink:

wellenreiter
2017-01-22 19:59
I am new to the topic, ill check this. Thanks a lot

garisingh
2017-01-22 20:00
no worries - figured it was easier to post the link

garisingh
2017-01-22 20:01
and glad to have you using fabric. we also have a bunch of fabric-specific channels, but if you have a specific issue you can post to #fabric and someone can point you to the right channel for help as well

wellenreiter
2017-01-22 20:03
tbh i dont even know the difference, I wanted to have a easy to setup solution :slightly_smiling_face: For your stackoverflow answer: i dont have $GOPATH set in my shell. Did i miss something to install?

wellenreiter
2017-01-22 20:06
Okay Fabric is an implementation of the hyperledger. I assume that's the same like Websphere is an implementation of a Java J2EE Server.

garisingh
2017-01-22 20:09
a bit different actually. The Hyperledger project currently have several blockchain implementations: https://www.hyperledger.org/community/projects

gvlax
2017-01-22 20:17
@garisingh thank you very for your response to my post on stackoverflow :wink: btw, I happened to check marbles v3 demo I was very surprised that 'hfc' used there had completely different API... Do you know anything about it?

wellenreiter
2017-01-22 20:24
@garisingh I followed the answer on stack overflow, but i get the same error there

wellenreiter
2017-01-22 20:24
chaincode_example02 go build chaincode_example02.go:30:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: /Users/user/golang/src/github.com/chaincode_example02/vendor/github.com/hyperledger/fabric/core/chaincode/shim (vendor tree) /usr/local/opt/go/libexec/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) /Users/user/golang/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH)

garisingh
2017-01-22 20:27
@gvlax - I believe marbles v3 is targeted at the Fabric v1.0 release (the stuff in master that is in progress). We have not put out any Docker images of the current master / V1 stuff yet but should have those out at the end of the month. The fabric V1.0 architecture is very different from V0.6 and earlier and therefore the APIs implemented by hfc are very different

garisingh
2017-01-22 20:28
@wellenreiter - did you do the "vendor" piece?

wellenreiter
2017-01-22 20:30
@garisingh yes

gvlax
2017-01-22 20:34
@wellenreiter when I just copied the vendor directory with the fabric inside it solved my issues during deployment cc on a peer. But in my case cc was just taken from examples of hf and it used goland libraries from there .

wellenreiter
2017-01-22 20:41
@gvlax from where to where did you copy the vendor dir?

gvlax
2017-01-22 20:47
@wellenreiter have a look at this example: https://github.com/ratnakar-asara/hello-blockchain , the chaincode is in `src/chaincode` directory where there is also `vendor` thing ... If you want to run the example, you have to have docker-compose at least 1.9.x installed.

hl.rose
2017-01-22 20:53
hello, I'm using fabric-boilerplate with a local network and am trying to submit a transaction by calling Invoke. However, I'm getting the following error in the peer log: "Got error: json: cannot unmarshal object into Go value of []data.Blob". I implemented Blob the same way as Thing is implemented. Also, my chaincode modifications compiled successfully when I ran "npm run gobuild". Would anyone have suggestions on how I can resolve this error? Thanks

wellenreiter
2017-01-22 21:00
@gvlax i followed exactly the steps there but it fails again.

wellenreiter
2017-01-22 21:02
I guess i miss the fundamental understanding of this topic at all :confused:

gvlax
2017-01-22 21:05
@wellenreiter did you first try put your chaincode (.go) to the _hello-blockchain_ `src/chaincode` directory? Remember to remove the existing `example02_with_events.go`. Just clone the project to your location.

wellenreiter
2017-01-22 21:17
@gvlax copied the folder -> Failed to deploy chaincode: request={"chaincodePath":"chaincode","fcn":"init","args":["a","100","b","200"]}, error="timed out waiting for transaction to complete"

gvlax
2017-01-22 21:21
@wellenreiter actually it may be a good sign. The deploy operation tried to call `init` method in your contract. If your contract is not prepared for it, it is it does not have such a method, the deployment process could just fail . You can always watch peer logs running this command `docker logs -f vp0`

wellenreiter
2017-01-22 21:30
@gvlax thanks for the help. I will check this tomorrow again. I have to read more to understand this a little bit better. Have a great day :slightly_smiling_face:

sparty1704
2017-01-22 21:56
has joined #general

rogerapi
2017-01-23 00:49
has joined #general

slickhare
2017-01-23 02:03
has joined #general

rachakonda
2017-01-23 04:13
has joined #general

haischel
2017-01-23 08:09
has joined #general

hannes
2017-01-23 09:28
has joined #general

sarathmr
2017-01-23 10:29
has joined #general

wolle-7
2017-01-23 10:51
has joined #general

julienbrodier
2017-01-23 11:08
has joined #general

gatakka
2017-01-23 12:43
has joined #general

caroline.church
2017-01-23 13:03
has joined #general

anastasia.korovina
2017-01-23 13:17
has joined #general

dolanor
2017-01-23 14:20
has joined #general

dolanor
2017-01-23 14:23
Hi! Total newb on hyperledger here. Is there any thin/light client for fabric? Is fabric configurable for that? Is there any project on it for IoT and/or mobile?

gatakka
2017-01-23 14:49
You can communicate using ProtocolBuffers, they are very cheap in memory and cpu, will work in almost any micro that can run C/C++

gatakka
2017-01-23 14:51
so in general, you have to make a socket connection to one of the Hyperledger nodes, and send/get data using proto buffers

daqi
2017-01-23 15:02
has joined #general

ruslan
2017-01-23 15:14
How can I prove that some block in a ledger is valid (correct hashsum)? As I understand I need to get all blocks until target and calculate all hashsums for each block?

ruslan
2017-01-23 15:15
but if I have a millions blocks?

vadim
2017-01-23 15:22
as I understand, the peer/orderer should validate the blocks as they get them and discard incorrect ones

ruslan
2017-01-23 15:24
I know but we have a hypothetic situation, where We need to prove it in a court

vadim
2017-01-23 15:25
then you can find the code in the repo which does that and use it to build your own tool which will check the chain validity

ruslan
2017-01-23 15:28
I think as well, although I’ve found some useful functions in core/chaincode/querier.go for my purposes, but I’d thought that fabric has some tools

vadim
2017-01-23 15:29
well as long as you trust your peer process implementation, you don’t really need such tools

vadim
2017-01-23 15:29
because it does that already

ruslan
2017-01-23 15:30
russian courts require a lot of proofs :disappointed:

vadim
2017-01-23 15:30
well, then how will you prove to the court that the tool you develop to check the chaincode validity does what it claims to do?

ruslan
2017-01-23 15:31
Good question lol, I don't know for now

tomthebuzz
2017-01-23 15:52
has joined #general

bkadambi
2017-01-23 16:10
has joined #general

dolanor
2017-01-23 16:18
thank you @gatakka. But how would you do service discovery to know which node to connect to to do the request?

dolanor
2017-01-23 16:19
If there was a real light client, that discovery would be integrated in the API directly. But I guess it doesn't exist already. Something ala https://github.com/zsfelfoldi/go-ethereum/wiki/Light-Ethereum-Subprotocol-(LES)

fmarino
2017-01-23 16:53
has joined #general

martin_cocks
2017-01-23 17:09
has joined #general

gatakka
2017-01-23 17:12
@dolanor in general idea is the same. Etherium create there own "custom" binary protocol. Hyperledger decided to use well tested, proven scheme for efficient binary encoding, that has ports in every proper language - Protocol buffers. About the nodes there is no difference in which node you are connecting. Hyperledger will take care for all communication between nodes and there roles. Of course, you have to connect to node that has proper role for executing "commands". So, you expose one or many nodes to public access, you can assign DNS A record to node IP address if you want, and connect using this domain/IP address. And for sure you can create some "internal" network so that only IoT devices can connect to this node/nodes. Think like this - if you are able to make socket connection to your server then you can run Hyperledger there and connect to it using protocol buffers. And you do not care how many nodes are there, the node that you are connecting will know how to communicate with others.

gatakka
2017-01-23 17:13
Every node is a proper single point of access.

tulioribeiro
2017-01-23 17:39
has joined #general

aspadman
2017-01-23 17:57
has joined #general

jtrayfield
2017-01-23 17:59
is the chaincode versioned within the peer?

mattquinn
2017-01-23 18:02
has joined #general

bleventh
2017-01-23 18:16
has joined #general

johnnyfarrugia
2017-01-23 18:49
has joined #general

gee
2017-01-23 20:35
If anyone's interested in attending our Meetup Feb 1st, please feel free. We have a cool space and would love to host you guys. Founders from WeTrust will be presenting their platform. Join me at What the Dapp??!! http://meetu.ps/e/Cq8DP/tmgcT/a

nerav
2017-01-23 21:34
has joined #general

chen.nie
2017-01-24 00:30
has joined #general

jmherrer
2017-01-24 00:53
Anybody know how to get rid of “Secure read failed”/"Connection reset by peer” coming from the chaincode when doing a query?

spiro
2017-01-24 01:24

abhinavkulkarni
2017-01-24 02:11
has joined #general

rajeshverma
2017-01-24 03:17
has joined #general

timskii
2017-01-24 03:48
Hi! where I can set up time to wait for a block and number of transactions per block using PBFT (0.6)?

vigneswaran.r
2017-01-24 04:28
Hello, is it possible to hide (part of the) transaction details from some of the validating peers (in Fabric v0.6)? Eg., when competitors are running peer nodes in a blockchain setup, they may not be willing to reveal all the data to every other node. Whether, Fabric is suitable for such usecases?

kcragon
2017-01-24 06:43
has joined #general

vkru
2017-01-24 08:41
has joined #general

liliya
2017-01-24 08:55
has joined #general

choojoyq
2017-01-24 09:34
has joined #general

lxnx
2017-01-24 10:20
Hi guys, I noticed this project is still considered as incubation project. Is that safe to use this for production?

gatakka
2017-01-24 10:23
version 0.6.1 is stable and can be used, but upcoming version 1 will have a lot of new features that will break backward compatibility. Good thing is that chaincode in v1 probably will be the same from user point of view, or will require some small changes.

lxnx
2017-01-24 10:24
is that any expected date for the version 1 to be release?

gatakka
2017-01-24 10:24
mid 2017

gatakka
2017-01-24 10:24
but I may be wrong, do not quote me on that

lxnx
2017-01-24 10:55
it’s ok @gatakka. Thank you for the information

patchpon
2017-01-24 11:15
has joined #general

bgowda
2017-01-24 12:16
has joined #general

gokulamurthy
2017-01-24 13:23
Do we have any network monitoring tools to see the blocks, transactions, etc.,

kspirov
2017-01-24 14:14
has joined #general

cedoor
2017-01-24 14:43
has joined #general

garisingh
2017-01-24 14:57
@gokulamurthy - in open source there is the blockchain explorer project which current works with fabric v0.6

mjnaylor
2017-01-24 15:12
has joined #general

tylere
2017-01-24 15:21
has joined #general

jwhelan
2017-01-24 15:29
Is there a beta version of Fabric v1.0 available yet?

jwhelan
2017-01-24 15:29
And if not, when?

vadim
2017-01-24 15:31
I’m using the version which is in the master branch, but as far as I know, it’s not a beta yet

jwhelan
2017-01-24 15:39
Stable? or stableish?

jack.curran
2017-01-24 16:04
has joined #general

petermt
2017-01-24 16:05
Hi! I'm a blockchain and open source development newb. Can I get some pointers on where to start in Hyperledger with regards to contributing? I've spent the last 15 years at Amazon and Microsoft in technical program management, with a focus in devops. Documentation, user stories, and developing code for systems integration are my happy spot. Thus far I've run example chaincodes against my local hyperledger+docker setup. What I'd like to do is develop and document more examples or demos (with a focus on how to debug and run them at scale). Would this be helpful or are there other areas that could use contribution first? Thanks in advance.

danthemanva
2017-01-24 16:28
has joined #general

drg
2017-01-24 16:47
has joined #general

silliman
2017-01-24 16:51
@timskii general.batchsize for max number of trans and general.timeout.batch for time to wait for v0.6 using PBFT is specified in * .../fabric/consenus/pbft/config.yaml * @lxnx @gattaka target date for v1.0 release is 31-March-2017 while target date for initial Docker images (alpha? beta?) is the end of this month. Anyone so motivated can download the master branch and build it themselves now, although I expect to see a flurry of changes between now and the end of the month, so don't be shocked if there are a few bumps on the road between now and then

silliman
2017-01-24 16:51
@gatakka ^^

findmeagain
2017-01-24 16:53
Thanks for the release update @silliman

ivan.sat
2017-01-24 16:54
has joined #general

sagmeister
2017-01-24 17:29
has joined #general

vikram_yadav
2017-01-24 17:49
has joined #general

nya
2017-01-24 18:49
has joined #general

chr3is
2017-01-24 18:56
Hi everyone, we're having another Corda meet up at Barclays's Rise theatre on 10 February in midtown Manhattan. There will be drinks served, as it's on a Friday night (but promises to end by 8pm). https://www.meetup.com/New-York-Corda-Meetup/events/237074253/

alexz
2017-01-24 19:49
has joined #general

shaggy_kp
2017-01-24 20:03
I have a service deployed on IBM Bluemix. Once I've deployed my chaincode and if I make new changes to it, can I redeploy the new chaincode to service on Bluemix without having to delete the service and creating a new service onto which I would deploy my new chaincode?

mgupta
2017-01-24 21:26
I've been trying to deploy hyperledger on my laptop following the instructions on https://www.ibm.com/developerworks/community/blogs/8d277a63-4204-4fd3-8cb8-b7cb222cd522/entry/Steps_to_setup_Blockchain_Hyperledger_Fabric_0_6_development_environment_on_Ubuntu?lang=en ... Ran into a bunch of issues while building... the last error is: docker tag hyperledger/fabric-javaenv hyperledger/fabric-javaenv:x86_64-0.7.0-snapshot-2be1717 build/bin/peer CGO_CFLAGS=" " GOBIN=/home/mg/go/src/github.com/hyperledger/fabric/build/bin go install -ldflags "-X http://github.com/hyperledger/fabric/common/metadata.Version=0.7.0-snapshot-2be1717" http://github.com/hyperledger/fabric/peer core/chaincode/ccproviderimpl.go:20:2: cannot find package "context" in any of: /home/mg/go/src/github.com/hyperledger/fabric/vendor/context (vendor tree) /usr/local/go/src/context (from $GOROOT) /home/mg/go/src/context (from $GOPATH) make: *** [build/bin/peer] Error 1 rm build/image/javaenv/Dockerfile build/image/ccenv/Dockerfile

teal_tin_pomeranian
2017-01-24 23:29
has joined #general

press250
2017-01-25 01:41
has joined #general

lxnx
2017-01-25 02:18
hi @silliman thank you for the info and the hard work. really appreciate it

artsiom_aliakseyenka
2017-01-25 03:29
has joined #general

timskii
2017-01-25 06:16
@silliman thanks

amrith
2017-01-25 07:50
has joined #general

yuryandreev
2017-01-25 08:21
Hi all, I invite russian developers #russia - for meetup group contributors of Russia #russian-documentation - for writing actual documentation on russian

jonas.hedin
2017-01-25 09:07
has joined #general

br9191fr
2017-01-25 09:59
has joined #general

akoemov
2017-01-25 11:19
has joined #general

radhana
2017-01-25 11:27
has joined #general

aduva
2017-01-25 12:27
Hi folks! Does anyone know hot to deploy chaincode through grpc client written in java?

satyam_agl
2017-01-25 13:23
hi , is their any support for interaction of hyperledger through ruby on rails , or is their any ruby on rails client written as HFC

yuryandreev
2017-01-25 13:23
@aduva use #fabric-sdk-java

sankar2389
2017-01-25 13:38
Hi, I've some basic knowledge about blockchain, hashcash, Pow, Pos,.. I want to develop my own blockchain project using hyperledger (like fabric, sawtooth). So where to start. Please give some valuable inputs

harrytuttle
2017-01-25 14:50
has joined #general

ptdimarzio
2017-01-25 14:51
has joined #general

rosen
2017-01-25 15:06
has joined #general

ssaddem
2017-01-25 15:34
has joined #general

marcof
2017-01-25 17:13
has joined #general

fuji
2017-01-25 17:21
has joined #general

gnarmac
2017-01-25 18:36
has joined #general

petrn
2017-01-25 18:57
has joined #general

aristokrates
2017-01-25 19:31
has joined #general

middleton
2017-01-25 20:28
@sankar2389 here's sawtooth docs with a tutorial where to get started: http://intelledger.github.io/

middleton
2017-01-25 20:28
and similarly here's fabric docs: http://hyperledger-fabric.readthedocs.io/en/latest/

middleton
2017-01-25 20:28
I don't have a link to iroha docs handy.

sburmester
2017-01-25 20:48
has joined #general

andrei_busel
2017-01-25 21:47
has joined #general

nanni
2017-01-25 21:56
has joined #general

rudymogavero
2017-01-25 22:37
has joined #general

dcass
2017-01-25 22:38
has joined #general

tbenzies
2017-01-25 23:02
If you are planning on participating in the Hackfest in SF next week, please register ASAP (only a few spaces remain and we are closing registration tomorrow). https://www.regonline.com/hyperledgerfebruary2017

tonyblack
2017-01-25 23:45
has joined #general

vibolsambann
2017-01-26 02:26
has joined #general

sankar2389
2017-01-26 04:21
@middleton Thanks :slightly_smiling_face:

jialin
2017-01-26 04:36
has joined #general

ckyong
2017-01-26 05:20
has joined #general

aiboudbenchekroun
2017-01-26 08:34
has joined #general

jaiveer
2017-01-26 10:10
has joined #general

jaiveer
2017-01-26 10:12
If you wish to get engaged in Blockchain community in Singapore, drop me a note.

thojest
2017-01-26 10:13
@jaiveer vitalik is speaking soon in singapore i think.

jaiveer
2017-01-26 10:15
Yes, it's tonight :-)

thojest
2017-01-26 10:15
doesnt he speak in one hour?

mbaizan
2017-01-26 11:00
has joined #general

tom.appleyard
2017-01-26 11:10
odd question but how big can a hyperledger network get before there is a noticeable drop in performance due to the amount of nodes that require consensus?

jwhelan
2017-01-26 12:16
How many nodes can it support currently?

rosakrogh
2017-01-26 12:19
has joined #general

srm
2017-01-26 12:40
has joined #general

raghu036
2017-01-26 13:20
has joined #general

sdesbat
2017-01-26 13:40
has joined #general

julian.smallman
2017-01-26 14:42
has joined #general

forest14
2017-01-26 15:32
has joined #general

jack.parkinson
2017-01-26 15:49
has joined #general

simon_rachman
2017-01-26 15:59
has joined #general

charlienz
2017-01-26 16:55
has joined #general

quan
2017-01-26 18:07
has joined #general

dinesh.nagarajan
2017-01-26 18:12
has joined #general

cliveb
2017-01-26 18:14
Stanford Blockchain Protocol Analysis and Security Engineering Conf Info https://twitter.com/iC/status/824663859080224768/photo/1

tomo-hata
2017-01-26 18:15
has joined #general

arnaud
2017-01-26 18:30
@tom.appleyard @jwhelan your questions cannot be answered generally. The hyperledger is an umbrella project within which several blockchain frameworks are being developed. You will want to ask your question to the appropriate channel, depending on which project you're interested in: fabric, sawtooth lake, iroha (the list keeps on growing). See https://wiki.hyperledger.org/ for more details

ianpriestley
2017-01-26 19:23
has joined #general

youngbamboo
2017-01-26 21:15
has joined #general

cyrax
2017-01-26 22:01
has joined #general

ajitkt
2017-01-26 22:11
My ignorance... is 1.0 on track for March still?

alberto.dallaporta
2017-01-26 22:21
Hello there. I am playing with a PoC using HyperLedger v0.6.. Here my scenario: I have 2 users (foo, bar) .. both have some attributes stored in the ledger, let's say FirstName and Address ... Users shouldnt be able to see attributes of others users, unless an user specifically grants access to an specific user (and to an specific attribute)... so, essentially, I am trying to *give read access of one particular attribute to another user* ..

alberto.dallaporta
2017-01-26 22:22
I've seen something similar in the car-lease-demo, where each participants has an integer representing his role stored in his ECert (https://github.com/IBM-Blockchain/car-lease-demo/blob/master/Chaincode/src/vehicle_code/vehicles.go#L15-L24)

alberto.dallaporta
2017-01-26 22:23
That is fine in an scenario in which participants are known right from start

alberto.dallaporta
2017-01-26 22:23
but.. what I can I do if an user want to grant access to multiple users during the lifetime of the blockchain?

alberto.dallaporta
2017-01-26 22:23
Should I re-generate the ECert? Is it even possible?

alberto.dallaporta
2017-01-26 22:24
Or am I on the wrong path?

alberto.dallaporta
2017-01-26 22:24
thank you

cyrax
2017-01-26 22:37
Question about contributing to the projects under the Hyperledger umbrella. What would be a good issue to start with for a beginner on the project? I've created the accounts necessary already. Thanks for the help.

c0rwin
2017-01-26 23:50
@cyrax gossip module has fair amount of coded parameters which need to be extracted out to the config file (`core.yaml`), please ping me or @yacovm in direct message

yacovm
2017-01-26 23:51
you mean, hard-coded. And yes we welcome contributions! :slightly_smiling_face: https://jira.hyperledger.org/browse/FAB-1879

djc2k
2017-01-26 23:51
has joined #general

sandra
2017-01-27 01:17
has joined #general

myu
2017-01-27 02:12
has joined #general

arnabkaycee
2017-01-27 03:05
@alberto.dallaporta - I am not really sure about Go chaincodes. But I was trying to implement the same thing in Java Chaincode by using chaincode logic. This I was trying to achieve by getting the user details of the user who is executing the chaincode, then applying logic that whether the fetched data should be accessible to the other or not. But then I again I could not get the chaincode executor in java chaincode. Java SDK forum says that its not possible unless I implement TLS and that will not be possible until v1.0

archivebot
2017-01-27 04:01
has joined #general

ry
2017-01-27 04:56
anyone can invite @archivebot to a channel they would like archived to http://hyperledgerproject.slackarchive.io/

bhaskerchatterjee
2017-01-27 06:07
has joined #general

daveg
2017-01-27 08:26
has joined #general

loxadim
2017-01-27 10:23
has joined #general

abhinav.garg
2017-01-27 11:18
how to create own rest api in hyperledger,pl let me know

gatakka
2017-01-27 11:21
@abhinav.garg REST is deprecated. It is replaced by gRPC

abhinav.garg
2017-01-27 11:22
@gatakka could u let me know then how

radu.pertescu
2017-01-27 11:23
has joined #general

gatakka
2017-01-27 11:27
gRPC and protobuffers are the way how communication will be done

danacr
2017-01-27 11:55
has joined #general

rsarres
2017-01-27 13:27
has joined #general

zembla94
2017-01-27 15:05
has joined #general

c0rwin
2017-01-27 15:22
@archivebot

hoolet
2017-01-27 15:24
has joined #general

hoolet
2017-01-27 15:25
hi

hoolet
2017-01-27 15:28
someone help me :slightly_smiling_face: I can't find the json for logout. I am doing the chaincode examples

hoolet
2017-01-27 15:28
and the url

jeanbanko
2017-01-27 18:54
has joined #general

rkiouak
2017-01-27 19:50
Hi all, whats the best channel for me to ask for some help getting the gerrit master 1.x preview fabric & fabric-ca up and running?

matanyahu
2017-01-27 20:47
what is the current “stable” release of fabric which can be cloned via github? *git clone http://gerrit.hyperledger.org/r/fabric* installs version 0.7 but I am not sure if this is a developer preview of 1.0

morgenhund
2017-01-27 20:48
has joined #general

c0rwin
2017-01-27 20:58
@rkiouak you probably need these: #fabric and #fabric-ca

rkiouak
2017-01-27 21:00
@c0rwin thanks

julian.stephen
2017-01-27 21:44
has joined #general

milan-mitra
2017-01-27 22:24
has joined #general

mattw
2017-01-28 00:12
has joined #general

yihang
2017-01-28 05:48
has joined #general

weeds
2017-01-28 10:39
@rkiouak a few people are looking to create a docker image to help people get the version 1 work up and running easier. this will get checked in and will get taken to the hackfest for Hyperledger next week. A couple of people are also working on some documentation to help people on how to program chaincode and how the multi-channel aspect works on the 10 design.

weeds
2017-01-28 10:39
@bmos299 can you let everyone know on general channel and fabric-dev channel where the CI will push the docker images for version 1 please when done? Thanks!

123
2017-01-28 11:13
Negotiating with the Bitfinex hacker http://pastebin.com/6SCNuS5T

pjheeta
2017-01-28 13:21
has joined #general

rkiouak
2017-01-28 15:31
@weeds thanks

narenkrishnan
2017-01-28 18:16
has joined #general

narenkrishnan
2017-01-28 18:22
@matanyahu I am looking for the developer preview of 1.0. Let me know if you get it .. thanks

skgupta29
2017-01-28 18:25
has joined #general

zol
2017-01-28 20:20
has joined #general

zol
2017-01-28 20:22
I tried to start a (test) cello stack on an Amazon AWS. Everything seems to be running. How can I get into the dashboard?

alberto.dallaporta
2017-01-28 20:55
@arnabkaycee thank you for you response.. I ended up moving the whole permission/acl logic inside the GO chaincodes.. it's orrible yeah, because my chaincodes are full of loops and put/get state which really slow down tx execution, but it works fine for a mock

jonathanlevi
2017-01-28 22:25
------------------------------------------------------------ Dear @123 / (*1 1*), I don’t want to come across as too direct, so don’t take what I’m about to write in a bad/negative way. On the contrary: While there is so much going on in the blockchain space these days - most of the prominent figures on these channels are well aware of these. We don’t (really) live under a rock :wink: At the same time - we are *really making an extra effort to not get involved in/with these flaming wars* and neither try not to side with parties nor pick and choose the correct “camp” - while I can speak (/write?) only for myself, I have seen this consistently with many others members around me, regardless of employer, association or “bitcoin/blockchain” camp. Noting that more than just that we do not have a “crypto-coin/crypto-currency”, more importantly, we all (or the vast majority of those involved or even part of it as observers, at least as far as I can see/tell) are trying to keep this fertile ground for collaboration, that is also friendly and yes - *a nice place where our time is well spent*. We share ideas, discuss or even argue (technically) about directions, possibilities, technical decisions and plans. BUT, again, we really try to avoid the exact items that you have been posting here. While I would not call these posts “outright” spam - I do not believe that they belong here, nor do I feel that they really contribute to the “goal” of this project/effort. So in the context of Open Letters, I/many of us would appreciate it if you don’t post such things here - especially not in the #general channel. If you really feel that you “need to post/vent” :wink:, at best, I would suggest the #random channel, or so. I, personally, do check it out, randomly :wink:. Finally (and also because most of your posts are about “bad people”, etc…), please appreciate that instead of blocking you, you getting another user, etc. - my simple request to you is: *Please help us keep Hyperledger Project’s Slack - open, friendly and productive*. I really hope you would appreciate where this is coming from & and that you enjoy the rest of the weekend… Amiably, — Jonathan ------------------------------------------------------------

ppajarcu
2017-01-28 22:48
has joined #general

kbombach
2017-01-29 05:32
has joined #general

navit
2017-01-29 10:55
has joined #general

jaro
2017-01-29 13:01
has joined #general

jhillyerk
2017-01-29 15:40
has joined #general

leapingfrogs
2017-01-29 18:42
has joined #general

jonathan119
2017-01-29 21:05
has joined #general

npidor
2017-01-30 02:01
has joined #general

timskii
2017-01-30 04:47
Is it possible to migrate data from 0.6 to 1.0?

mlasarkosr
2017-01-30 05:46
has joined #general

rsvuthy
2017-01-30 07:25
has joined #general

raja_boini
2017-01-30 09:23
has joined #general

balachandra87
2017-01-30 09:27
has joined #general

leob
2017-01-30 09:48
Hi I am trying this fabric node example from github: https://github.com/hyperledger/fabric/blob/master/examples/sdk/node/web-app.js I have a working bluemix network running. Now I am trying to get this node example running but immediately it gives me the "throw new TypeError(kFromErrorMsg);" TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object. So I am looking at this and am translating this as an problem in the creation of the keyValueStore. Am I correct? Does anybody encoutered this issue already?

nayankr
2017-01-30 10:06
Hello all, I am looking for any examples/tutorials for role based access on chaincode and chaincode methods. fabric is already providing this out of box? I do not see much tutorial documentation around this. I am using fabric 6.0


vadim
2017-01-30 10:08
there are also other examples available in there

pd93
2017-01-30 10:18
@leob I had this exact error on Thursday when trying to add peers/membersrvc. My problem was that I wasn't including the necessary cert file in the method call

pd93
2017-01-30 10:21
`var cert = fs.readFileSync(config.ca.cert_path);` `var ca_url = "grpcs://" + config.ca.host + ":" + config.ca.port;` `chain.setMemberServicesUrl(ca_url, {pem: cert});`

leob
2017-01-30 10:54
@pd93 thanks

danib31
2017-01-30 11:14
has joined #general

ssaddem
2017-01-30 11:31
hi can i create table with multiple keys and make query with a specific one or more ??

shibu
2017-01-30 12:36
has joined #general

potentik
2017-01-30 12:39
has joined #general

jackiejqyan
2017-01-30 14:25
has joined #general

matanyahu
2017-01-30 14:26
Do we have any reference data about ledger performance for Fabric 0.6 & Fabric 1.0 with consensus and CA enabled in terms of tx/s?

bfuentes
2017-01-30 14:58
FREE ONLINE Webinar on Hyperledger starting now here : https://www.meetup.com/fr-FR/Hyperledger-Paris/events/236724870/

cedoor
2017-01-30 15:12
Hello, i have a problem with fabric v0.6. When i make a post with this json : { "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID":{ "name":"mycc" }, "ctorMsg": { "function":"init", "args":["a", "1000", "b", "2000"] }, "secureContext": "lukas" }, "id": "1" } in the json response the status.status is always "OK" . Also when i add some parameters. Why? Thanks

alisonb
2017-01-30 15:21
has joined #general

leob
2017-01-30 15:53
Hi @pd93 another question. Now I am constant getting some sort of a fail or time out when I try to enroll and register some one from the users array in the credentials json; ERROR: failed to register johnfoe: Error: {”created”:”@1485791222.465419951","description":"EOF","file":"../src/core/lib/iomgr/tcp_posix.c","file_line":235,"grpc_status":14} Is grpc status 14 meaning this a connection issue?

pd93
2017-01-30 15:55
@leob Have you enrolled the `webAppAdmin`or `admin` first?

leob
2017-01-30 15:55
admin

pd93
2017-01-30 15:56
and presumably set `admin` as the registrar?

leob
2017-01-30 15:58
@pd93 yes this is happening during the enroll: chain.setRegistrar(admin);

ankursam
2017-01-30 16:00
has joined #general

pd93
2017-01-30 16:00

pd93
2017-01-30 16:01
Are you 100% sure that your peers and membersrvc are all running ok?

paul.sitoh
2017-01-30 16:08
Folks, I noticed that there is not a fabric-sdk-node project. Is that now separated from Fabric v1 unlike Fabric v0.6 where the node SDK exists?

paul.sitoh
2017-01-30 16:09
I also understand that there is a separate project for orchestrating Fabric. Does anyone know if the code has been released as top level hyperledger project yet?

pd93
2017-01-30 16:12
@paul.sitoh there is indeed a `fabric-sdk-node` project (see https://github.com/hyperledger/fabric-sdk-node). The SDK is published under two packages in npm: `fabric-client` and `fabric-client-ca`. I believe these are both aimed at fabric v1 (which is about to get its first alpha release).

pd93
2017-01-30 16:12
You can ask in more detail in #fabric-sdk-node

pd93
2017-01-30 16:14
@paul.sitoh One other quick thing. If you're on fabric 0.6, the node sdk is included in the fabric repo (as is the CA - membersrvc). In v1, these are all separated. So you'd need the `fabric v1`, `fabric-ca` and `fabric-sdk-node` repos

paul.sitoh
2017-01-30 16:22
@pd93 Thanks.

wade.fode
2017-01-30 16:37
has joined #general

sveta
2017-01-30 17:01
has joined #general

keimig
2017-01-30 17:14
has joined #general

seandennis
2017-01-30 19:02
Anyone at Construct in SF this week? We have a team there and would love to meet up with fellow members http://www.coindesk.com/events/construct-2017/

matanyahu
2017-01-30 19:24
can anyone redirect me to a documentation for Fabric which describes in detail how data is committed to the underlying database on each peer after a consensus is reached?

abbas.ali
2017-01-30 20:59
has joined #general

abbasali
2017-01-30 21:06
has joined #general

mohammad
2017-01-30 21:28
has joined #general

rmacias
2017-01-30 22:50
has joined #general

hannahslocum
2017-01-30 23:02
has joined #general

sunrise2075
2017-01-31 00:35
has joined #general

qingdu
2017-01-31 03:09
why documentations for Application developer is missed???http://hyperledger-fabric.readthedocs.io/en/latest/API/CLI.md

jonathanlevi
2017-01-31 03:22
Hi @qingdu (Lee), why the “???” ? :wink:

jonathanlevi
2017-01-31 03:22
Thanks for reporting the issue - we’ll take a look, but in the meantime, you can read about it here as well: https://github.com/hyperledger/fabric/blob/master/docs/API/CLI.md

jonathanlevi
2017-01-31 03:22
Hope this helps.

qingdu
2017-01-31 03:23
thx,it helps me a lot:heart:

agouny
2017-01-31 03:56
has joined #general

joekozhaya
2017-01-31 04:42
has joined #general

abhinav.garg
2017-01-31 05:34
Hi, In car lease demo, is the validation of transaction being contribute by all,i.e as all are involved under single transaction or not?

shawn
2017-01-31 05:43
has joined #general

pallavi
2017-01-31 06:48
has joined #general

gramanathan
2017-01-31 06:50
has joined #general

pallavi
2017-01-31 07:13
Hi , How can host hyperledger API using docker toolbox ( e.g. http://192.168.99.100:7050/chaincode)

vrushali
2017-01-31 07:14
has joined #general

mohan.koli
2017-01-31 07:30
has joined #general

wakin
2017-01-31 07:37
has joined #general

eragnoli
2017-01-31 08:58
has joined #general

sepseab
2017-01-31 10:48
has joined #general

negelinus
2017-01-31 12:18
has joined #general

mqmatt
2017-01-31 12:54
@abhinav.garg In the car leasing demo, there is a shared service that performs consensus for all transactions, and generally in Fabric V0.6 all transactions are validated by all participants (although of course, the consensus network might be different from the business network). With endorsers in Fabric v1 you can choose how each transaction is validated, although hasn’t been implemented in the car demo yet.

julia.dennis
2017-01-31 13:34
has joined #general

albertoalmeida
2017-01-31 13:57
has joined #general

medlahbib
2017-01-31 13:57
has joined #general

varughe1
2017-01-31 14:09
has joined #general

jacco
2017-01-31 14:11
has joined #general

chr3is
2017-01-31 14:47
Hi everyone, sorry for the spam but just a reminder about next Friday's Corda event in NYC ! https://www.meetup.com/New-York-Corda-Meetup/events/237074253/

vhanchar
2017-01-31 15:01
Hi folks, if you are in SF for Construct and Hackfest, you might enjoy a Hyperledger meetup this Wednesday evening. Join us for networking and informal discussions, presentations on Hyperledger Fabric V1.0, and Sawtooth Lake. Brian Behlendorf and the Hyperledger Project team will be there. RSVP here https://www.eventbrite.com/e/sf-meetup-dive-into-fabric-v10-hyperledger-sawtooth-lake-tickets-31492945247

ayoub
2017-01-31 15:03
has joined #general

abbasali
2017-01-31 15:03
hey ayoub how's it going

ayoub
2017-01-31 15:04
hi doing good what about you?

abbasali
2017-01-31 15:05
good, thanks

ayoub
2017-01-31 15:06
messing around with hyperledger ?

pancake
2017-01-31 15:24
has joined #general

venu.vemula
2017-01-31 15:29
has joined #general

abbasali
2017-01-31 15:34
yeah wanted to check out #identity but not much activity there

bfuentes
2017-01-31 15:39
this is great but could be possible to have a video recorded for people in Europe ? :hugging_face:

vhanchar
2017-01-31 15:43
@bfuentes yes, the meetup will be recorded. No livestream unfortunately, but we'll share the videos in a week or two

machinemob
2017-01-31 15:48
has joined #general

mardixon
2017-01-31 16:11
has joined #general

liseri
2017-01-31 16:15
has joined #general

ayoub
2017-01-31 16:31
@abbasali yeah still early days

gbolo
2017-01-31 16:56
hey all, can someone provide some guidance on the "msp" section of the fabric peer config?

gbolo
2017-01-31 16:57
in v0.6 the peer was able to enroll itself and create its own key material. does this msp section replace this mechanism?

donaat
2017-01-31 18:11
has joined #general

geraldoneto
2017-01-31 18:17
has joined #general

gregg
2017-01-31 18:25
has joined #general

gregg
2017-01-31 18:35
new to hyperledger... i am interested in general use cases people are looking to build out and use..

andrewdlt
2017-01-31 19:04
has joined #general

matanyahu
2017-01-31 19:33
quick question: has the http://discuss.hyperledger.org/ ever lifted off? It look like the proposal to use this site never materialized.

rgdechavez
2017-01-31 19:54
has joined #general

oluf_andrews
2017-01-31 20:10
has joined #general

xrayyee
2017-01-31 21:27
has joined #general

xrayyee
2017-01-31 21:32
Is there a way for the chaincode to query the blockchain for the information inside of the blocks directly on version hyperledger v 0.6?

fredr
2017-01-31 21:52
has joined #general

ffelhoffer
2017-01-31 22:09
has joined #general

pisupat
2017-01-31 22:45
has joined #general

ledgerdev
2017-01-31 23:14
has joined #general

karlwaldman
2017-02-01 00:26
has joined #general

seanchong
2017-02-01 01:37
has joined #general

ovazquez
2017-02-01 01:39
has joined #general

derick.tan
2017-02-01 02:21
has joined #general

ishida_yoshiteru
2017-02-01 02:34
has joined #general

jeffrell
2017-02-01 02:46
has joined #general

mark.schulten
2017-02-01 03:33
has joined #general

mayenkar
2017-02-01 03:44
has joined #general

takuyaa
2017-02-01 04:03
has joined #general

weeds
2017-02-01 05:04
@xrayyee I suggest asking this on the fabric-ledger-dev channel

weeds
2017-02-01 05:18
@gregg Hi Gregg..There may be more, but the ones that I have heard in actual production include global finance where they are interacting with vendors to manage dispute resolution (IBM Global Finance with other vendors), Everledger managing provenance of wine to reduce fraud (https://www.winefraud.com/chai-wine-vault/), and China Blockchain Energy which I think is fighting carbon emissions. I have seen people up here have a lot of different use case across many industries though, and there is lot of insight coming to the Hackfests by Hyperledger where you see what is being worked on (there is one in San Fran tomorrow and Thursday) Some popular use case I've heard are financial industry (things like cross border remittance and other parts of trade finance), digital property management/provenance, supply chain, and so many others.

siddhid
2017-02-01 05:47
has joined #general

gowtham_neuswyft
2017-02-01 05:58
has joined #general

babedev
2017-02-01 06:52
Is there any example or document how to configure multiple host?

humblealex
2017-02-01 07:07
hey all, I am very confused with the concept of msp. Does it mean that all the credentials about a blockchain network are pre-defined BEFORE the chain creation? and all the msp configuration is contained in the generic block which the peer uses to build their own local msp. So the msp manages the certificates and signing identities for peer/orderer on the chain? could anyone elaborate on that?

humblealex
2017-02-01 07:10
does the generic block contain all the identities (certificate) for all the members on the chain?

anuragagrawal1
2017-02-01 08:02
has joined #general

mkasarla
2017-02-01 08:30
has joined #general

satyam_agl
2017-02-01 09:59
is their any way to create a peer in mobile device

kshastri
2017-02-01 10:32
has joined #general

aghaneka
2017-02-01 10:56
has joined #general

aghaneka
2017-02-01 11:00
Does anyone know if 1.0 will continue to support REST/JSON? Also will there be a JAVA API on top of NodeJS?

pd93
2017-02-01 11:04
@aghaneka REST is deprecated in v1. You will either need to use GRPC or one of the SDKs (currently: Nodejs, Java & Python)

sushilve
2017-02-01 11:10
has joined #general

aghaneka
2017-02-01 11:14
@pd93 thanks for the clarification.

nitin.mahesh
2017-02-01 11:20
has joined #general

gowtham_neuswyft
2017-02-01 12:15
Can anyone clarify which sdk is better to implement Hyperledger? Either JAVA or Node.js ? Why ?

vadim
2017-02-01 12:16
nodejs sdk looks more developed than java to me

thojest
2017-02-01 12:17
same here

thomas.marckx
2017-02-01 12:27
For those who’d like to view an introduction to Hyperledger Fabric, TheLedger. has given a webinar at: https://www.altoros.com/blog/event/technical-widening-on-hyperledger-fabric/

amer.music
2017-02-01 12:34
has joined #general

smfaizalkhan
2017-02-01 12:35
I have three questions on the Technical aspect of HyperLedger. 1) ChainCode Registraton 2) Member Registration 3) ChainCode in JAVA ChainCode Registration I followed the docs at https://hyperledger-fabric.readthedocs.io and installed fabric on Ubuntu. and was succesful in registering the chaincode with one Validating peer and one memberservice. I tried to add three more VP to ahceive consensus. So now i spun all the containers using docker-compose.yml(PFA) and in the shipyard i saw all the containers are started . Then i registered the CC using the below command "CORE_CHAINCODE_ID_NAME=cscc CORE_PEER_ADDRESS=0.0.0.0:7051 ./goods_inspection" Got a success response as below "14:50:11.937 [shim] INFO : error with chaincode log level: logger: invalid log level level= 14:50:11.937 [shim] DEBU : peerAddress at return point0.0.0.0:8051 14:50:11.937 [shim] DEBU : Peer address is: 0.0.0.0:8051 14:50:11.937 [shim] DEBU : peerAddress is not null0.0.0.0:8051 14:50:11.938 [shim] DEBU : os.Args returns: [./goods_inspection] 14:50:11.938 [shim] DEBU : Registering.. sending REGISTER 14:50:11.941 [shim] DEBU : []Received message REGISTERED from shim 14:50:11.943 [shim] DEBU : []Handling ChaincodeMessage of type: REGISTERED(state:created) 14:50:11.943 [shim] DEBU : Received REGISTERED, ready for invocations" Then i deployed the Chaincode in the Shipyard vp0's console using the CLI command “peer chaincode deploy –l go –u jim -n cscc -c '{"Args": ["init", "a","100", "b", "200"]}'” I got the success response and expected it to be replicated across other VP’s To check it we did the query command on another VP as VP1,VP2 “peer chaincode query –l java –u jim -n cscc -c '{"Args": ["query", "b"]}'” But I got error “LedgerError - R esourceNotFound: ledger: resource not found”. So to check if transaction is deployed on other peers(VP1,VP2) ,we check it using curl command and postman from chrome like curl http://172.16.0.11:7050/chain. Count is increased, but when tried to query the same the same error as “LedgerError - R esourceNotFound: ledger: resource not found”. But when i register the chaincode in two nodes and register it using the below command. "CORE_CHAINCODE_ID_NAME=cscc CORE_PEER_ADDRESS=0.0.0.0:7051 ./goods_inspection" "CORE_CHAINCODE_ID_NAME=cscc CORE_PEER_ADDRESS=0.0.0.0:8051 ./goods_inspection" and mapping ports in docker-compose.yaml as - "7051:7051" for vp0 - "8051:7051" for vp1 I noted the chaincode registration is done on two VP's and able to query the same .I dont get the "Resource not found Error"

smfaizalkhan
2017-02-01 12:36
Please clarify what is the mistake am i doing

smfaizalkhan
2017-02-01 12:36
docker-compose.yaml

smfaizalkhan
2017-02-01 12:36
membersrvc: image: hyperledger/fabric-membersrvc ports: - "7054:7054" command: membersrvc vp0: image: hyperledger/fabric-peer ports: - "7051:7051" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=INFO - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev" vp1: image: hyperledger/fabric-peer ports: - "8051:7051" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp1 - DEPLOY_MODE=dev - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp1 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy links: - membersrvc - vp0 command: sh -c "sleep 5; peer node start --peer-chaincodedev"

doru77
2017-02-01 14:02
has joined #general

redbeard2020
2017-02-01 14:05
has joined #general

isparkes
2017-02-01 14:20
has joined #general

paul.sitoh
2017-02-01 14:30
Folks, in V1 do we still need to deploy vendor folder with chaincode?

andriian7
2017-02-01 15:35
has joined #general

calstad
2017-02-01 15:37
has joined #general

ghadi
2017-02-01 16:38
has joined #general

rickscherer
2017-02-01 17:32
has joined #general

michelle
2017-02-01 17:39
has joined #general

michelle
2017-02-01 17:59
Hello, I want to build a voting ballot web application using hyperledger... do you think that it is feasible?

coulthrust
2017-02-01 18:34
has joined #general

coulthrust
2017-02-01 18:39
where can I look for problems getting install to work on ubuntu docker compose is throwing error

coulthrust
2017-02-01 18:39
thanks

jflowers
2017-02-01 18:49
has joined #general

ssantosh
2017-02-01 18:50
has joined #general

khuang
2017-02-01 18:54
has joined #general

schwentker
2017-02-01 19:21
has joined #general

tonyrose
2017-02-01 19:22
has joined #general

holleya
2017-02-01 19:52
has joined #general

tephen
2017-02-01 19:53
has joined #general

lyons
2017-02-01 20:30
has joined #general

hartsocks
2017-02-01 21:05
has joined #general

hartsocks
2017-02-01 21:07
waves

hartsocks
2017-02-01 21:54
If I wanted to stand up a light weight PoC what’s a good tutorial project? Cello looked promising.

conroydave
2017-02-01 22:56
i am following the boiler plate API repo - and am using a 3rd party script to create the user’s and things in the blockchain ledger… but for some reason when I try to act as those users in the Node app - it says the users are not registered and enrolled


conroydave
2017-02-01 22:57
woops, will move over to fabric

jameshuckabymck
2017-02-01 23:37
has joined #general

anthony
2017-02-02 00:17
has joined #general

ericwilliams
2017-02-02 00:26
has joined #general

tcostlow
2017-02-02 00:34
has joined #general

glennscott
2017-02-02 00:41
has joined #general

tputbrese
2017-02-02 01:14
has joined #general

umardikar
2017-02-02 01:31
has joined #general

dlfrisbie
2017-02-02 02:52
has joined #general

leminhy89
2017-02-02 03:43
has joined #general

vijayks
2017-02-02 04:53
has joined #general

changyu
2017-02-02 05:21
has joined #general

vadim
2017-02-02 06:40
@conroydave have you added your new users to membersrvc/membersrvc.yaml?

conroydave
2017-02-02 06:40
i hadnt, i was looking for dynamic registration

conroydave
2017-02-02 06:41
i think i was confused as my chaincode stored a data struct called users, which is a completely separate set of credentials than what my node.js app was set for

vadim
2017-02-02 06:41
it does not exist in v0.6 as far as I know

conroydave
2017-02-02 06:42
i believe it should be possible with hfc

vadim
2017-02-02 06:42
not in v0.6

conroydave
2017-02-02 06:44
ok , that is good to know

conroydave
2017-02-02 06:44
is it on the roadmap for hfc or am i just completely off

conroydave
2017-02-02 06:44
only been digging into HL for about a week, but i cant get enough. hooked

vadim
2017-02-02 06:46
hfc is for v1 and there it is possible

conroydave
2017-02-02 06:47
so in my tests ive just been blowing away the whole chain every time i push code. until v1, would the change just require a reboot of the member service?

vadim
2017-02-02 06:47
what do you mean “push the code”?

vadim
2017-02-02 06:48
deploy the chaincode?

conroydave
2017-02-02 06:48
yes

conroydave
2017-02-02 06:48
to local docker

conroydave
2017-02-02 06:48
again, i am just running modified tutorials at this point

vadim
2017-02-02 06:48
have you tried without deleting the chain?

conroydave
2017-02-02 06:49
i havent, as most of the boilerplate examples include scripts to just wipe all your containers/tags

vadim
2017-02-02 06:49
I’m not so experienced with v0.6, but I’d guess that it’s not required to remove the whole chain each time you deploy a new chaincode

vadim
2017-02-02 06:49
I guess they do it to guarantee that your chain are in known state so the example itself works

vadim
2017-02-02 06:49
but in general it’s not needed

conroydave
2017-02-02 06:51
leads to another question, all the examples include 1 membership service and 3 verifying peers.that seems like a bit counter intuitive to a decentralized system

conroydave
2017-02-02 06:52
if i were to scale my projects up - what is the balance between member services/ca’s/vps

vadim
2017-02-02 06:52
in v1 membership service is replaced by something called fabric-ca and the idea is that every institution can run its own ca as long as it is trusted by the chain

conroydave
2017-02-02 06:53
ok, by institution you mean every party that is participating in the network?

vadim
2017-02-02 06:53
yes

conroydave
2017-02-02 06:54
i am just (perhaps unjustifiably) worried about points of failure

conroydave
2017-02-02 06:54
in production - do you see most companies standing up their own services or just using IBM

vadim
2017-02-02 06:55
fabric-ca is opensourced and CFSSL-based and you can use any other CA if you like

conroydave
2017-02-02 06:55
thank you for all the insight, by the way

vadim
2017-02-02 06:56
no problem

conroydave
2017-02-02 06:57
coming from a bitcoin background - one of the most attractive features of a blockchain solution is the immutability

conroydave
2017-02-02 06:57
it seems though, with a bit of clever chaincode you make changes to data on the chain

vadim
2017-02-02 06:58
you can make changes to the state, but not to the transactions recorded on a ledger

conroydave
2017-02-02 06:58
ok, so i just have not yet implemented the revision view

conroydave
2017-02-02 06:58
but its there, given properly written chaincode

vadim
2017-02-02 06:59
well I saw a discussion somewhere in slack, so the versioning apparently based on the underlying DB they use to store the state

vadim
2017-02-02 07:00
also, chaincode operates on its own state only, so it cannot change another chaincode’s state

vadim
2017-02-02 07:01
so probably if you dont want chaincode’s state to be changed, just don’t program it

conroydave
2017-02-02 07:02
my initial demo i am working on is a education tracker for students. my implementation includes data structs for students and classes. with the student entity having an array of class id's

conroydave
2017-02-02 07:02
i am planning that when a student completes a class i just push the class ID ontop of the students completed class array

conroydave
2017-02-02 07:03
i just hope that going that route provides good history as i am overwriting that array upon each completion

vadim
2017-02-02 07:05
I’d say that if you want a history, you probably need to take care of it yourself. Not sure if it’s possible in the current implementation or let alone v0.6. But this is my opinion, I might be wrong :wink:

vadim
2017-02-02 07:05
also, how do you store that array?

conroydave
2017-02-02 07:05
hey. flailing is still learning

conroydave
2017-02-02 07:07
unfortunately i have to keep my repo private until i can get approval from cto - but it is very similar to this https://github.com/IBM-Blockchain/fabric-boilerplate/blob/master/src/build-chaincode/data/data.go

vadim
2017-02-02 07:10
no, I was just wondering how you store an array, don’t need your code

conroydave
2017-02-02 07:11
line 36 shows that its a user struct , that is mostly strings except for a single field that is an array of strings

vadim
2017-02-02 07:13
I saw it, thanks

conroydave
2017-02-02 07:14
this is the same code that got me all mixed up regarding chaincode data and authorized users for the node app

conroydave
2017-02-02 07:20
hindsight its a pretty novice place to get hung up. but didnt realize it until i stepped away from the keyboard

jansony1
2017-02-02 08:32
hi guys, do we have some guidance(order,introduction) about the learning path of fabric buildup

joergk
2017-02-02 08:38
has joined #general

yangfeng
2017-02-02 08:49
has joined #general

sumangsi
2017-02-02 08:49
has joined #general

nataschakc
2017-02-02 10:07
has joined #general

vrushali
2017-02-02 10:25
Hi everyone. I'm doing a POC on Hyperledger Bluemix platform. Followed the steps on 'Deploying your chaincode from IBM Bluemix Blockchain documentation'. There is some issue in my Golang code so it won't execute in the 'QuerySpec' step. Does anyone know how to debug the golang code that is deployed here so as to understand the problem?

vrushali
2017-02-02 10:27

dirkblaauw
2017-02-02 10:31
has joined #general

vrushali
2017-02-02 10:31
@jansony1 you could try this. was helpful for me. http://hyperledger-fabric.readthedocs.io/en/v0.6/

bharathimohan
2017-02-02 11:33
has joined #general

nayankr
2017-02-02 11:35
Hello, I am running fabric using vagrant- peer and memberservice with security enabled. While accessing stub.GetCallerMetadata(), I am getting below error: 11:26:14.448 [chaincode] processStream -> ERRO 021 Got error: Failed getting metadata, [Failed retrieving extension.] Any idea or pointer, if you faced the similar situation?

joerijackers
2017-02-02 12:12
has joined #general

extended
2017-02-02 12:12
has joined #general

miika
2017-02-02 13:01
has joined #general

jansony1
2017-02-02 14:01
@vrushali: thanks bro,but i think the doc in this link is kind of out dated. For example, the project hierarchy in github seems already change to v1, while here is v0.6.

shaun
2017-02-02 14:24
has joined #general

garisingh
2017-02-02 14:24
@jansony1 - we'll be pushing out a alpha distribution of v1.0 with docs hopefully sometime next week. In the meantime, you may want to take a quick look and run through http://hyperledger-fabric.readthedocs.io/en/latest/gettingstarted/ to get a flavor for how things work in the 1.0 architecture

jansony1
2017-02-02 14:51
@garisingh: love you guys!thanks for all your effort

hartsocks
2017-02-02 15:58
vrushali: Thanks!

kuberin
2017-02-02 16:46
has joined #general

jtrayfield
2017-02-02 17:30
Is there any way to map from a TCert to an ECert?

jonathanlevi
2017-02-02 17:34
BOOM. That’s a great question!

jonathanlevi
2017-02-02 17:35
It depends who you are. If you are the TCA, then yes. A rogue TCA can.

jonathanlevi
2017-02-02 17:35
If you implement/deploy fabric correctly, the main idea/design-goal is that you won’t be able to.

tom.appleyard
2017-02-02 17:36
What’s a TCA?

viktor.nikolenko
2017-02-02 17:36
@jonathanlevi and then for the auditor to be able to verify who actually made a transaction?

jonathanlevi
2017-02-02 17:36
The CA issuing the TCerts (Transaction CA). Shall we hop on the #fabric channel?

jonathanlevi
2017-02-02 17:37
@viktor.nikolenko It depends. You can have a passive auditor (which has the decryption keys in advance), or an active one, which asks for them for an audit.

jtrayfield
2017-02-02 17:41
@jonathanlevi thanks

carlahuf
2017-02-02 17:43
has joined #general

toddb
2017-02-02 18:06
has joined #general

rickr
2017-02-02 18:19
To login to CAS stuff my linux foundation creds did not work. So I reset got email changed password saved logged out. Then tried to relogin and tells me username password still don't match. Done this now 3 times

tuand
2017-02-02 18:21
@rickr I went to http://chat.hyperledger.org and maybe I'm paranoid but that site looked kind of sketchy ... I'm going to wait a while

jonathanbmorley
2017-02-02 18:21
Created a channel -- #hackfestfeb -- if anyone is interested.

rickr
2017-02-02 18:23
@tuand I tried that with linuxfoundate

bchaube
2017-02-02 19:47
has joined #general

paul.sitoh
2017-02-02 19:51
Does anyone know in v1 if it is possible to reference chaincode by user defined name instead of chaincode is?

ruslan
2017-02-02 20:02
hmm pass your name with a flag -n when you make deploy

debkhoo
2017-02-02 20:27
has joined #general

weeds
2017-02-02 20:34
At the Hyperledger Event today- there was an introduction to Fabric Composer- Fabric Composer is a framework to accelerate the development of applications built on top of Hyperledger Fabric Start from the business level; model network assets, participants, and transactions Applications use business centric APIs to invoke transactions that create, delete, and update assets and transfer them between participants Assets, participants, and transactions are recorded in the world state in registries Easily integrate Fabric with existing business processes and systems of record Emphasis on quick solution creation and business-centric vocabulary

weeds
2017-02-02 20:36
I know many of the people that are business level people that thought this would be a lot easier to program to versus direct chaincode to fabric


weeds
2017-02-02 20:39
@paul.sitoh Yes, reference chaincode by name is possible - when user deploys, he specifies the name

paul.sitoh
2017-02-02 22:33
Is there any way I can get a list of chaincode names via fabric ask?

issam_cihbank
2017-02-02 22:36
has joined #general

khutpidor
2017-02-02 23:26
has joined #general

weeds
2017-02-02 23:26
People at the hackfest in San Fran. , there were questions on proposed content for the alpha release for Fabric- This is the current proposed list: https://wiki.hyperledger.org/projects/proposedv1alphacontent . This is not a finalized list but what is being proposed. If you have additions or items to be removed that you want to suggest, I would recommend communicating this on the fabric-maintainers channel or the email list.

weeds
2017-02-02 23:30
Also,the following link gives you documentation that provides instructions to get familiar with the preview of the alpha: http://hyperledger-fabric.readthedocs.io/en/latest/gettingstarted/ .In those instructions, it guides you to use Docker Compose that will create a consortium of three organizations, each running an endorsing/committing peer, as well as a “solo” orderer and a Certificate Authority (CA). The network will be generated automatically upon execution of docker-compose up, and the APIs for create channel and join channel will be explained and demonstrated; as such, a user can go through the steps to manually generate their own network and channel, or quickly jump to the application development phase.

weeds
2017-02-02 23:41
hi everybody, in case you have not heard, linux foundation is moving us off of Slack and onto Rocket.Chat, everybody in Slack can log in to the new chat server using your existing linux foundation ID, please visit http://chat.hyperledger.org/ to login to the new chat server

jimyang
2017-02-03 02:40
has joined #general

thirukumaran13
2017-02-03 03:28
has joined #general


markparz
2017-02-03 04:06
Nick is super excited about the hackathon

ttsdubai
2017-02-03 07:27
Anybody used BigChainDB with Fabric?

dibyanand
2017-02-03 07:39
has joined #general

pravin-ronge
2017-02-03 07:58
has joined #general

smfaizalkhan
2017-02-03 09:37
Guys,Please Help me out

smfaizalkhan
2017-02-03 09:38
I have three questions on the Technical aspect of HyperLedger. 1) ChainCode Registraton 2) Member Registration 3) ChainCode in JAVA ChainCode Registration I followed the docs at https://hyperledger-fabric.readthedocs.io and installed fabric on Ubuntu. and was succesful in registering the chaincode with one Validating peer and one memberservice. I tried to add three more VP to ahceive consensus. So now i spun all the containers using docker-compose.yml(PFA) and in the shipyard i saw all the containers are started . Then i registered the CC using the below command "CORE_CHAINCODE_ID_NAME=cscc CORE_PEER_ADDRESS=0.0.0.0:7051 ./goods_inspection" Got a success response as below "14:50:11.937 [shim] INFO : error with chaincode log level: logger: invalid log level level= 14:50:11.937 [shim] DEBU : peerAddress at return point0.0.0.0:8051 14:50:11.937 [shim] DEBU : Peer address is: 0.0.0.0:8051 14:50:11.937 [shim] DEBU : peerAddress is not null0.0.0.0:8051 14:50:11.938 [shim] DEBU : os.Args returns: [./goods_inspection] 14:50:11.938 [shim] DEBU : Registering.. sending REGISTER 14:50:11.941 [shim] DEBU : []Received message REGISTERED from shim 14:50:11.943 [shim] DEBU : []Handling ChaincodeMessage of type: REGISTERED(state:created) 14:50:11.943 [shim] DEBU : Received REGISTERED, ready for invocations" Then i deployed the Chaincode in the Shipyard vp0's console using the CLI command “peer chaincode deploy –l go –u jim -n cscc -c '{"Args": ["init", "a","100", "b", "200"]}'” I got the success response and expected it to be replicated across other VP’s To check it we did the query command on another VP as VP1,VP2 “peer chaincode query –l java –u jim -n cscc -c '{"Args": ["query", "b"]}'” But I got error “LedgerError - R esourceNotFound: ledger: resource not found”. So to check if transaction is deployed on other peers(VP1,VP2) ,we check it using curl command and postman from chrome like curl http://172.16.0.11:7050/chain. Count is increased, but when tried to query the same the same error as “LedgerError - R esourceNotFound: ledger: resource not found”. But when i register the chaincode in two nodes and register it using the below command. "CORE_CHAINCODE_ID_NAME=cscc CORE_PEER_ADDRESS=0.0.0.0:7051 ./goods_inspection" "CORE_CHAINCODE_ID_NAME=cscc CORE_PEER_ADDRESS=0.0.0.0:8051 ./goods_inspection" and mapping ports in docker-compose.yaml as - "7051:7051" for vp0 - "8051:7051" for vp1 I noted the chaincode registration is done on two VP's and able to query the same .I dont get the "Resource not found Error" http://hyperledger-fabric.readthedocs.io Hyperledger Fabric Welcome to the Hyperledger fabric documentation

smfaizalkhan
2017-02-03 09:38
Please clarify what is the mistake am i doing docker-compose.yaml membersrvc: image: hyperledger/fabric-membersrvc ports: - "7054:7054" command: membersrvc vp0: image: hyperledger/fabric-peer ports: - "7051:7051" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=INFO - CORE_PEER_ID=vp0 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp0 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT links: - membersrvc command: sh -c "sleep 5; peer node start --peer-chaincodedev" vp1: image: hyperledger/fabric-peer ports: - "8051:7051" environment: - CORE_PEER_ADDRESSAUTODETECT=true - CORE_VM_ENDPOINT=unix:///var/run/docker.sock - CORE_LOGGING_LEVEL=DEBUG - CORE_PEER_ID=vp1 - DEPLOY_MODE=dev - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054 - CORE_SECURITY_ENABLED=true - CORE_SECURITY_ENROLLID=test_vp1 - CORE_PEER_DISCOVERY_ROOTNODE=vp0:7051 - CORE_SECURITY_ENROLLSECRET=5wgHK9qqYaPy links: - membersrvc - vp0 command: sh -c "sleep 5; peer node start --peer-chaincodedev"

mkabanau
2017-02-03 10:00
@smfaizalkhan you use dev mode "peer node start --peer-chaincodedev" just start it with "peer node start" and deploy it. Check that container was created and started. docker ps

longkb
2017-02-03 11:33
has joined #general

spk
2017-02-03 11:40
has joined #general

smfaizalkhan
2017-02-03 11:52
Thanks mkabanau,I will try it.One more calrification ,When said check the conatiner was created and started ,Does it mean after deploy command ?

smfaizalkhan
2017-02-03 11:53
bcoz when given the command docker-compose start,dockers spins off ,but as per Deploy definition ----->During “Deploy” the chain code is submitted to the ledger in a form of transaction and distributed to all nodes in the network. Each node creates new Docker container with this chaincode embedded. After that container will be started and Init method will be executed

smfaizalkhan
2017-02-03 11:53
so will it create new docker image containing Chaincode embedded in it after deploy ?

mkabanau
2017-02-03 12:31
@smfaizalkhan you are right. After deploy image will be created. I think that Container will be started after invoke or query transaction.

sidiyer
2017-02-03 14:06
has joined #general

mgutala
2017-02-03 14:19
if he removes it its fine ?

mgutala
2017-02-03 14:20
wrong window

renjithpillai
2017-02-03 14:23
has joined #general

peterquick
2017-02-03 14:34
has joined #general

weeds
2017-02-03 14:38
for questions relative to Hyperledger Fabric- I would suggest going to fabric-dev

nticknov
2017-02-03 15:41
has joined #general

kathy.huang
2017-02-03 15:45
has joined #general

hshrivas
2017-02-03 15:45
has joined #general

engioneer
2017-02-03 15:47
has joined #general

dhumphri
2017-02-03 16:04
has joined #general

jansony1
2017-02-03 16:28

kazi25
2017-02-03 17:00
has joined #general

kilby
2017-02-03 17:37
has joined #general

jmather
2017-02-03 18:25
has joined #general

creatinglake
2017-02-03 18:27
has joined #general

jonathanlevi
2017-02-03 18:34
@renjithpillai, @peterquick, @nticknov, @kathy.huang, @hshrivas, @engioneer, @kazi25, @kilby, @jmather, @creatinglake: 1. You should probably know that we are moving/transitioning to https://chat.hyperledger.org 2. Welcome! :wink:

creatinglake
2017-02-03 18:40
@jonathanlevi thanks for the heads up.

creatinglake
2017-02-03 18:41
although it does not look like I can register at the URL.

jonathanlevi
2017-02-03 18:41
You should be able to use the exact same LFID actually (there is an option there)

jonathanlevi
2017-02-03 18:43

jonathanlevi
2017-02-03 18:43
5.5 K users !

jonathanlevi
2017-02-03 18:44
@jonathanlevi set the channel topic: MOVED TO: https://chat.hyperledger.org

jonathanlevi
2017-02-03 18:44

paul.sitoh
2017-02-03 19:29
is the LFID same as the one for the hyperledger slack.

ry
2017-02-03 19:35
@paul.sitoh no. visit https://identity.linuxfoundation.org/ to sign up for one (please do not use a social login to create your account, use your email, add social logins later)

creatinglake
2017-02-03 19:39
thanks

jonathanlevi
2017-02-03 19:45
*WE HAVE MOVED TO*: https://chat.hyperledger.org

thedivic
2017-02-03 20:00
has joined #general

2017-02-03 20:21
hi

2017-02-03 20:24
Just 2c from my side: I am hoping that this time two things will be avoided: 1) channel bloat 2) general chaos in discussions where same topic was discussed across various channels

2017-02-03 20:25
searching into history for references without limits is definitely a plus, let's see if this is going to work out

conroydave
2017-02-03 20:27
we could just pay for it

2017-02-03 20:29
[ ](https://chat.hyperledger.org/channel/general?msg=2sB64vcMR4sD8NMRa) @matanyahu To avoid asking questions other people have already asked is there some kind of wiki/FAQ/sticky or any kind of reference material a newcomer like me can read?

konstantin
2017-02-03 21:20
has joined #general

andrewdlt
2017-02-03 21:23
so this channel is permanently switching to https://chat.hyperledger.org?

andrewdlt
2017-02-03 21:24
just want to confirm

travin
2017-02-03 22:09
Joined :slightly_smiling_face:

rleonard
2017-02-03 22:50
has joined #general

pari
2017-02-04 05:44
has joined #general

shahisa
2017-02-04 05:46
has joined #general

shahisa
2017-02-04 05:47
Hey yall

a_daud
2017-02-04 07:00
has joined #general

saravana
2017-02-04 08:27
has joined #general

chungbui
2017-02-04 08:59
has joined #general

fabpch
2017-02-04 13:35
has joined #general

crtahlin
2017-02-04 14:31
has joined #general

seand20tech
2017-02-04 15:39
has joined #general

matt_ambrogi
2017-02-04 20:12
has joined #general

bgowda
2017-02-04 20:19
Hi All - I am fairly new to hyperledger

bgowda
2017-02-04 20:19
I managed to get java sample running

bgowda
2017-02-04 20:20
Have couple of questions, isn’t Chaincode supposed to run on peer nodes ?

matanyahu
2017-02-04 20:20
@bgowda : how did you deploy your sample?

bgowda
2017-02-04 20:21
I have docker setup

bgowda
2017-02-04 20:21
and ran the chaincode on command line and used rest command to deploy

matanyahu
2017-02-04 20:21
can you paste your rest cmd?

bgowda
2017-02-04 20:22
{ "jsonrpc": "2.0", "method": "deploy", "params": { "type": 1, "chaincodeID":{ "name": "SimpleSample" }, "ctorMsg": { "args":["init", "a", "100", "b", "200"] }, "secureContext": "jim" }, "id": 1 }

bgowda
2017-02-04 20:22
URI (URL) - localhost:7050/chaincode

matanyahu
2017-02-04 20:24
did you deploy it from your host or did you log in to one of peers?

bgowda
2017-02-04 20:27
From my host

bgowda
2017-02-04 20:28
something like this

bgowda
2017-02-04 20:28
CORE_CHAINCODE_ID_NAME=mycc CORE_PEER_ADDRESS=0.0.0.0:7051 ./chaincode_example02

bgowda
2017-02-04 20:28
but with java..

bgowda
2017-02-04 20:29
but this process needs to keep running as it contains the chaincode (logic)

matanyahu
2017-02-04 20:29
if you type docker ps

bgowda
2017-02-04 20:29
is it possible to deploy it along with the peer that is running

matanyahu
2017-02-04 20:29
how many containers does it show you?

bgowda
2017-02-04 20:29
it has 2

matanyahu
2017-02-04 20:30
you deployed your chaincode outside of docker sandbox environment

bgowda
2017-02-04 20:30
one peer and one member-srvc

matanyahu
2017-02-04 20:30
in order to run it as a container you should deploy it like this

matanyahu
2017-02-04 20:30
peer chaincode deploy -u jim -p http://github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02 -c '{"Function":"init", "Args": ["a","100", "b", "200"]}'

matanyahu
2017-02-04 20:31
(just giving an example02 chaincode example)

matanyahu
2017-02-04 20:31
locally, from your peer

matanyahu
2017-02-04 20:31
so, do docker exec -it <name_of_your_docker_container_peer> bash

matanyahu
2017-02-04 20:32
and then peer chaincode deploy...

bgowda
2017-02-04 20:32
ok let me try

bgowda
2017-02-04 20:32
thank you

bgowda
2017-02-04 20:34
ok - does this mean what the code that needs to be deployed should be the container already

cliveb
2017-02-04 21:02
Videos of the Stanford Cyber Blockchain talks, and slides (where provided by presenters) are up at the conference website: https://cyber.stanford.edu/blockchainconf

skerkour
2017-02-04 21:16
has joined #general

bgowda
2017-02-04 21:17
matanyahu: Hi - sorry to be messaging you directly

bgowda
2017-02-04 21:18
21:16:47.094 [chaincode] Launch -> ERRO 7a8 sending init failed(handler not found for chaincode SimpleSample)

bgowda
2017-02-04 21:18
this is what I see

bgowda
2017-02-04 21:18
I am trying to deploy chain code that is written in Java

bgowda
2017-02-04 21:19
peer chaincode deploy -u jim -l java -n SimpleSample -p /opt/gopath/src/github.com/hyperledger/fabric/examples/chaincode/java/SimpleSample -c '{"Function":"init", "Args": ["a","100", "b", "200"]}'

matanyahu
2017-02-04 21:19
I would google it a little bit. I looks like an issue within the code but I can't be 100% sure

bgowda
2017-02-04 21:20
ok, it does work fine when I run it from outside ..

bgowda
2017-02-04 21:20
I will check it out

cedricatangana
2017-02-04 22:27
has joined #general

ghaskins
2017-02-05 02:03
Anyone else having trouble with Rocket.Chat today?

ghaskins
2017-02-05 02:03
I can't login


aksvish91
2017-02-05 06:13
has joined #general

aksvish91
2017-02-05 06:16
hi. i've just started with setting up hyperledger. i downloaded docker and the hyperledger images but i dont know how to proceed. im developing on windows

aksvish91
2017-02-05 06:17
im very new to hyperledger and docker

lixiaohu
2017-02-05 08:07
has joined #general

vi
2017-02-05 12:12
Hi how can I check the peer log file. I am not sure where they located

raj.nair
2017-02-05 13:26
has joined #general

ravinalliyappa
2017-02-05 13:45
has joined #general

olifant258
2017-02-05 13:46
has joined #general

rascal
2017-02-05 14:02
hmm, I could so far

bgowda
2017-02-05 15:17
@aksvish91 - what step are you at ?

apadki
2017-02-05 16:25
has joined #general

shaggy_kp
2017-02-05 17:56
@vi You can view the peer log by first logging into your peer container 'docker exec -it peer-container-name /bin/bash'

shaggy_kp
2017-02-05 17:56
@vi then you in another terminal session type 'docker logs peer'

mez
2017-02-05 20:46
has joined #general

anrodon
2017-02-05 21:55
I’ve created this proposal for having a Blockchain Technology site on Stack Exchange, now we only have sites for specific blockchain implementations, I think is time to have one to group them all. Please follow the proposal and collaborate with it :smile: http://area51.stackexchange.com/proposals/106592/blockchain-technology?referrer=uwBppPb347ORrzaTXrPSGA2

champ
2017-02-06 03:35
has joined #general

danieldewar
2017-02-06 04:09
has joined #general

takuyaa
2017-02-06 06:48
Hi I want to join http://chat.hyperledger.org. but I can't Login and regist. I have already LFID without email. Please invite me. thank you.

champ
2017-02-06 06:48
me too

cca
2017-02-06 06:56
+1 (= cant login either, this is rather -1!)

jansony1
2017-02-06 07:04
me too

season7
2017-02-06 07:25
has joined #general

smfaizalkhan
2017-02-06 07:40
Hello All, Some please advise how to give the path paramter to my local system during deploy. Bcoz my localpath is not shown in the docker console when i give the ls command,but the file actually exits in the folder.Please help me out

fabienp
2017-02-06 07:58
has joined #general

newdev2524
2017-02-06 08:24
Hi, I'm using v0.6 with TLS enabled. after I enabled TLS, it seems I cannot access to PEER node via REST anymore although I installed the certificate on the browser. Is this the normal behavior? Could anyone suggest on this? Thanks

arnabkaycee
2017-02-06 08:54
Hi, I wish to debug Java chaincode on eclipse. Is there any way I can pass the following parameter while running chaincode.jar file in the docker image: java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=4000,suspend=n -jar chaincode.jar <other_args>

balanzone
2017-02-06 09:00
has joined #general

tonyneal
2017-02-06 09:08
has joined #general

smfaizalkhan
2017-02-06 10:15
Guys

jojocheung
2017-02-06 10:17
I guess this somehow explains the urge to switch to rocket.chat, for similar issues you can search chat history

chekanov
2017-02-06 11:00
has joined #general

amitgupta
2017-02-06 11:24
has joined #general

stuart_arnell
2017-02-06 11:48
has joined #general

hemanth_hyperledger
2017-02-06 11:50
has joined #general

anurag.e.srivastava
2017-02-06 13:29
has joined #general

magg
2017-02-06 14:27
has joined #general

yayrat
2017-02-06 14:34
has joined #general

lapchan
2017-02-06 15:25
has joined #general

wenyangl
2017-02-06 15:53
has joined #general

anil
2017-02-06 16:26
has joined #general

anil
2017-02-06 16:28
Hello All, I am new here.

anil
2017-02-06 16:28
how do i get involved?

dhwang
2017-02-06 16:34
has joined #general

mjeancha
2017-02-06 16:39
has joined #general

deon
2017-02-06 17:48
has joined #general

ksreynolds
2017-02-06 19:01
has joined #general

jonathanlevi
2017-02-06 19:39
@balanzone @tonyneal @dhwang, @mjeancha, @deom, @ksreynolds @amitgupta @stuart_arnell joined, @hemanth_hyperledger @anurag.e.srivastava @magg @yayrat @lapchan @wenyangl @fabienp: 1. First, welcome to Hyperledger. 2. FYI, we are actually in the midst of transitioning to https://chat.hyperledger.org - so you may as well start communicating there.

skbodwell
2017-02-06 21:12
The http://chat.hyperledger.org log in page doesn't seem to be working, I can log in to gerrit with my LFID and password but not the new chat site. Is an invite required or do users need to be setup on your end?

mgutala
2017-02-06 21:16
I have the same problem

skbodwell
2017-02-06 21:19
Sorry, I just logged in by clicking the upper button labeled "log in with LFID", I had been clicking the lower button labeled "login", hadn't really noticed the upper one was a button and not a text box.

cuneyt
2017-02-07 00:34
has joined #general

patterns
2017-02-07 04:09
has joined #general

bencraver
2017-02-07 06:12
has joined #general

jeanluc
2017-02-07 06:42
has joined #general

knagware
2017-02-07 06:53
has joined #general

raghavsood
2017-02-07 06:55
has joined #general

hrishikeshio
2017-02-07 07:30
has joined #general

hrishikeshio
2017-02-07 07:30
Hi

hrishikeshio
2017-02-07 07:31
Getting this error when following tutorial

hrishikeshio
2017-02-07 07:31

eugenluft
2017-02-07 07:45
hi all, I´m trying to launch the IBM fabric boilerplate but it ends with:


cca
2017-02-07 08:50
i'm trying to switch to the new chat system - http://chat.hyperledger.org. I have a valid linuxfoundation ID. But it consistenly refuses login.

cca
2017-02-07 08:50
where can we get help?

abhinav.garg
2017-02-07 09:01
can I get any POC working with hyperledger any demo excluding IBM marbles,car lease

vltech
2017-02-07 09:12
@cca, you should be pressing the “Login with Linux Foundation account” button/image at the top - do not use the login/pass input boxes on the first screen

cca
2017-02-07 09:29
@vltech - aha, thank you! ... but confusing indeed.

vltech
2017-02-07 09:34
np:)

ruslan
2017-02-07 09:53
@eugenluft It seems that your a peer docker container doesn’t contain fabric project folder in $GOPATH. You should mount this folder to an appropriate place in the docker container (/opt/gopath/src/github.com/hyperledger/fabric)

arran
2017-02-07 12:12
has joined #general

randomnerd
2017-02-07 13:11
has joined #general

randomnerd
2017-02-07 13:13
@ruslan, @eugenluft having the exact same problem here

randomnerd
2017-02-07 13:14
how do i mount a folder to a container that is being created by the peer node itself?

ruslan
2017-02-07 13:17
@randomnerd When peer is deploying chaincode, it is creating docker container and copying $GOPATH folder to this container. Now the new container has fabric folder in his $GOPATH folder. Thats why you should have fabric folder in peer container.

randomnerd
2017-02-07 13:18
@ruslan will try that, thanks. i guess there should be some docs about that

ruslan
2017-02-07 13:19
Yes, but now docs are still being writing and they are not full yet

randomnerd
2017-02-07 13:21
```root@77b82357e0e5:/opt/gopath/src/github.com/hyperledger/fabric# ls LICENSE README.md bddtests core docs examples gotools membersrvc mkdocs.yml proposals pub sdk tools Makefile TravisCI_Readme.md consensus devenv events flogging images metadata peer protos scripts settings.gradle vendor ```

randomnerd
2017-02-07 13:22
@ruslan looks like files are in place

randomnerd
2017-02-07 13:22
thats the peer node

ruslan
2017-02-07 13:22
also check ‘echo $GOPATH’ for sure

ruslan
2017-02-07 13:22
in the peer

randomnerd
2017-02-07 13:23
```root@77b82357e0e5:/opt/gopath/src/github.com/hyperledger/fabric# echo $GOPATH /opt/gopath ```

ruslan
2017-02-07 13:23
hmm

randomnerd
2017-02-07 13:24
```vp0_1 | 13:01:01.163 [dockercontroller] deployImage -> ERRO 2228 Image Output: vp0_1 | ******************** vp0_1 | Step 1 : FROM hyperledger/fabric-baseimage vp0_1 | ---> f4751a503f02 vp0_1 | Step 2 : COPY . $GOPATH/src/build-chaincode/ vp0_1 | ---> 56ee654757dc vp0_1 | Removing intermediate container 5c1dccec2b7a vp0_1 | Step 3 : WORKDIR $GOPATH vp0_1 | ---> Running in 9e70b1111923 vp0_1 | ---> b5e40f14b66f vp0_1 | Removing intermediate container 9e70b1111923 vp0_1 | Step 4 : RUN go install build-chaincode && cp src/build-chaincode/vendor/github.com/hyperledger/fabric/peer/core.yaml $GOPATH/bin && mv $GOPATH/bin/build-chaincode $GOPATH/bin/bdd4fc1f6c42f69dc399dade1d02f0d74b7a0f0d5daa5dfeca1347f8b5023e0e vp0_1 | ---> Running in 1f1cde45dc4b vp0_1 | src/build-chaincode/code1.go:8:2: cannot find package "http://github.com/hyperledger/fabric/core/chaincode/shim" in any of: vp0_1 | /opt/go/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOROOT) vp0_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim (from $GOPATH) vp0_1 | src/build-chaincode/code1.go:10:2: cannot find package "http://github.com/hyperledger/fabric/core/crypto/primitives" in any of: vp0_1 | /opt/go/src/github.com/hyperledger/fabric/core/crypto/primitives (from $GOROOT) vp0_1 | /opt/gopath/src/github.com/hyperledger/fabric/core/crypto/primitives (from $GOPATH) vp0_1 | src/build-chaincode/code1.go:6:2: cannot find package "http://github.com/op/go-logging" in any of: vp0_1 | /opt/go/src/github.com/op/go-logging (from $GOROOT) vp0_1 | /opt/gopath/src/github.com/op/go-logging (from $GOPATH) vp0_1 | vp0_1 | ********************```

ruslan
2017-02-07 13:25
check /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim exists this folder or not

randomnerd
2017-02-07 13:25
```root@77b82357e0e5:/opt/gopath/src/github.com/hyperledger/fabric# ls /opt/gopath/src/github.com/hyperledger/fabric/core/chaincode/shim chaincode.go crypto handler.go inprocstream.go interfaces.go java mockstub.go mockstub_test.go shim_test.go table.pb.go table.proto ```

ruslan
2017-02-07 13:27
this is fabric v0.6?

randomnerd
2017-02-07 13:27
yep

ruslan
2017-02-07 13:29
hmm, I don’t know… I had had same problem in v1.0 like yours but I’ve managed resolve it by mount fabric folder. Maybe v0.6 has another solution :disappointed:

randomnerd
2017-02-07 13:30
mission impossible: deploy boilerplate chaincode

randomnerd
2017-02-07 13:30
:scream:

ruslan
2017-02-07 13:35
:slightly_smiling_face:

cbf
2017-02-07 13:54
we have transitioned to using a new tool for chat because we need to be able to maintain a searchable history of chat, which we cannot do with Slack please join us at https://chat.hyperledger.org sign in with your Linux Foundation ID. Visit https://identity.linuxfoundation.org if you do not have an LF ID

liutc
2017-02-07 14:02
@cbf you might want to mention that there are two "login" button on the page. People should click the one on the top which says login with LFID instead of the bottom one ("login"). Normally people will fill in the LFID with password and click the bottom "login" button. I cannot remember who pointed this out first, but that helped me login to th e new tool.

baohua
2017-02-07 14:08
same problem with me…I noticed the correct&bigger login button after three times viewing the page...

vadim
2017-02-07 14:11
@randomnerd try to copy the missing dependencies (i.e. fabric) to the vendor folder of your chaincode (i.e. fabric should be located in yourchaincode/vendor/github.com/hyperledger/fabric)

fabriziov
2017-02-07 14:19
For the ones interested in all the blockchain startups here an interesting website https://www.fintastico.com/services/blockchain/

zach_tomlinson
2017-02-07 14:26
has joined #general

magg
2017-02-07 14:26
do you have a list of all blockchain technologies, with no cryptocurrency... like fabric, sawtooth, iroha, corda... etc

magg
2017-02-07 14:26
?

zach_tomlinson
2017-02-07 14:29
fabriziov: ...if you're into finance :slightly_smiling_face:

fabriziov
2017-02-07 14:29
yep sorry :wink:

mareike
2017-02-07 14:29
has joined #general

fabriziov
2017-02-07 14:30
The ones that I share it are no cryptocurrency

xinlei
2017-02-07 14:33
has joined #general

magg
2017-02-07 14:39
@fabriziov great thanks

theofilis
2017-02-07 14:51
@theofilis set the channel topic: MOVED TO: https://chat.hyperledger.org

icedeer
2017-02-07 14:53
has joined #general

randomnerd
2017-02-07 14:54
@vadim that did the trick, thanks

mart0nix
2017-02-07 15:08
@theofilis will channel name migrate over as they are ?

theofilis
2017-02-07 15:09
mart0nix: Sorry I edit it by mistake

stepmil2
2017-02-07 15:12
has joined #general

cbf
2017-02-07 15:25
@mart0nix not 1:1 because we had a serious proliferation;-) there are still a lot but fewer

mart0nix
2017-02-07 15:25
yeah - that’s good - this will improve the noise/signal ratio

cbf
2017-02-07 15:29
seach-ability will also help so we don't have to repeat ourselves as much

kyriakos.georgiou
2017-02-07 15:33
has joined #general

fabriziov
2017-02-07 15:35
magg: do you like the website?

beckmann
2017-02-07 16:22
has joined #general

graham.taylor
2017-02-07 16:42
has joined #general

mkpingale
2017-02-07 17:09
has joined #general

dropify
2017-02-07 17:11
has joined #general

mikenitso
2017-02-07 18:36
has joined #general

robg
2017-02-07 18:38
has joined #general

rahulhegde
2017-02-07 20:00
In v1.0 - Response code from user-chaincode >=500 is considered as endorsement failure and >=0 && <500 is Endorsed?

kparmar
2017-02-07 21:59
has joined #general

newdev2524
2017-02-07 22:33
Hi, I'm using v0.6 with TLS enabled. after I enabled TLS, it seems I cannot access to PEER node via REST anymore although I installed the certificate on the browser. Is this the normal behavior? Could anyone suggest on this? Thanks

ry
2017-02-07 23:52
@newdev2524 @rahul.naithani please migrate to https://chat.hyperledger.org